Rakefile in datadog-notifications-0.5.0 vs Rakefile in datadog-notifications-0.5.1

- old
+ new

@@ -1,12 +1,12 @@ require "bundler/gem_tasks" begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" + warn e.message + warn "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' @@ -15,6 +15,9 @@ RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end -task :default => :spec +require 'rubocop/rake_task' +RuboCop::RakeTask.new(:rubocop) + +task default: %i[spec rubocop]