diff options
author | Masahiro Saito <camelmasa@gmail.com> | 2017-01-06 21:45:16 +0900 |
---|---|---|
committer | Daniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org> | 2017-01-06 07:45:16 -0500 |
commit | 87582b589fe04a9f0433478997d42aa8fa798144 (patch) | |
tree | 248c1f76d3bb295a691e39d8b35bb00f186c67c1 /Gemfile | |
parent | 199d816bc0865d4276a1b6db669ef9f3a2fedfc1 (diff) | |
download | hashie-87582b589fe04a9f0433478997d42aa8fa798144.tar.gz |
Support Ruby 2.4.0 (#389)
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -12,7 +12,12 @@ end group :test do # ActiveSupport required to test compatibility with ActiveSupport Core Extensions. - gem 'activesupport', '~> 4.x', require: false + 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 gem 'codeclimate-test-reporter', '~> 1.0', require: false gem 'rspec-core', '~> 3.1.7' gem 'danger-changelog', '~> 0.1.0', require: false |