From 7b7d19a12b13ae4fe2ef058a24870732e64cdb33 Mon Sep 17 00:00:00 2001 From: Sebastien Badia Date: Wed, 24 Sep 2014 08:24:37 +0200 Subject: [PATCH] (gemfile) Relax rspec dependency and add bundler groups This PR relax rspec dependency, for the moment we pin-point to a specific version. --- Gemfile | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) 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