commander 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/lib/commander/user_interaction.rb +1 -1
- data/lib/commander/version.rb +1 -1
- metadata +2 -2
data/History.rdoc
CHANGED
@@ -327,7 +327,7 @@ module Commander
|
|
327
327
|
# const_get(:Config) issues a deprecation warning on ruby 1.8.7
|
328
328
|
Object.const_get(const) unless const == :Config
|
329
329
|
end.select do |const|
|
330
|
-
const.
|
330
|
+
const.class == Class && const.respond_to?(:parse)
|
331
331
|
end).each do |klass|
|
332
332
|
define_method "ask_for_#{klass.to_s.downcase}" do |prompt|
|
333
333
|
$terminal.ask(prompt, klass)
|
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.1.
|
4
|
+
version: 4.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-08-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|