diff --git a/Gemfile b/Gemfile index df2c3cb7..b370bcdf 100644 --- a/Gemfile +++ b/Gemfile @@ -1,15 +1,18 @@ source 'https://rubygems.org' -gem 'puppetlabs_spec_helper' -gem 'puppet-lint', '~> 0.3.2' -gem 'json' -gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git' -# rspec-puppet fetch the latest rspec (3.0.0) -# this version is a bit incompat. with older specs... -# http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3 -gem 'rspec', '2.14.1' -gem 'rake', '10.1.1' -gem 'puppet-syntax' +group :development, :test do + gem 'puppetlabs_spec_helper', :require => false + gem 'puppet-lint', '~> 0.3.2' + gem 'rake', '10.1.1' + gem 'puppet-syntax' + gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git' + # rspec-puppet fetch the latest rspec (3.0.0) + # this version is a bit incompat. with older specs... + # http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3 + gem 'rspec', '< 2.99' + gem 'json' + gem 'webmock' +end if puppetversion = ENV['PUPPET_GEM_VERSION'] gem 'puppet', puppetversion, :require => false