9af54824e7
This patch does the following: 1) Adds puppet_spec library to a list of fetched specs to leverage some of additional matchers 2) Makes spec_helper load puppet core spec directory which may also contain things we would want to reuse 3) Introduces new matcher for transitive dependencies that allows one to not search for exact dependencies with `that_comes_before` matcher, but to just check for resources dependencies Change-Id: Iad3b6f31a4c5be1ec306d9b4e7eedbd2cf720e95 Related-bug: #1533279
36 lines
1.9 KiB
Ruby
36 lines
1.9 KiB
Ruby
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'puppetlabs_spec_helper', :require => 'false'
|
|
gem 'rspec', '~>3.3', :require => 'false'
|
|
gem 'rspec-puppet', '~> 2.2.0', :require => 'false'
|
|
gem 'librarian-puppet-simple', :require => 'false'
|
|
gem 'metadata-json-lint', :require => 'false'
|
|
gem 'mime-types', '2.6.2', :require => 'false' # 3.0+ requires ruby 2.0
|
|
gem 'puppet-lint-param-docs', :require => 'false'
|
|
gem 'puppet-lint-absolute_classname-check', :require => 'false'
|
|
gem 'puppet-lint-absolute_template_path', :require => 'false'
|
|
gem 'puppet-lint-unquoted_string-check', :require => 'false'
|
|
gem 'puppet-lint-leading_zero-check', :require => 'false'
|
|
gem 'puppet-lint-variable_contains_upcase', :require => 'false'
|
|
gem 'puppet-lint-numericvariable', :require => 'false'
|
|
gem 'puppet_facts', :require => 'false'
|
|
gem 'json', :require => 'false'
|
|
gem 'pry', :require => 'false'
|
|
gem 'simplecov', :require => 'false'
|
|
gem 'webmock', :require => 'false'
|
|
gem 'fakefs', :require => 'false'
|
|
gem 'fog-google', '0.1.0', :require => 'false' # 0.1.1+ requires ruby 2.0
|
|
gem 'beaker-rspec', :require => 'false'
|
|
gem 'beaker-puppet_install_helper', :require => 'false'
|
|
gem 'psych', :require => 'false'
|
|
gem 'puppet-spec', :require => 'false'
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
# TODO(aschultz): remove this version when 4 is supported
|
|
gem 'puppet', '~> 3.8', :require => false
|
|
end
|