Update rubocop dependency to >= 0.23

This commit is contained in:
Erik Michaels-Ober 2014-06-23 08:22:41 +02:00
parent 5663895b4e
commit 4fb9cdfe4d
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ group :test do
gem 'coveralls', :require => false
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
gem 'rspec', '>= 2.14'
gem 'rubocop', '>= 0.20', :platforms => [:ruby_19, :ruby_20, :ruby_21]
gem 'rubocop', '>= 0.23', :platforms => [:ruby_19, :ruby_20, :ruby_21]
gem 'simplecov', :require => false
gem 'yardstick'
end

View file

@ -7,10 +7,10 @@ task :test => :spec
begin
require 'rubocop/rake_task'
Rubocop::RakeTask.new
RuboCop::RakeTask.new
rescue LoadError
task :rubocop do
$stderr.puts 'Rubocop is disabled'
$stderr.puts 'RuboCop is disabled'
end
end