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 2d60ea1
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,21 @@ else
gem 'puppet', :require => false
end

gem 'puppetlabs_spec_helper', :require => false
## begin compatibility
# https://github.com/bundler/bundler/issues/4420

# json 2.0+ requires ruby 2.0+
gem 'json', '< 2.0.0', :require => false
gem 'json_pure', '< 2.0.0', :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', '< 3.2.0', :require => false

# rake 11.0+ requires ruby 1.9+
gem 'rake', '< 11.0.0', :require => false

## end compatibility

gem 'puppetlabs_spec_helper', :require => false
gem 'rspec-puppet', :require => false
gem 'metadata-json-lint', :require => false

0 comments on commit 2d60ea1

Please sign in to comment.