(PDOC-6) Allow for different puppet gem versions

In order to make the Gemfile compatible with the puppet strings
Jenkins job (which tests against multiple versions of puppet), update
the Gemfile to allow for for the Jenkins job to specify which version
of puppet it is testing against.
This commit is contained in:
Hailee Kenney 2014-09-24 14:06:18 -07:00
parent 6fb4a39536
commit 583ddcb6ad
1 changed files with 6 additions and 1 deletions

View File

@ -1,10 +1,15 @@
source 'https://rubygems.org'
gem 'yard'
gem 'puppet', '~> 3.6.2'
gem 'rgen'
gem 'redcarpet'
if puppetversion = ENV['PUPPET_VERSION']
gem 'puppet', puppetversion
else
gem 'puppet', '~> 3.6.2'
end
group :test do
gem 'rspec'
gem 'mocha'