Sha256: 341ecd0e2a6bd727b25f848427448e05d9ebcd96a52e92814abc573b5fc6b36c

Contents?: true

Size: 489 Bytes

Versions: 8

Compression:

Stored size: 489 Bytes

Contents

source ENV['GEM_SOURCE'] || 'https://artifactory.delivery.puppetlabs.net/artifactory/api/gems/rubygems/'

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

gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.99')

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/facter/Gemfile
facter-3.12.1.cfacter.20181031 ext/facter/facter/Gemfile
facter-3.11.6.cfacter.20181031 ext/facter/facter/Gemfile
facter-3.12.1.cfacter.20181023 ext/facter/facter/Gemfile
facter-3.11.5.cfacter.20181022 ext/facter/facter/Gemfile
facter-3.12.0.cfacter.20181004 ext/facter/facter/Gemfile
facter-3.12.0.cfacter.20181001 ext/facter/facter/Gemfile
facter-3.12.0.cfacter.20180918 ext/facter/facter/Gemfile