Gemfile 2.04 KB
Newer Older
1
source ENV['GEM_SOURCE'] || "https://rubygems.org"
Raphaël Pinson's avatar
Raphaël Pinson committed
2

3
group :development, :unit_tests do
Raphaël Pinson's avatar
Raphaël Pinson committed
4
  gem 'rake',                                              :require => false
5
  gem 'rspec', '< 3.2',                                    :require => false if RUBY_VERSION =~ /^1.8/
Mickaël Canévet's avatar
Mickaël Canévet committed
6
  gem 'rspec-puppet',                                      :require => false
7
  gem 'puppetlabs_spec_helper',                            :require => false
8
  gem 'metadata-json-lint',                                :require => false
Mickaël Canévet's avatar
Mickaël Canévet committed
9
  gem 'puppet-lint',                                       :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
10
11
12
13
  gem 'puppet-lint-unquoted_string-check',                 :require => false
  gem 'puppet-lint-empty_string-check',                    :require => false
  gem 'puppet-lint-spaceship_operator_without_tag-check',  :require => false
  gem 'puppet-lint-variable_contains_upcase',              :require => false
14
  gem 'puppet-lint-absolute_classname-check',              :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
15
  gem 'puppet-lint-undef_in_function-check',               :require => false
16
  gem 'puppet-lint-leading_zero-check',                    :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
17
18
  gem 'puppet-lint-trailing_comma-check',                  :require => false
  gem 'puppet-lint-file_ensure-check',                     :require => false
19
  gem 'puppet-lint-version_comparison-check',              :require => false
20
  gem 'puppet-lint-fileserver-check',                      :require => false
21
  gem 'puppet-lint-file_source_rights-check',              :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
22
  gem 'rspec-puppet-facts',                                :require => false
23
24
25
end

group :system_tests do
26
27
28
29
  gem 'beaker',              :require => false
  gem 'beaker-rspec',        :require => false
  gem 'beaker_spec_helper',  :require => false
  gem 'serverspec',          :require => false
30
31
32
33
34
35
36
37
38
39
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
Raphaël Pinson's avatar
Raphaël Pinson committed
40
else
41
  gem 'puppet', :require => false
Raphaël Pinson's avatar
Raphaël Pinson committed
42
43
end

44
# vim:ft=ruby