diff options
author | Morgan Haskel <morgan@puppetlabs.com> | 2015-05-06 14:10:46 -0700 |
---|---|---|
committer | Morgan Haskel <morgan@puppetlabs.com> | 2015-05-06 14:10:46 -0700 |
commit | 3b804b898506660701753bef664cfabd034904cb (patch) | |
tree | a3ea6ca34c9edb75df4410a7ad070cb730596d40 /Gemfile | |
parent | b02a409d141e70b93fe39df84ec3217cbb60ec0f (diff) | |
download | puppet-vcsrepo-3b804b898506660701753bef664cfabd034904cb.tar.gz puppet-vcsrepo-3b804b898506660701753bef664cfabd034904cb.tar.bz2 |
sync via modulesync
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -1,15 +1,5 @@ source ENV['GEM_SOURCE'] || "https://rubygems.org" -def location_for(place, fake_version = nil) - if place =~ /^(git:[^#]*)#(.*)/ - [fake_version, { :git => $1, :branch => $2, :require => false }].compact - elsif place =~ /^file:\/\/(.*)/ - ['>= 0', { :path => File.expand_path($1), :require => false }] - else - [place, { :require => false }] - end -end - group :development, :unit_tests do gem 'rspec-core', '3.1.7', :require => false gem 'puppetlabs_spec_helper', :require => false @@ -18,17 +8,8 @@ group :development, :unit_tests do gem 'json', :require => false end -beaker_version = ENV['BEAKER_VERSION'] -beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION'] group :system_tests do - if beaker_version - gem 'beaker', *location_for(beaker_version) - end - if beaker_rspec_version - gem 'beaker-rspec', *location_for(beaker_rspec_version) - else - gem 'beaker-rspec', :require => false - end + gem 'beaker-rspec', :require => false gem 'serverspec', :require => false end |