diff --git a/Gemfile b/Gemfile index d721d7b..f80e513 100644 --- a/Gemfile +++ b/Gemfile @@ -4,13 +4,15 @@ source "https://rubygems.org" gemspec +gem "json", "2.4.1" if RUBY_VERSION == "2.0.0" +gem "pastel", "~> 0.8" +gem "yardstick", "~> 0.9.9" + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.1.0") gem "rspec-benchmark", "~> 0.6" end -gem "json", "2.4.1" if RUBY_VERSION == "2.0.0" -gem "pastel", "~> 0.8" + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.5.0") gem "coveralls_reborn", "~> 0.21.0" gem "simplecov", "~> 0.21.0" end -gem "yardstick", "~> 0.9.9"