Skip to content

Commit ffcacf6

Browse files
author
Aaron Russo
committed
Fix spec testing for Ruby 1.8.7
1 parent b1d64db commit ffcacf6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Gemfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
source 'https://rubygems.org'
22

33
if ENV.key?('PUPPET_VERSION')
4-
puppetversion = "#{ENV['PUPPET_VERSION']}"
4+
puppetversion = "#{ENV['PUPPET_VERSION']}"
55
else
6-
puppetversion = "~> 2.7.0"
6+
puppetversion = "~> 3.8.0"
77
end
88

99
# pin rake to this version for as long as we need to test against
@@ -16,3 +16,7 @@ gem 'puppetlabs_spec_helper'
1616
# pin rspec to < 3.0.0 until rspec-puppet supports rspec > 3.0.0
1717
# https://github.com/rodjek/rspec-puppet/issues/200
1818
gem 'rspec', '~> 2.0'
19+
20+
if RUBY_VERSION == '1.8.7'
21+
gem 'json_pure', "1.8.3"
22+
end

0 commit comments

Comments
 (0)