commander 4.4.2 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/History.rdoc +4 -0
- data/lib/commander/user_interaction.rb +4 -3
- data/lib/commander/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: 1fab0ac21561072424d7bf0d3e3ae8c07f00c721
|
4
|
+
data.tar.gz: a5e55123decc318877105e073ad5519a1d7e08c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b99a7f4c91b1fb9deee588616aadcd56dee44db34d6d99b8efd6efcc199097f94df8fec3947eeb48270da6b18df176be252fd2e9025b58a2c11df6d687bce55
|
7
|
+
data.tar.gz: cdd0930f1ce730579c1f1572643ea6632683262df7bf5438b107994a7523fe0a7d71505e77304eda1e6f442ad8a9b98d710e7043cb761237bb024f8d503001d5
|
data/.travis.yml
CHANGED
data/History.rdoc
CHANGED
@@ -324,13 +324,14 @@ module Commander
|
|
324
324
|
# Implements ask_for_CLASS methods.
|
325
325
|
|
326
326
|
module AskForClass
|
327
|
+
DEPRECATED_CONSTANTS = [:Config, :TimeoutError, :MissingSourceFile, :NIL, :TRUE, :FALSE, :Fixnum, :Bignum].freeze
|
327
328
|
# All special cases in HighLine::Question#convert, except those that implement #parse
|
328
329
|
(
|
329
330
|
[Float, Integer, String, Symbol, Regexp, Array, File, Pathname] +
|
330
331
|
# All Classes that respond to #parse
|
331
|
-
|
332
|
-
|
333
|
-
Object.const_get(const)
|
332
|
+
# Ignore constants that trigger deprecation warnings
|
333
|
+
(Object.constants - DEPRECATED_CONSTANTS).map do |const|
|
334
|
+
Object.const_get(const)
|
334
335
|
end.select do |const|
|
335
336
|
const.class == Class && const.respond_to?(:parse)
|
336
337
|
end
|
data/lib/commander/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TJ Holowaychuk
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-12-
|
12
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: highline
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.6.8
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: The complete solution for Ruby command-line executables
|