Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

Commit

Permalink
Cap rake and json_pure versions on Ruby < 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed Jul 29, 2016
1 parent 44d7d89 commit 4a4fe49
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ else
end

gem 'puppetlabs_spec_helper', :require => false
# https://github.com/rspec/rspec-core/issues/1864
gem 'rspec', '< 3.2.0', {"platforms"=>["ruby_18"]}
gem 'rspec-puppet', '~> 2.1.0', :require => false
gem 'metadata-json-lint', :require => false
gem 'rspec-puppet', :require => false
gem 'metadata-json-lint', :require => false

## compatibility

platforms :ruby_18 do
# https://github.com/rspec/rspec-core/issues/1864
gem 'rspec', '< 3.2.0', :require => false
gem 'rake', '< 11.0.0', :require => false
end

platforms :ruby_18, :ruby_19 do
gem 'json', '< 2.0.0', :require => false
gem 'json_pure', '< 2.0.0', :require => false
end

0 comments on commit 4a4fe49

Please sign in to comment.