Skip to content

Commit

Permalink
pin rspec-puppet-facts for Ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll committed Mar 2, 2016
1 parent fb0d977 commit c6837c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ Gemfile:
- 'ruby_18'
groups:
- 'development'
- gem: rspec-puppet-facts
- gem: metadata-json-lint
.puppet-lint.rc:
default_disabled_lint_checks:
Expand Down
2 changes: 2 additions & 0 deletions moduleroot/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ gem 'puppet', ENV.key?('PUPPET_VERSION') ? "~> #{ENV['PUPPET_VERSION']}" : '>= 2

if RUBY_VERSION.start_with? '1.8'
gem 'rspec', '>= 3', '< 3.2'
gem 'rspec-puppet-facts', '< 1.4.0'
else
gem 'rspec', '~> 3.0'
gem 'rspec-puppet-facts'
end
<% (@configs['required'] + (@configs['extra'] || [])).each do |gem| -%>
gem '<%= gem['gem'] %>'<%= ", '#{gem['version']}'" if gem['version'] %><%= ", #{gem['options'].inspect}" if gem['options'] %>
Expand Down

0 comments on commit c6837c6

Please sign in to comment.