]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Normalize Gemfile & pin tests to rspec < 2.99
authorClayton O'Neill <clayton@oneill.net>
Fri, 20 Jun 2014 11:51:19 +0000 (07:51 -0400)
committerMathieu Gagné <mgagne@iweb.com>
Wed, 6 Aug 2014 19:52:06 +0000 (15:52 -0400)
Pin to rspec < 2.99 until rspec-puppet officially supports rspec 3.x.
This is to avoid warnings due to deprecated matchers in the
rspec-puppet gem.

This change is also intended to normalize the Gemfile for all stackforge
puppet modules.  This should facilitate pinning gem versions when
releasing new stable branches, since the same diff can be used for all
repos.

Change-Id: Ia1286824cebca09e20bf6d11a3435982b93442b9
Partial-Bug: #1326034
(cherry picked from commit bea7794633943e454fe3e99ee119298c3d0000ff)

Gemfile

diff --git a/Gemfile b/Gemfile
index 0d35201b4dc1016115ed7931629dcc7634ddbee2..d965fa900b55c05f0bff0745e222f5c2837c7d24 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -4,6 +4,9 @@ group :development, :test do
   gem 'puppetlabs_spec_helper', :require => false
   gem 'puppet-lint', '~> 0.3.2'
   gem 'rake', '10.1.1'
+  gem 'rspec', '< 2.99'
+  gem 'json'
+  gem 'webmock'
 end
 
 if puppetversion = ENV['PUPPET_GEM_VERSION']