forked from puppetlabs/puppet-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGemfile
More file actions
21 lines (18 loc) · 622 Bytes
/
Gemfile
File metadata and controls
21 lines (18 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 'vanagon', *location_for(ENV['VANAGON_LOCATION'] || '~> 0.24')
gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.105')
gem 'artifactory'
gem 'rake'
gem 'json'
gem 'octokit'
gem 'rubocop', "~> 1.22"
eval_gemfile("#{__FILE__}.local") if File.exist?("#{__FILE__}.local")