alloy-kicker 1.9.2 → 1.9.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.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 9
4
- :patch: 2
4
+ :patch: 3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kicker}
8
- s.version = "1.9.2"
8
+ s.version = "1.9.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eloy Duran"]
12
- s.date = %q{2009-08-27}
12
+ s.date = %q{2009-09-01}
13
13
  s.email = %q{eloy.de.enige@gmail.com}
14
14
  s.executables = ["kicker", "kicker"]
15
15
  s.extra_rdoc_files = [
@@ -7,7 +7,7 @@ class Kicker
7
7
  end
8
8
 
9
9
  def validate_paths_and_command!
10
- if process_chain.empty?
10
+ if process_chain.empty? && pre_process_chain.empty?
11
11
  puts OPTION_PARSER_CALLBACK.call(nil).help
12
12
  exit
13
13
  end
@@ -21,4 +21,4 @@ class Kicker
21
21
  end
22
22
  end
23
23
  end
24
- end
24
+ end
@@ -51,9 +51,10 @@ describe "Kicker, when starting" do
51
51
  OSX.stubs(:CFRunLoopRun)
52
52
  end
53
53
 
54
- it "should show the usage banner and exit when there is no process_callback defined at all" do
54
+ it "should show the usage banner and exit when there are no callbacks defined at all" do
55
55
  @kicker.stubs(:validate_paths_exist!)
56
56
  Kicker.stubs(:process_chain).returns([])
57
+ Kicker.stubs(:pre_process_chain).returns([])
57
58
 
58
59
  Kicker::OPTION_PARSER_CALLBACK.stubs(:call).returns(mock('OptionParser', :help => 'help'))
59
60
  @kicker.expects(:puts).with("help")
@@ -130,4 +131,4 @@ describe "Kicker, when starting" do
130
131
  Growl::Notifier.sharedInstance.expects(:register).never
131
132
  @kicker.start
132
133
  end
133
- end
134
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alloy-kicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-27 00:00:00 -07:00
12
+ date: 2009-09-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15