-
Notifications
You must be signed in to change notification settings - Fork 16
/
Gemfile
62 lines (52 loc) · 1.9 KB
/
Gemfile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
source ENV['GEM_SOURCE'] || "https://rubygems.org"
case RUBY_PLATFORM
when /darwin/
gem 'CFPropertyList', '2.2.6'
end
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
group :test do
gem 'json', '< 2.0.0', :require => false if RUBY_VERSION < '2.0.0'
gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0'
gem 'metadata-json-lint', :require => false
gem 'parallel_tests', '< 2.10.0', :require => false if RUBY_VERSION < '2.0.0'
gem 'parallel_tests', :require => false if RUBY_VERSION >= '2.0.0'
gem 'puppet-strings', :require => false
gem 'puppet_facts', :require => false
gem 'puppetlabs_spec_helper', :require => false
gem 'rspec-core', :require => false
gem 'rspec-puppet-facts', :require => false
gem 'simplecov', :require => false
end
group :development do
gem 'guard-rake', :require => false
gem 'redcarpet', :require => false
gem 'travis', :require => false
gem 'travis-lint', :require => false
end
group :integration do
gem 'concurrent-ruby', '~> 0.9', :require => false
gem 'kitchen-inspec', :require => false
gem 'kitchen-puppet', :require => false
gem 'kitchen-vagrant', :require => false
gem 'librarian-puppet', :require => false
gem 'test-kitchen', '~> 1.4', :require => false
end
if facterversion = ENV['FACTER_GEM_VERSION']
gem 'facter', facterversion, :require => false
else
gem 'facter', :require => false
end
if puppetversion = ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false
else
gem 'puppet', :require => false
end
# vim:ft=ruby