kicker 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.2.2
data/kicker.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kicker}
8
- s.version = "2.2.1"
8
+ s.version = "2.2.2"
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-12-06}
12
+ s.date = %q{2009-12-07}
13
13
  s.default_executable = %q{kicker}
14
14
  s.email = %q{eloy.de.enige@gmail.com}
15
15
  s.executables = ["kicker"]
data/lib/kicker.rb CHANGED
@@ -45,7 +45,7 @@ class Kicker #:nodoc:
45
45
  end
46
46
 
47
47
  def validate_paths_and_command!
48
- if process_chain.empty? && pre_process_chain.empty?
48
+ if startup_chain.empty? && process_chain.empty? && pre_process_chain.empty?
49
49
  puts Kicker::Options.parser.help
50
50
  exit
51
51
  end
@@ -53,6 +53,7 @@ describe "Kicker, when starting" do
53
53
 
54
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
+ Kicker.stubs(:startup_chain).returns(Kicker::CallbackChain.new)
56
57
  Kicker.stubs(:process_chain).returns(Kicker::CallbackChain.new)
57
58
  Kicker.stubs(:pre_process_chain).returns(Kicker::CallbackChain.new)
58
59
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
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-12-06 00:00:00 +01:00
12
+ date: 2009-12-07 00:00:00 +01:00
13
13
  default_executable: kicker
14
14
  dependencies: []
15
15