From 8ee5a8a72c459a8747df908ec08d54605d52fd54 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Tue, 23 Aug 2016 17:11:09 -0400 Subject: [PATCH] pin rubocop and rubocop-rspec depending on Ruby version --- Gemfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 9d82ba722..6ecd16934 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,9 @@ group :rake do gem 'puppet-blacksmith', :require => false gem 'rake', :require => false gem 'metadata-json-lint', :require => false + gem 'rubocop-rspec', '~> 1.6', :require => false if RUBY_VERSION >= '2.2.0' + gem 'rubocop-rspec', '1.5.0', :require => false if RUBY_VERSION < '2.2.0' + gem 'rubocop', '0.41.2', :require => false if RUBY_VERSION < '2.0.0' end group :system_tests do