RubyGems
npm
Organizations
Log in
Sign up
RubyGems
josevalim-thor
Versions diffs
0.10.8 → 0.10.9
josevalim-thor 0.10.8 → 0.10.9
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/thor/options.rb
+1
-1
metadata
+1
-1
data/lib/thor/options.rb
CHANGED
Viewed
@@ -60,7 +60,7 @@ class Thor
60
60
61
61
if option.argument?
62
62
@non_assigned_arguments << option
63
-
elsif option.default
63
+
elsif
!
option.default
.nil?
64
64
@options[option.human_name] = option.default
65
65
end
66
66
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: josevalim-thor
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.10.
8
4
+
version: 0.10.
9
5
5
platform: ruby
6
6
authors:
7
7
- Yehuda Katz