Skip to content

Commit 238fc2f

Browse files
committed
Fixing ruby 1.8.7
1 parent dd5b734 commit 238fc2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/fixtures/group.thor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class MyCounter < Thor::Group
99
source_root File.expand_path(File.dirname(__FILE__))
1010
source_paths << File.expand_path("broken", File.dirname(__FILE__))
1111

12-
argument :first, :type => :numeric
12+
# argument :first, :type => :numeric
1313
argument :second, :type => :numeric, :default => 2
1414

1515
class_option :third, :type => :numeric, :desc => "The third argument", :default => 3,

spec/fixtures/ignore_class_options.thor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class IgnoreClassOptions < Thor
2-
class_option :fruit, :aliases => "-f", :type => :string, :enum => %w(apple banana), required: true
3-
class_option :cheese, :aliases => "-c", :type => :string, :enum => %w(pepperjack provlone), required: true
2+
class_option :fruit, :aliases => "-f", :type => :string, :enum => %w(apple banana), :required => true
3+
class_option :cheese, :aliases => "-c", :type => :string, :enum => %w(pepperjack provlone), :required => true
44

55
desc "snack", "test"
66
method_option :vegetable, :aliases => "-v", :type => :string

0 commit comments

Comments
 (0)