Skip to content

Commit

Permalink
Change to restrict json version on Ruby 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Jan 27, 2021
1 parent 7204dd6 commit c694680
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

gemspec

gem "json", "2.4.1" if RUBY_VERSION == "2.0.0"

group :test do
gem "activesupport"
gem "benchmark-ips", "~> 2.7.2"
gem "simplecov", "~> 0.16.1"
gem "coveralls", "~> 0.8.22"
if RUBY_VERSION.split(".")[1].to_i > 0
gem "rspec-benchmark"
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.1.0")
gem "rspec-benchmark", "~> 0.6"
end
end

Expand Down

0 comments on commit c694680

Please sign in to comment.