]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Updated Gemfile to avoid BKR-537
authorJonathan Tripathy <jt@puppetlabs.com>
Thu, 21 Jan 2016 14:37:15 +0000 (14:37 +0000)
committerJonathan Tripathy <jt@puppetlabs.com>
Thu, 21 Jan 2016 14:37:15 +0000 (14:37 +0000)
Gemfile

diff --git a/Gemfile b/Gemfile
index bfe64b186a6fe4cf56aec869ba119d2174b1607c..8c8f2d71bb34b5c48db79ee2a62e3bdf991f0187 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -11,7 +11,13 @@ def location_for(place, fake_version = nil)
 end
 
 group :development, :unit_tests do
-  gem 'rspec-core', '3.1.7',     :require => false
+  # rspec-core 3.1.7 is the last version to support ruby 1.8
+  if RUBY_VERSION < '1.9'
+    gem 'rspec-core', '3.1.7'
+  else
+    # newer version required to avoid BKR-537
+    gem 'rspec-core', '>= 3.4'
+  end
   gem 'puppetlabs_spec_helper',  :require => false
   gem 'simplecov',               :require => false
   gem 'puppet_facts',            :require => false