summaryrefslogtreecommitdiff
path: root/.gemfile
diff options
context:
space:
mode:
authorBranan Purvine-Riley <branan@puppetlabs.com>2012-05-29 13:55:26 -0700
committerBranan Purvine-Riley <branan@puppetlabs.com>2012-05-29 15:53:46 -0700
commit2247df4f6e828d6791a46cb12d4e2df2e0b98dce (patch)
tree6c402ed6bbe5cfe916db54a24ce4495719598035 /.gemfile
parentcf7ac0286043d01aa807743d75574d450536582d (diff)
downloadpuppet-stdlib-2247df4f6e828d6791a46cb12d4e2df2e0b98dce.tar.gz
puppet-stdlib-2247df4f6e828d6791a46cb12d4e2df2e0b98dce.tar.bz2
Update for new gem version of puppetlabs_spec_helper
This updates the Rakefile and spec_helper to use the common versions available in the puppetlabs_spec_helper rubygem branch. This mostly just removes a bunch of duplicated code, but it also gives us more flexibility in how the module is tested in the future.
Diffstat (limited to '.gemfile')
-rw-r--r--.gemfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gemfile b/.gemfile
new file mode 100644
index 0000000..7e4ae1d
--- /dev/null
+++ b/.gemfile
@@ -0,0 +1,5 @@
+source :rubygems
+
+puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
+gem 'puppet', puppetversion
+gem 'puppet_module_spec_helper', :git => 'git://github.com/branan/puppetlabs_spec_helper'