kicker 2.2.0 → 2.2.1

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.0
1
+ 2.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kicker}
8
- s.version = "2.2.0"
8
+ s.version = "2.2.1"
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-11-29}
12
+ s.date = %q{2009-12-06}
13
13
  s.default_executable = %q{kicker}
14
14
  s.email = %q{eloy.de.enige@gmail.com}
15
15
  s.executables = ["kicker"]
@@ -45,7 +45,7 @@ class Kicker #:nodoc:
45
45
  end
46
46
 
47
47
  def validate_paths_and_command!
48
- if startup_chain.empty?
48
+ if process_chain.empty? && pre_process_chain.empty?
49
49
  puts Kicker::Options.parser.help
50
50
  exit
51
51
  end
@@ -53,7 +53,8 @@ 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
+ Kicker.stubs(:process_chain).returns(Kicker::CallbackChain.new)
57
+ Kicker.stubs(:pre_process_chain).returns(Kicker::CallbackChain.new)
57
58
 
58
59
  Kicker::Options.stubs(:parser).returns(mock('OptionParser', :help => 'help'))
59
60
  @kicker.expects(:puts).with("help")
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.0
4
+ version: 2.2.1
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-11-29 00:00:00 +01:00
12
+ date: 2009-12-06 00:00:00 +01:00
13
13
  default_executable: kicker
14
14
  dependencies: []
15
15