spec/fixtures/script.thor in thor-0.13.1 vs spec/fixtures/script.thor in thor-0.13.2
- old
+ new
@@ -1,6 +1,8 @@
class MyScript < Thor
+ check_unknown_options!
+
attr_accessor :some_attribute
attr_writer :another_attribute
attr_reader :another_attribute
group :script
@@ -49,9 +51,13 @@
boom!
end
desc "long_description", "a" * 80
def long_description
+ end
+
+ desc "name-with-dashes", "Ensure normalization of task names"
+ def name_with_dashes
end
method_options :all => :boolean
desc "with_optional NAME", "invoke with optional name"
def with_optional(name=nil)