template/Rakefile in gemplate-0.1.1 vs template/Rakefile in gemplate-0.1.2
- old
+ new
@@ -4,10 +4,10 @@
desc 'Run tests'
RSpec::Core::RakeTask.new(:spec)
desc 'Run Rubocop on the gem'
-Rubocop::RakeTask.new(:rubocop) do |task|
+RuboCop::RakeTask.new(:rubocop) do |task|
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
task.fail_on_error = true
end
task default: [:spec, :rubocop, :build, :install]