388
|
1 source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
2
|
|
3 if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
4 gem 'puppet', puppetversion, :require => false
|
|
5 else
|
|
6 gem 'puppet', :require => false
|
|
7 end
|
|
8
|
|
9 gem 'facter', '>= 2.2.0'
|
|
10 gem 'rspec-puppet', '~> 2.0'
|
|
11 gem 'puppet-lint'
|
|
12 gem 'puppet-lint-absolute_classname-check'
|
|
13 gem 'puppet-lint-alias-check'
|
|
14 gem 'puppet-lint-empty_string-check'
|
|
15 gem 'puppet-lint-file_ensure-check'
|
|
16 gem 'puppet-lint-file_source_rights-check'
|
|
17 gem 'puppet-lint-leading_zero-check'
|
|
18 gem 'puppet-lint-spaceship_operator_without_tag-check'
|
|
19 gem 'puppet-lint-trailing_comma-check'
|
|
20 gem 'puppet-lint-undef_in_function-check'
|
|
21 gem 'puppet-lint-unquoted_string-check'
|
|
22 gem 'puppet-lint-variable_contains_upcase'
|
|
23
|
|
24 gem 'rspec', '~> 2.0' if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
|
|
25 gem 'rake', '~> 10.0' if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
|
|
26 gem 'json', '<= 1.8' if RUBY_VERSION < '2.0.0'
|
|
27 gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0'
|
|
28 gem 'metadata-json-lint', '0.0.11' if RUBY_VERSION <= '1.9.3'
|
|
29 gem 'metadata-json-lint' if RUBY_VERSION > '1.9.3'
|
|
30 gem 'public_suffix', '~> 1.1.0' if RUBY_VERSION < '2.1.1' && RUBY_VERSION >= '1.9'
|
|
31 gem 'public_suffix', '1.3.0' if RUBY_VERSION < '1.9'
|
|
32
|
|
33 gem 'puppetlabs_spec_helper', '2.0.2', :require => false if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
|
|
34 gem 'puppetlabs_spec_helper', '>= 2.0.0', :require => false if RUBY_VERSION >= '1.9'
|
|
35 gem 'parallel_tests', '<= 2.9.0', :require => false if RUBY_VERSION < '2.0.0' && RUBY_VERSION >= '1.9'
|
|
36 gem 'parallel_tests', '1.0.9', :require => false if RUBY_VERSION < '1.9'
|
|
37 gem 'parallel', '1.3.3.1', :require => false if RUBY_VERSION < '1.9'
|
|
38
|
|
39 if puppetversion && puppetversion < '5.0' && RUBY_VERSION >= '2.1.9'
|
|
40 gem 'semantic_puppet', :require => false
|
|
41 end
|