Rakefile in blinkist-config-1.0.0 vs Rakefile in blinkist-config-1.0.1
- old
+ new
@@ -1,13 +1,12 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"
RuboCop::RakeTask.new do |task|
- task.options = ["-a"]
- task.patterns = ["lib/**/*.rb", "spec/**/*.rb"]
+ task.options = %w(-a)
end
RSpec::Core::RakeTask.new(:spec)
task(:default).clear
-task default: [:rubocop, :spec]
+task default: %i(rubocop spec)