Skip to content

Commit

Permalink
use Gemfile from voxpupuli
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxmea committed May 22, 2024
1 parent ba0b5e0 commit 589677c
Showing 1 changed file with 16 additions and 42 deletions.
58 changes: 16 additions & 42 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,55 +1,29 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'

def location_for(place, fake_version = nil)
if place =~ %r{^(git[:@][^#]*)#(.*)}
[fake_version, { git: Regexp.last_match(1), branch: Regexp.last_match(2), require: false }].compact
elsif place =~ /^file:\/\/(.*)/
['>= 0', { path: File.expand_path(Regexp.last_match(1)), require: false }]
else
[place, { require: false }]
end
end

group :test do
gem 'metadata-json-lint', require: false
gem 'voxpupuli-test'
gem 'puppet-blacksmith', require: false, git: 'https://github.com/voxpupuli/puppet-blacksmith.git'
gem 'puppet-strings', require: false
gem 'puppet-syntax', require: false
gem 'puppetlabs_spec_helper', require: false
gem 'semantic_puppet', require: false
gem 'rake', require: false
gem 'rspec', require: false
gem 'rspec-core', require: false
gem 'rspec-puppet', require: false, git: 'https://github.com/puppetlabs/rspec-puppet.git'
gem 'rspec-puppet-facts', require: false
gem 'rspec-puppet-utils', require: false
gem 'rubocop', require: false
gem 'rubocop-rspec', require: false
gem 'voxpupuli-release', require: false, git: 'https://github.com/voxpupuli/voxpupuli-release-gem.git'
gem 'voxpupuli-test', '~> 7.0', :require => false
gem 'coveralls', :require => false
gem 'simplecov-console', :require => false
gem 'puppet_metadata', '~> 3.5', :require => false
end

group :development do
gem 'guard-rake', require: false
gem 'guard-rake', :require => false
gem 'overcommit', '>= 0.39.1', :require => false
end

if RUBY_VERSION >= '2.3.0'
group :acceptance do
gem 'beaker'
gem 'beaker-puppet_install_helper'
gem 'beaker-puppet'
gem 'beaker-docker'
gem 'beaker-rspec'
end
group :system_tests do
gem 'voxpupuli-acceptance', '~> 3.0', :require => false
end

if facterversion = ENV['FACTER_GEM_VERSION']
gem 'facter', facterversion.to_s, require: false, groups: [:test]
else
gem 'facter', require: false, groups: [:test]
group :release do
gem 'voxpupuli-release', '~> 3.0', :require => false
end

puppetversion = ENV['PUPPET_VERSION'].nil? ? '~> 4.0' : ENV['PUPPET_VERSION'].to_s
gem 'puppet', puppetversion, require: false, groups: [:test]
gem 'rake', :require => false
gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]

puppetversion = ENV['PUPPET_GEM_VERSION'] || '~> 7.24'
gem 'puppet', puppetversion, :require => false, :groups => [:test]

# vim:ft=ruby
# vim: syntax=ruby

0 comments on commit 589677c

Please sign in to comment.