Rakefile in telegram-bot-ruby-0.14.0 vs Rakefile in telegram-bot-ruby-0.15.0
- old
+ new
@@ -3,11 +3,11 @@
require 'rubocop/rake_task'
require 'rspec/core/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
task.fail_on_error = false
- task.options = %w(--force-exclusion)
- task.patterns = %w(lib/**/*.rb)
+ task.options = %w[--force-exclusion]
+ task.patterns = %w[lib/**/*.rb]
task.requires << 'rubocop-rspec'
end
RSpec::Core::RakeTask.new(:spec)