rcoli 0.5.11 → 0.5.12

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rcoli (0.5.11)
4
+ rcoli (0.5.12)
5
5
  highline (~> 1.6.11)
6
6
  paint (= 0.8.5)
7
7
 
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. Now you should execute '#{value_of_name} help'"
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
@@ -1,5 +1,5 @@
1
1
  module RCoLi
2
2
 
3
- VERSION = '0.5.11'
3
+ VERSION = '0.5.12'
4
4
 
5
5
  end
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.11
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-04-29 00:00:00.000000000 Z
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: -802772616911762556
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: -802772616911762556
106
+ hash: -110093413140302844
107
107
  requirements: []
108
108
  rubyforge_project:
109
109
  rubygems_version: 1.8.24