From: Jonathan Tripathy Date: Thu, 21 Jan 2016 14:37:15 +0000 (+0000) Subject: Updated Gemfile to avoid BKR-537 X-Git-Tag: 1.8.0~10^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a7d7f348ca8cd3ec8060b3a05fadae1135ae13e4;p=puppet-modules%2Fpuppetlabs-firewall.git Updated Gemfile to avoid BKR-537 --- diff --git a/Gemfile b/Gemfile index bfe64b1..8c8f2d7 100644 --- 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