thor 0.19.2 → 0.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thor/parser/option.rb +2 -1
- data/lib/thor/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3426ba4bdfd1c73ddd6f018bc4628fe200c17ab4
|
4
|
+
data.tar.gz: 3d2f12dc5fdea58e0fb1f180729b7bee363b0e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 906826b503273c73e16901becf458fcf805a3d80b7b5afe24b574b19bfdf5c93f29357e2ad8fc4818776a839271b08edf7b97beea84981eeab0a2167a9857d97
|
7
|
+
data.tar.gz: 8a3efc8e1e78ca1a2b37c1cb9a93eef138c80e73ee661361f93d447ae234d799ee59e0920e8b7b6f9fdcfd070610352e53264dac879167a4d6a1f83d7c01b09e
|
data/lib/thor/parser/option.rb
CHANGED
@@ -127,7 +127,8 @@ class Thor
|
|
127
127
|
@default.class.name.downcase.to_sym
|
128
128
|
end
|
129
129
|
|
130
|
-
|
130
|
+
# TODO: This should raise an ArgumentError in a future version of Thor
|
131
|
+
warn "Expected #{@type} default value for '#{switch_name}'; got #{@default.inspect} (#{default_type})" unless default_type == @type
|
131
132
|
end
|
132
133
|
|
133
134
|
def dasherized?
|
data/lib/thor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-11-
|
12
|
+
date: 2016-11-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: 1.3.5
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.5.
|
94
|
+
rubygems_version: 2.5.1
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Thor is a toolkit for building powerful command-line interfaces.
|