(gemfile) Relax rspec dependency and add bundler groups

This PR relax rspec dependency, for the moment we pin-point to a
specific version.
This commit is contained in:
Sebastien Badia
2014-09-24 08:24:37 +02:00
parent 42c023b8ca
commit 7b7d19a12b

23
Gemfile
View File

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