From 8623a0c92738b3d278153287e074afe19464154e Mon Sep 17 00:00:00 2001 From: Jeremy Thurgood Date: Wed, 9 Mar 2016 10:52:23 +0200 Subject: [PATCH] Support Rake 11.0 Rake 11.0 (released today) includes the following in its release notes: > * Removed Rake::TaskManager#last_comment. Use last_description. This breaks puppet-catalog-test's rake task. --- lib/puppet-catalog-test/rake_task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet-catalog-test/rake_task.rb b/lib/puppet-catalog-test/rake_task.rb index 1f47930..7974d43 100644 --- a/lib/puppet-catalog-test/rake_task.rb +++ b/lib/puppet-catalog-test/rake_task.rb @@ -17,7 +17,7 @@ class RakeTask < ::Rake::TaskLib attr_accessor :verbose def initialize(name, &task_block) - desc "Compile all puppet catalogs" unless ::Rake.application.last_comment + desc "Compile all puppet catalogs" unless ::Rake.application.last_description task name do task_block.call(self) if task_block