Rakefile in bagit-0.4.3 vs Rakefile in bagit-0.4.4

- old
+ new

@@ -1,22 +1,19 @@ -require 'rubygems' -require 'bundler/setup' +# frozen_string_literal: true + +require "rubygems" +require "bundler/setup" Bundler.setup(:default, :development, :test) -require 'rake' -require 'rdoc/task' -require 'rspec/core/rake_task' -require 'rubocop/rake_task' +require "rake" +require "rdoc/task" +require "rspec/core/rake_task" +require "standard/rake" Bundler::GemHelper.install_tasks -desc 'Run rubocop' -task :rubocop do - RuboCop::RakeTask.new -end - RSpec::Core::RakeTask.new do |t| - t.pattern = 'spec/**/*_spec.rb' + t.pattern = "spec/**/*_spec.rb" t.rspec_opts = %w[--format documentation --color] end -task default: [:rubocop, :spec] +task default: [:standard, :spec]