god 0.7.13 → 0.7.14

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/test/test_logger.rb CHANGED
@@ -7,7 +7,8 @@ class TestLogger < Test::Unit::TestCase
7
7
 
8
8
  # log
9
9
 
10
- def test_log
10
+ def test_log_should_keep_logs_when_wanted
11
+ @log.watch_log_since('foo', Time.now)
11
12
  @log.expects(:info).with("qux")
12
13
 
13
14
  no_stdout do
@@ -32,6 +33,8 @@ class TestLogger < Test::Unit::TestCase
32
33
  def test_watch_log_since
33
34
  t1 = Time.now
34
35
 
36
+ @log.watch_log_since('foo', t1)
37
+
35
38
  no_stdout do
36
39
  @log.log(stub(:name => 'foo'), :info, "one")
37
40
  @log.log(stub(:name => 'foo'), :info, "two")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: god
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.13
4
+ version: 0.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -9,42 +9,41 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-04 00:00:00 -07:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.8.0
24
- version:
12
+ date: 2009-08-10 00:00:00 -07:00
13
+ default_executable: god
14
+ dependencies: []
15
+
25
16
  description: God is an easy to configure, easy to extend monitoring framework written in Ruby.
26
- email: tom@rubyisawesome.com
17
+ email: tom@mojombo.com
27
18
  executables:
28
19
  - god
29
20
  extensions:
30
21
  - ext/god/extconf.rb
31
22
  extra_rdoc_files:
32
- - History.txt
33
- - Manifest.txt
34
23
  - README.txt
35
24
  files:
25
+ - .gitignore
26
+ - Announce.txt
36
27
  - History.txt
37
- - Manifest.txt
38
28
  - README.txt
39
29
  - Rakefile
30
+ - VERSION.yml
40
31
  - bin/god
41
32
  - examples/events.god
42
33
  - examples/gravatar.god
43
34
  - examples/single.god
35
+ - ext/god/.gitignore
44
36
  - ext/god/extconf.rb
45
37
  - ext/god/kqueue_handler.c
46
38
  - ext/god/netlink_handler.c
39
+ - god.gemspec
40
+ - ideas/execve/.DS_Store
41
+ - ideas/execve/execve.c
42
+ - ideas/execve/extconf.rb
43
+ - ideas/execve/go.rb
44
+ - ideas/future.god
47
45
  - init/god
46
+ - init/lsb_compliant_god
48
47
  - lib/god.rb
49
48
  - lib/god/behavior.rb
50
49
  - lib/god/behaviors/clean_pid_file.rb
@@ -96,6 +95,23 @@ files:
96
95
  - lib/god/timeline.rb
97
96
  - lib/god/trigger.rb
98
97
  - lib/god/watch.rb
98
+ - site/images/banner.jpg
99
+ - site/images/bg.gif
100
+ - site/images/bg_grey.gif
101
+ - site/images/bullet.jpg
102
+ - site/images/corner_green.gif
103
+ - site/images/corner_green.psd
104
+ - site/images/corner_pink.gif
105
+ - site/images/god_logo1.gif
106
+ - site/images/header_bg.gif
107
+ - site/images/header_bg.jpg
108
+ - site/images/red_dot.gif
109
+ - site/images/top_bg.gif
110
+ - site/index.html
111
+ - site/install.html
112
+ - site/javascripts/code_highlighter.js
113
+ - site/javascripts/ruby.js
114
+ - site/stylesheets/layout.css
99
115
  - test/configs/child_events/child_events.god
100
116
  - test/configs/child_events/simple_server.rb
101
117
  - test/configs/child_polls/child_polls.god
@@ -111,6 +127,7 @@ files:
111
127
  - test/configs/daemon_polls/simple_server.rb
112
128
  - test/configs/degrading_lambda/degrading_lambda.god
113
129
  - test/configs/degrading_lambda/tcp_server.rb
130
+ - test/configs/lifecycle/lifecycle.god
114
131
  - test/configs/matias/matias.god
115
132
  - test/configs/real.rb
116
133
  - test/configs/running_load/running_load.god
@@ -135,6 +152,7 @@ files:
135
152
  - test/test_event_handler.rb
136
153
  - test/test_god.rb
137
154
  - test/test_handlers_kqueue_handler.rb
155
+ - test/test_jabber.rb
138
156
  - test/test_logger.rb
139
157
  - test/test_metric.rb
140
158
  - test/test_process.rb
@@ -147,12 +165,14 @@ files:
147
165
  - test/test_timeline.rb
148
166
  - test/test_trigger.rb
149
167
  - test/test_watch.rb
168
+ - test/test_webhook.rb
150
169
  has_rdoc: true
151
170
  homepage: http://god.rubyforge.org/
171
+ licenses: []
172
+
152
173
  post_install_message:
153
174
  rdoc_options:
154
- - --main
155
- - README.txt
175
+ - --charset=UTF-8
156
176
  require_paths:
157
177
  - lib
158
178
  - ext
@@ -171,11 +191,24 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
191
  requirements: []
172
192
 
173
193
  rubyforge_project: god
174
- rubygems_version: 1.3.0
194
+ rubygems_version: 1.3.5
175
195
  signing_key:
176
- specification_version: 2
196
+ specification_version: 3
177
197
  summary: Like monit, only awesome
178
198
  test_files:
199
+ - test/configs/child_events/simple_server.rb
200
+ - test/configs/child_polls/simple_server.rb
201
+ - test/configs/complex/simple_server.rb
202
+ - test/configs/contact/simple_server.rb
203
+ - test/configs/daemon_events/simple_server.rb
204
+ - test/configs/daemon_events/simple_server_stop.rb
205
+ - test/configs/daemon_polls/simple_server.rb
206
+ - test/configs/degrading_lambda/tcp_server.rb
207
+ - test/configs/real.rb
208
+ - test/configs/stress/simple_server.rb
209
+ - test/configs/test.rb
210
+ - test/helper.rb
211
+ - test/suite.rb
179
212
  - test/test_behavior.rb
180
213
  - test/test_campfire.rb
181
214
  - test/test_condition.rb
@@ -190,6 +223,7 @@ test_files:
190
223
  - test/test_event_handler.rb
191
224
  - test/test_god.rb
192
225
  - test/test_handlers_kqueue_handler.rb
226
+ - test/test_jabber.rb
193
227
  - test/test_logger.rb
194
228
  - test/test_metric.rb
195
229
  - test/test_process.rb
data/Manifest.txt DELETED
@@ -1,114 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- README.txt
4
- Rakefile
5
- bin/god
6
- examples/events.god
7
- examples/gravatar.god
8
- examples/single.god
9
- ext/god/extconf.rb
10
- ext/god/kqueue_handler.c
11
- ext/god/netlink_handler.c
12
- init/god
13
- lib/god.rb
14
- lib/god/behavior.rb
15
- lib/god/behaviors/clean_pid_file.rb
16
- lib/god/behaviors/clean_unix_socket.rb
17
- lib/god/behaviors/notify_when_flapping.rb
18
- lib/god/cli/command.rb
19
- lib/god/cli/run.rb
20
- lib/god/cli/version.rb
21
- lib/god/condition.rb
22
- lib/god/conditions/always.rb
23
- lib/god/conditions/complex.rb
24
- lib/god/conditions/cpu_usage.rb
25
- lib/god/conditions/degrading_lambda.rb
26
- lib/god/conditions/disk_usage.rb
27
- lib/god/conditions/file_mtime.rb
28
- lib/god/conditions/flapping.rb
29
- lib/god/conditions/http_response_code.rb
30
- lib/god/conditions/lambda.rb
31
- lib/god/conditions/memory_usage.rb
32
- lib/god/conditions/process_exits.rb
33
- lib/god/conditions/process_running.rb
34
- lib/god/conditions/tries.rb
35
- lib/god/configurable.rb
36
- lib/god/contact.rb
37
- lib/god/contacts/campfire.rb
38
- lib/god/contacts/email.rb
39
- lib/god/contacts/jabber.rb
40
- lib/god/contacts/twitter.rb
41
- lib/god/contacts/webhook.rb
42
- lib/god/dependency_graph.rb
43
- lib/god/diagnostics.rb
44
- lib/god/driver.rb
45
- lib/god/errors.rb
46
- lib/god/event_handler.rb
47
- lib/god/event_handlers/dummy_handler.rb
48
- lib/god/event_handlers/kqueue_handler.rb
49
- lib/god/event_handlers/netlink_handler.rb
50
- lib/god/logger.rb
51
- lib/god/metric.rb
52
- lib/god/process.rb
53
- lib/god/registry.rb
54
- lib/god/simple_logger.rb
55
- lib/god/socket.rb
56
- lib/god/sugar.rb
57
- lib/god/system/portable_poller.rb
58
- lib/god/system/process.rb
59
- lib/god/system/slash_proc_poller.rb
60
- lib/god/task.rb
61
- lib/god/timeline.rb
62
- lib/god/trigger.rb
63
- lib/god/watch.rb
64
- test/configs/child_events/child_events.god
65
- test/configs/child_events/simple_server.rb
66
- test/configs/child_polls/child_polls.god
67
- test/configs/child_polls/simple_server.rb
68
- test/configs/complex/complex.god
69
- test/configs/complex/simple_server.rb
70
- test/configs/contact/contact.god
71
- test/configs/contact/simple_server.rb
72
- test/configs/daemon_events/daemon_events.god
73
- test/configs/daemon_events/simple_server.rb
74
- test/configs/daemon_events/simple_server_stop.rb
75
- test/configs/daemon_polls/daemon_polls.god
76
- test/configs/daemon_polls/simple_server.rb
77
- test/configs/degrading_lambda/degrading_lambda.god
78
- test/configs/degrading_lambda/tcp_server.rb
79
- test/configs/matias/matias.god
80
- test/configs/real.rb
81
- test/configs/running_load/running_load.god
82
- test/configs/stress/simple_server.rb
83
- test/configs/stress/stress.god
84
- test/configs/task/logs/.placeholder
85
- test/configs/task/task.god
86
- test/configs/test.rb
87
- test/helper.rb
88
- test/suite.rb
89
- test/test_behavior.rb
90
- test/test_campfire.rb
91
- test/test_condition.rb
92
- test/test_conditions_disk_usage.rb
93
- test/test_conditions_http_response_code.rb
94
- test/test_conditions_process_running.rb
95
- test/test_conditions_tries.rb
96
- test/test_contact.rb
97
- test/test_dependency_graph.rb
98
- test/test_driver.rb
99
- test/test_email.rb
100
- test/test_event_handler.rb
101
- test/test_god.rb
102
- test/test_handlers_kqueue_handler.rb
103
- test/test_logger.rb
104
- test/test_metric.rb
105
- test/test_process.rb
106
- test/test_registry.rb
107
- test/test_socket.rb
108
- test/test_sugar.rb
109
- test/test_system_portable_poller.rb
110
- test/test_system_process.rb
111
- test/test_task.rb
112
- test/test_timeline.rb
113
- test/test_trigger.rb
114
- test/test_watch.rb