Gemfile in puppet-strings-0.99.0 vs Gemfile in puppet-strings-1.0.0
- old
+ new
@@ -4,24 +4,21 @@
gem 'rgen'
gem 'redcarpet'
gem 'yard', '~> 0.9.5'
-puppetversion = ENV['PUPPET_VERSION']
-
-if puppetversion
- gem 'puppet', puppetversion
+if ENV['PUPPET_GEM_VERSION']
+ gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false
else
- gem 'puppet'
+ gem 'puppet', :require => false
end
group :test do
gem "rspec", "~> 3.1"
gem 'mocha'
gem 'puppetlabs_spec_helper'
gem 'serverspec'
- gem 'rubocop', '~> 0.41.0'
end
group :acceptance do
gem 'beaker', '< 3.0'
gem 'beaker-rspec'
@@ -34,5 +31,9 @@
gem 'pry-debugger'
elsif RUBY_VERSION[0] == '2'
gem 'pry-byebug'
end
end
+
+gem 'json', '<= 1.8' if RUBY_VERSION < '2.0.0'
+gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0'
+gem 'rubocop' if RUBY_VERSION >= '2.0.0'