Rakefile in acumatica-0.2.1 vs Rakefile in acumatica-0.3.0
- old
+ new
@@ -1,11 +1,11 @@
+# frozen_string_literal: true
+
require "bundler/gem_tasks"
+require "rspec/core/rake_task"
+require "rubocop/rake_task"
-begin
- require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
- RSpec::Core::RakeTask.new(:spec)
+RuboCop::RakeTask.new
- task :default => :spec
-rescue LoadError
- # no rspec available
-end
+task default: %i[spec rubocop]