aboutsummaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorTim Meusel <tim@bastelfreak.de>2020-11-25 17:12:07 +0100
committerTim Meusel <tim@bastelfreak.de>2021-02-09 12:20:48 +0100
commitc5c71bcb480d19387d761e760f3e6190c241f9eb (patch)
tree08f58a8f8badbea9f429401e76c1e3180c472656 /Gemfile
parent26421b720ed8bf1c9588587764fba938130b3879 (diff)
downloadpuppet-ferm-c5c71bcb480d19387d761e760f3e6190c241f9eb.tar.gz
puppet-ferm-c5c71bcb480d19387d761e760f3e6190c241f9eb.tar.bz2
modulesync 4.0.0
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile27
1 files changed, 6 insertions, 21 deletions
diff --git a/Gemfile b/Gemfile
index df44af0..53c1491 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 :test do
gem 'voxpupuli-test', '~> 2.1', :require => false
gem 'coveralls', :require => false
@@ -18,14 +8,13 @@ group :test do
end
group :development do
- gem 'travis', :require => false
- gem 'travis-lint', :require => false
gem 'guard-rake', :require => false
gem 'overcommit', '>= 0.39.1', :require => false
end
group :system_tests do
- gem 'voxpupuli-acceptance', :require => false
+ gem 'puppet_metadata', '~> 0.3.0', :require => false
+ gem 'voxpupuli-acceptance', :require => false
end
group :release do
@@ -35,15 +24,11 @@ group :release do
gem 'puppet-strings', '>= 2.2', :require => false
end
+gem 'puppetlabs_spec_helper', '~> 2.0', :require => false
+gem 'rake', :require => false
+gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]
-
-if facterversion = ENV['FACTER_GEM_VERSION']
- gem 'facter', facterversion.to_s, :require => false, :groups => [:test]
-else
- gem 'facter', :require => false, :groups => [:test]
-end
-
-ENV['PUPPET_VERSION'].nil? ? puppetversion = '~> 6.0' : puppetversion = ENV['PUPPET_VERSION'].to_s
+puppetversion = ENV['PUPPET_VERSION'] || '~> 6.0'
gem 'puppet', puppetversion, :require => false, :groups => [:test]
# vim: syntax=ruby