From: Guilhem Lettron Date: Tue, 3 Jun 2014 15:46:26 +0000 (+0200) Subject: Fix rubocop regression X-Git-Tag: v0.8.0~32 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster_upstream;p=ceph-cookbooks.git Fix rubocop regression --- diff --git a/Gemfile b/Gemfile index 880bbed..39c60fb 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gem 'berkshelf', '~> 2.0.10' group :test do gem 'foodcritic', '~> 3.0' - gem 'rubocop', '~> 0.20' + gem 'rubocop', '~> 0.23.0' end group :integration do diff --git a/Rakefile b/Rakefile index dae01d4..4a798ce 100644 --- a/Rakefile +++ b/Rakefile @@ -5,7 +5,7 @@ namespace :style do begin require 'rubocop/rake_task' desc 'Run Ruby style checks' - Rubocop::RakeTask.new(:ruby) + RuboCop::RakeTask.new(:ruby) rescue LoadError puts '>>>>> Rubocop gem not loaded, omitting tasks' unless ENV['CI'] end