Rakefile in simplecov-html-0.10.2 vs Rakefile in simplecov-html-0.11.0.beta1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "bundler"
Bundler::GemHelper.install_tasks
# See https://github.com/colszowka/simplecov/issues/171
desc "Set permissions on all files so they are compatible with both user-local and system-wide installs"
@@ -19,10 +21,10 @@
begin
require "rubocop/rake_task"
RuboCop::RakeTask.new
rescue LoadError
task :rubocop do
- $stderr.puts "Rubocop is disabled"
+ warn "Rubocop is disabled"
end
end
task :default => [:test, :rubocop]