fate 0.2.15 → 0.2.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,6 @@ class Fate
28
28
  kill(name)
29
29
  end
30
30
  end
31
- exit(1)
32
31
  end
33
32
 
34
33
  def start_group(hash)
@@ -150,6 +149,7 @@ class Fate
150
149
  logger.info "Shutting down all processes."
151
150
 
152
151
  shutdown
152
+ exit(1)
153
153
  end
154
154
 
155
155
 
@@ -17,6 +17,7 @@ class Fate
17
17
  "properties" => {
18
18
  "commands" => {
19
19
  "type" => "object",
20
+ "required" => true,
20
21
  "additionalProperties" => {
21
22
  "type" => ["object", "string"]
22
23
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.15
4
+ version: 0.2.16
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-01-07 00:00:00.000000000 Z
12
+ date: 2013-01-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -32,17 +32,17 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - '='
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.2.8
37
+ version: 0.2.9
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - '='
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.2.8
45
+ version: 0.2.9
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: squeeze
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +133,6 @@ files:
133
133
  - bin/fate
134
134
  - LICENSE
135
135
  - README.md
136
- - lib/fate/formatter.rb
137
136
  - lib/fate/logger.rb
138
137
  - lib/fate/output.rb
139
138
  - lib/fate/process_manager.rb
@@ -1,18 +0,0 @@
1
- class Fate
2
-
3
- module Formatter
4
- def format_line(identifier, line)
5
- if identifier == @last_identifier
6
- "%-#{@command_width}s - %s" % [nil, line]
7
- else
8
- @last_identifier = identifier
9
- "%-#{@command_width}s - %s" % [identifier, line]
10
- end
11
- end
12
-
13
- def colorize(name, string)
14
- [Term::ANSIColor.send(name), string, Term::ANSIColor.reset].join
15
- end
16
- end
17
-
18
- end