tasks/rubocop.rake in nanoc-3.6.11 vs tasks/rubocop.rake in nanoc-3.7.0
- old
+ new
@@ -1,9 +1,9 @@
begin
require 'rubocop/rake_task'
- Rubocop::RakeTask.new(:rubocop) do |task|
+ RuboCop::RakeTask.new(:rubocop) do |task|
task.patterns = ['lib/**/*.rb']
end
rescue LoadError
- warn "Could not load Rubocop. Rubocop rake tasks will be unavailable."
+ warn "Could not load RuboCop. RuboCop rake tasks will be unavailable."
end