Skip to content

Commit

Permalink
Merge pull request #298 from ghoneycutt/fix_support_for_ruby187
Browse files Browse the repository at this point in the history
Fix support for Ruby 1.8.7
  • Loading branch information
ghoneycutt committed Apr 13, 2016
2 parents 9b1d26b + 22114c5 commit bde55c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ source ENV['GEM_SOURCE'] || "https://rubygems.org"

group :development, :test do
gem 'metadata-json-lint', :require => false
gem 'rake', :require => false
gem 'rspec-puppet', :require => false
gem 'puppetlabs_spec_helper', :require => false
gem 'puppet-lint', :require => false
gem 'pry', :require => false
gem 'simplecov', :require => false
end

# rspec must be v2 for ruby 1.8.7
# pin old versions for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
gem 'rspec', '~> 2.0'
gem 'rake', '~> 10.0'
else
gem 'rake', :require => false
end

if facterversion = ENV['FACTER_GEM_VERSION']
Expand Down

0 comments on commit bde55c0

Please sign in to comment.