From d032b11a129f4a0a523a29e3d95233ad897fc7a9 Mon Sep 17 00:00:00 2001 From: Shane da Silva Date: Wed, 4 Dec 2024 15:11:21 -0800 Subject: [PATCH] Move redis gem from development dependency to runtime dependency --- CHANGELOG.md | 4 ++++ mock_redis.gemspec | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f02d08c..6d4dd6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # MockRedis Changelog +### main (unreleased) + +* Move `redis` from development dependency to runtime dependency + ### 0.48.1 * Fix load issue with `redis-client` gem diff --git a/mock_redis.gemspec b/mock_redis.gemspec index 7a9dd98..5d9d407 100644 --- a/mock_redis.gemspec +++ b/mock_redis.gemspec @@ -34,8 +34,9 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 3.0' + s.add_runtime_dependency 'redis', '~> 5' + s.add_development_dependency 'rake', '~> 13' - s.add_development_dependency 'redis', '~> 5' s.add_development_dependency 'rspec', '~> 3.0' s.add_development_dependency 'rspec-its', '~> 1.0' s.add_development_dependency 'timecop', '~> 0.9.1'