From c18c19a5a6dca4c16a8217f6c2a7e3deb2c2d74f Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Thu, 26 Apr 2018 13:40:45 -0700 Subject: [PATCH] Remove unnecessary dev deps from gemspec, move into gemfile. --- Gemfile | 12 +++++++++--- sidekiq.gemspec | 11 +++-------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 69bed6b1..82b4b071 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,14 @@ source 'https://rubygems.org' gemspec -gem 'rails', '>= 5.0.1' +# load testing #gem "hiredis" -gem 'simplecov' -gem 'minitest' #gem 'toxiproxy' + +group :test do + gem 'rails', '>= 5.0.1' + gem 'minitest' + gem 'rake' + gem 'redis-namespace' + gem 'simplecov' +end diff --git a/sidekiq.gemspec b/sidekiq.gemspec index e4f09819..179a9f2e 100644 --- a/sidekiq.gemspec +++ b/sidekiq.gemspec @@ -17,12 +17,7 @@ Gem::Specification.new do |gem| gem.version = Sidekiq::VERSION gem.required_ruby_version = ">= 2.2.2" - gem.add_dependency 'redis', '>= 3.3.5', '< 5' - gem.add_dependency 'connection_pool', '~> 2.2', '>= 2.2.0' - gem.add_dependency 'concurrent-ruby', '~> 1.0' - gem.add_dependency 'rack-protection', '>= 1.5.0' - gem.add_development_dependency 'redis-namespace', '~> 1.5', '>= 1.5.2' - gem.add_development_dependency 'minitest', '~> 5.10', '>= 5.10.1' - gem.add_development_dependency 'rake', '~> 10.0' - gem.add_development_dependency 'rails', '>= 3.2.0' + gem.add_dependency 'redis', '>= 3.3.5', '< 5' + gem.add_dependency 'connection_pool', '~> 2.2', '>= 2.2.0' + gem.add_dependency 'rack-protection', '>= 1.5.0' end