From d268b2797246e803a9f15fcb9f8fce6630b6bd67 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Mon, 29 Oct 2018 13:59:33 +0800 Subject: [PATCH] (GH-69) Pin rubocop to < 0.60.0 Rubocop has released 0.60.0 however it's "broken" some of the cops in our project. In particualar the Layout/AlignHash cop. This commit pins Rubocop to the a version prior to 0.60.0 to allow work to continue, while the violations are fixed. --- Gemfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 0dbbe939..c3144344 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,8 @@ group :development do if RUBY_VERSION =~ /^2\.1\./ gem "rubocop", "<= 0.57.2", :require => false, :platforms => [:ruby, :x64_mingw] else - gem "rubocop", :require => false, :platforms => [:ruby, :x64_mingw] + # v0.60.0 brought in many violations. For now pin this + gem "rubocop", "< 0.60.0", :require => false, :platforms => [:ruby, :x64_mingw] end if ENV['PUPPET_GEM_VERSION']