1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
source ENV['GEM_SOURCE'] || "https://rubygems.org"
def location_for(place)
if place =~ /^((?:git[:@]|https:)[^#]*)#(.*)/
[{ :git => $1, :branch => $2, :require => false }]
elsif place =~ /^file:\/\/(.*)/
['>= 0', { :path => File.expand_path($1), :require => false }]
else
[place, { :require => false }]
end
end
gem "hiera", :path => File.dirname(__FILE__), :require => false
gem 'deep_merge', :require => false
group :packaging do
gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.99')
end
group :development do
gem 'watchr'
end
group :development, :test do
gem 'rake', '~> 12.0'
gem 'rspec', "~> 3.3", :require => false
gem "rspec-legacy_formatters", "~> 1.0", :require => false
gem 'mocha', "~> 0.10.5", :require => false
gem "yarjuf", "~> 2.0"
end
if File.exist? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end
# vim:ft=ruby
|