Rakefile in max_amount-1.2.4 vs Rakefile in max_amount-1.3.4

- old
+ new

@@ -1,15 +1,22 @@ # frozen_string_literal: true +require 'rake' + +begin + require 'bundler/setup' + Bundler::GemHelper.install_tasks +rescue LoadError + puts 'although not required, bundler is recommened for running the tests' +end + +task default: :spec + require 'bundler/gem_tasks' require 'rspec/core/rake_task' - RSpec::Core::RakeTask.new(:spec) require 'rubocop/rake_task' - RuboCop::RakeTask.new do |task| task.requires << 'rubocop-performance' task.requires << 'rubocop-rspec' end - -task default: %i[spec rubocop]