Rakefile in d-mark-1.0.0a3 vs Rakefile in d-mark-1.0.0a4
- old
+ new
@@ -5,10 +5,10 @@
t.rspec_opts = '-r ./spec/spec_helper.rb --color'
t.verbose = false
end
RuboCop::RakeTask.new(:rubocop) do |task|
- task.options = %w( --display-cop-names --format simple )
- task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
+ task.options = %w[--display-cop-names --format simple]
+ task.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'Gemfile*', '*.gemspec', 'Rakefile']
end
-task default: [:spec, :rubocop]
+task default: %i[spec rubocop]