summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorMorgan Haskel <morgan@puppetlabs.com>2015-05-06 14:10:46 -0700
committerMorgan Haskel <morgan@puppetlabs.com>2015-05-06 14:10:46 -0700
commit3b804b898506660701753bef664cfabd034904cb (patch)
treea3ea6ca34c9edb75df4410a7ad070cb730596d40 /Gemfile
parentb02a409d141e70b93fe39df84ec3217cbb60ec0f (diff)
downloadpuppet-vcsrepo-3b804b898506660701753bef664cfabd034904cb.tar.gz
puppet-vcsrepo-3b804b898506660701753bef664cfabd034904cb.tar.bz2
sync via modulesync
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile21
1 files changed, 1 insertions, 20 deletions
diff --git a/Gemfile b/Gemfile
index fcd27d5..cc77f38 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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