Update Rubocop to RuboCop
This commit is contained in:
parent
4984738b62
commit
72c85a1514
4
Rakefile
4
Rakefile
|
@ -7,10 +7,10 @@ task :test => :spec
|
||||||
|
|
||||||
begin
|
begin
|
||||||
require 'rubocop/rake_task'
|
require 'rubocop/rake_task'
|
||||||
Rubocop::RakeTask.new
|
RuboCop::RakeTask.new
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
task :rubocop do
|
task :rubocop do
|
||||||
$stderr.puts 'Rubocop is disabled'
|
$stderr.puts 'RuboCop is disabled'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue