spec/fixtures/group.thor in thor-0.14.1 vs spec/fixtures/group.thor in thor-0.14.2

- old
+ new

@@ -35,10 +35,17 @@ def self.inherited(base) super base.source_paths.unshift(File.expand_path(File.join(File.dirname(__FILE__), "doc"))) end + + no_tasks do + def world(&block) + result = capture(&block) + concat(result.strip + " world!") + end + end end class ClearCounter < MyCounter remove_argument :first, :second, :undefine => true remove_class_option :third @@ -83,6 +90,6 @@ class TaskConflict < Thor::Group desc "A group with the same name as a default task" def group puts "group" end -end \ No newline at end of file +end