Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
bschonec committed May 20, 2024
1 parent 7649f7d commit 677d4cc
Showing 1 changed file with 22 additions and 56 deletions.
78 changes: 22 additions & 56 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,63 +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 'puppet-blacksmith', require: false, git: 'https://github.com/voxpupuli/puppet-blacksmith.git'
gem 'puppet-lint', require: false, git: 'https://github.com/rodjek/puppet-lint.git'
gem 'puppet-lint-absolute_classname-check', require: false
gem 'puppet-lint-classes_and_types_beginning_with_digits-check', require: false
gem 'puppet-lint-leading_zero-check', require: false
gem 'puppet-lint-trailing_comma-check', require: false
gem 'puppet-lint-unquoted_string-check', require: false
gem 'puppet-lint-variable_contains_upcase', require: false
gem 'puppet-lint-version_comparison-check', require: false
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'
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? ? '~> 7.0' : ENV['PUPPET_VERSION'].to_s
gem 'puppet', puppetversion, require: false, groups: [:test]

# vim:ft=ruby

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: syntax=ruby

0 comments on commit 677d4cc

Please sign in to comment.