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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d79526592b82cfff9374125c0e1970b1d1c2451a
4
- data.tar.gz: 89a9df6fcc69297cb7567cec0138a7be787c4197
3
+ metadata.gz: 3426ba4bdfd1c73ddd6f018bc4628fe200c17ab4
4
+ data.tar.gz: 3d2f12dc5fdea58e0fb1f180729b7bee363b0e57
5
5
  SHA512:
6
- metadata.gz: 2abe2eca78a2fc55f6ed8e28ac066594ebf45ab938fb434b844e7293b6001400652c79e30567a14e511ef81c024d3ac4a4de9682c385079d7f5eb1ef4390d1af
7
- data.tar.gz: 366ab438925df78b9ecf8d783a3aa6d7a5a4c6eee2357c1110e7668ad9a711659b5f7967408c22d81f61860ff0be75fd69e91d475eb0a2cf61159fb2a0ac324a
6
+ metadata.gz: 906826b503273c73e16901becf458fcf805a3d80b7b5afe24b574b19bfdf5c93f29357e2ad8fc4818776a839271b08edf7b97beea84981eeab0a2167a9857d97
7
+ data.tar.gz: 8a3efc8e1e78ca1a2b37c1cb9a93eef138c80e73ee661361f93d447ae234d799ee59e0920e8b7b6f9fdcfd070610352e53264dac879167a4d6a1f83d7c01b09e
@@ -127,7 +127,8 @@ class Thor
127
127
  @default.class.name.downcase.to_sym
128
128
  end
129
129
 
130
- raise ArgumentError, "An option's default must match its type." unless default_type == @type
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?
@@ -1,3 +1,3 @@
1
1
  class Thor
2
- VERSION = "0.19.2"
2
+ VERSION = "0.19.3"
3
3
  end
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.2
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-26 00:00:00.000000000 Z
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.2
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.