Skip to content

Commit b84bdc7

Browse files
author
Joseph Herlant
committed
Fix wrong number of arguments (5 for 1..3) for puppet < 4 and ruby > 2
Change-Id: Ia6cad9b1a213c75c4ae400aec8b63482f8d7e279
1 parent 3b7ad65 commit b84bdc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skeleton/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ group :test do
88
gem 'rspec-core', '< 3.2.0' if RUBY_VERSION < '1.9'
99
gem 'rspec-puppet'
1010
gem 'rspec-puppet-facts'
11-
gem 'rubocop', if RUBY_VERSION < '2.0.0' then '< 0.42.0' end
11+
gem 'rubocop', if RUBY_VERSION < '2.0.0' or Gem.latest_spec_for('puppet').version < Gem::Version.new('4.0.0') then '< 0.42.0' end
1212
gem 'simplecov', '>= 0.11.0'
1313
gem 'simplecov-console', if RUBY_VERSION < '2.0.0' then '< 0.4.0' end
1414

0 commit comments

Comments
 (0)