forked from puppetlabs/pxp-agent-vanagon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
22 lines (19 loc) · 655 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
def location_for(place)
case place
when /^((?:git[:@]|https:)[^#]*)#(.*)/
[{ git: Regexp.last_match(1), branch: Regexp.last_match(2), require: false }]
when %r{^file://(.*)}
['>= 0', { path: File.expand_path(Regexp.last_match(1)), require: false }]
else
[place, { require: false }]
end
end
gem 'artifactory'
gem 'json'
gem 'octokit'
gem 'packaging', *location_for(ENV['PACKAGING_LOCATION'] || '~> 0.105')
gem 'rake'
gem 'rubocop', '~> 1.5.2'
gem 'vanagon', *location_for(ENV['VANAGON_LOCATION'] || '~> 0.24')
eval_gemfile("#{__FILE__}.local") if File.exist?("#{__FILE__}.local")