Skip to content

Commit

Permalink
Merge pull request #98 from olleolleolle/rakefile-patch-for-rake
Browse files Browse the repository at this point in the history
Rakefile: add patch to support last_comment
  • Loading branch information
mkristian committed May 9, 2022
2 parents d5a9256 + 6d1380f commit 3f0fdaa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
@@ -1,5 +1,11 @@
task :default => [ :specs ]

unless Rake::Application.method_defined? :last_comment
Rake::Application.module_eval do
alias_method :last_comment, :last_description
end
end # Rake 11 compatibility (due rspec/core/rake_task < 3.0)

desc 'run specs'
task :specs do
$LOAD_PATH << "spec"
Expand Down

0 comments on commit 3f0fdaa

Please sign in to comment.