diff options
author | Michael Herold <opensource@michaeljherold.com> | 2019-11-16 20:37:50 -0600 |
---|---|---|
committer | Michael Herold <opensource@michaeljherold.com> | 2019-11-17 11:49:53 -0600 |
commit | 729c99b11ad73755840590faee6909c315898a53 (patch) | |
tree | b299183540d17c3b319126493c5a29630f6b23f9 /Gemfile | |
parent | 565a1ed0de48c2ddca1f2a321e88739049c7922e (diff) | |
download | hashie-729c99b11ad73755840590faee6909c315898a53.tar.gz |
Switch to only setting Bundler as a dev dependency
Our contributing documentation specifically mentions Bundler so we
should set it as a development dependency.
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 27 |
1 files changed, 16 insertions, 11 deletions
@@ -10,20 +10,25 @@ group :development do gem 'pry' gem 'pry-stack_explorer', platforms: %i[ruby_19 ruby_20 ruby_21] gem 'rubocop', '0.52.1' + + group :test do + # ActiveSupport required to test compatibility with ActiveSupport Core Extensions. + # rubocop:disable Bundler/DuplicatedGem + require File.expand_path('../lib/hashie/extensions/ruby_version', __FILE__) + if Hashie::Extensions::RubyVersion.new(RUBY_VERSION) >= + Hashie::Extensions::RubyVersion.new('2.4.0') + gem 'activesupport', '~> 5.x', require: false + else + gem 'activesupport', '~> 4.x', require: false + end + # rubocop:enable Bundler/DuplicatedGem + gem 'rake' + gem 'rspec', '~> 3' + gem 'rspec-pending_for', '~> 0.1' + end end group :test do - # ActiveSupport required to test compatibility with ActiveSupport Core Extensions. - # rubocop:disable Bundler/DuplicatedGem - require File.expand_path('../lib/hashie/extensions/ruby_version', __FILE__) - if Hashie::Extensions::RubyVersion.new(RUBY_VERSION) >= - Hashie::Extensions::RubyVersion.new('2.4.0') - gem 'activesupport', '~> 5.x', require: false - else - gem 'activesupport', '~> 4.x', require: false - end - # rubocop:enable Bundler/DuplicatedGem gem 'codeclimate-test-reporter', '~> 1.0', require: false gem 'danger-changelog', '~> 0.1.0', require: false - gem 'rspec-core', '~> 3.1.7' end |