diff --git a/.rubocop.yml b/.rubocop.yml index 7e02da787..81f7e6c91 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -141,4 +141,7 @@ Style/HashTransformValues: Style/SymbolProc: Exclude: - - 'test/**/*' \ No newline at end of file + - 'test/**/*' + +Bundler/OrderedGems: + Enabled: false diff --git a/Gemfile b/Gemfile index d3df0f9ea..7a44835aa 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,8 @@ gemspec gem 'minitest' gem 'rake' gem 'rubocop', '~> 1.25.1' +gem 'mocha' +gem 'hiredis' # Using jruby-openssl 0.10.0, we get NPEs in jruby tests: https://github.com/redis/redis-rb/issues/756 platform :jruby do diff --git a/redis.gemspec b/redis.gemspec index 3ff195b77..519d248b8 100644 --- a/redis.gemspec +++ b/redis.gemspec @@ -44,7 +44,4 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- exe/*`.split("\n").map { |f| File.basename(f) } s.required_ruby_version = '>= 2.5.0' - - s.add_development_dependency("hiredis") - s.add_development_dependency("mocha") end