Rakefile in rake-release-1.1.0 vs Rakefile in rake-release-1.2.0
- old
+ new
@@ -1,5 +1,7 @@
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rake/release/task'
Rake::Release::Task.new do |spec|