Rakefile in smarter_csv-1.7.3 vs Rakefile in smarter_csv-1.7.4
- old
+ new
@@ -1,9 +1,20 @@
# frozen_string_literal: true
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
+
+# temp fix for NoMethodError: undefined method `last_comment'
+# remove when fixed in Rake 11.x and higher
+module TempFixForRakeLastComment
+ def last_comment
+ last_description
+ end
+end
+Rake::Application.send :include, TempFixForRakeLastComment
+### end of tempfix
+
RSpec::Core::RakeTask.new(:spec)
require "rubocop/rake_task"
RuboCop::RakeTask.new