rcoli 0.5.11 → 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/rcoli/model.rb +2 -2
- data/lib/rcoli/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/lib/rcoli/model.rb
CHANGED
@@ -93,7 +93,7 @@ module RCoLi
|
|
93
93
|
end
|
94
94
|
|
95
95
|
def validate_options(result, target)
|
96
|
-
if (result.command.value_of_force == true)
|
96
|
+
if (result.command.nil? or result.command.value_of_force == true)
|
97
97
|
return
|
98
98
|
else
|
99
99
|
self.options.find_all{|o| o.is_a? Flag and o.value_of_required}.each do |o|
|
@@ -222,7 +222,7 @@ module RCoLi
|
|
222
222
|
# execution of the post block
|
223
223
|
context.instance_exec(result.global_options, result.options, result.arguments, &@post_action) if (@post_action and !result.command.value_of_skip_post)
|
224
224
|
else
|
225
|
-
say "This feature is comming soon.
|
225
|
+
say "This feature is comming soon. You should execute '#{value_of_name} help' now."
|
226
226
|
end
|
227
227
|
end
|
228
228
|
|
data/lib/rcoli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rcoli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: highline
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash: -
|
97
|
+
hash: -110093413140302844
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
none: false
|
100
100
|
requirements:
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
segments:
|
105
105
|
- 0
|
106
|
-
hash: -
|
106
|
+
hash: -110093413140302844
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
109
|
rubygems_version: 1.8.24
|