god 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Rakefile +3 -12
- data/doc/god.asciidoc +7 -0
- data/ext/god/netlink_handler.c +1 -4
- data/god.gemspec +2 -2
- data/lib/god.rb +1 -1
- data/lib/god/cli/command.rb +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -80,17 +80,7 @@ end
|
|
80
80
|
#
|
81
81
|
#############################################################################
|
82
82
|
|
83
|
-
desc "
|
84
|
-
task :site_old do
|
85
|
-
sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god"
|
86
|
-
end
|
87
|
-
|
88
|
-
desc "Upload site to Rubyforge"
|
89
|
-
task :site_edge do
|
90
|
-
sh "scp -r site/* mojombo@god.rubyforge.org:/var/www/gforge-projects/god/edge"
|
91
|
-
end
|
92
|
-
|
93
|
-
desc "Generate the new-style site"
|
83
|
+
desc "Generate and view the site locally"
|
94
84
|
task :site do
|
95
85
|
# Generate the dynamic parts of the site.
|
96
86
|
puts "Generating dynamic..."
|
@@ -107,7 +97,7 @@ task :site do
|
|
107
97
|
sh "open site/index.html"
|
108
98
|
end
|
109
99
|
|
110
|
-
desc "
|
100
|
+
desc "Commit the local site to the gh-pages branch and deploy"
|
111
101
|
task :site_release do
|
112
102
|
# Ensure the gh-pages dir exists so we can generate into it.
|
113
103
|
puts "Checking for gh-pages dir..."
|
@@ -128,6 +118,7 @@ task :site_release do
|
|
128
118
|
sh "cd gh-pages && git add . && git commit -m 'Updating to #{sha}.' && git push"
|
129
119
|
puts 'Done.'
|
130
120
|
end
|
121
|
+
|
131
122
|
#############################################################################
|
132
123
|
#
|
133
124
|
# Packaging tasks
|
data/doc/god.asciidoc
CHANGED
@@ -27,6 +27,13 @@ The following systems have been tested. Help us test it on others!
|
|
27
27
|
Quick Start
|
28
28
|
-----------
|
29
29
|
|
30
|
+
Note: this quick start guide requires god 0.12.0 or above. You can check your
|
31
|
+
version by running:
|
32
|
+
|
33
|
+
```terminal
|
34
|
+
$ god --version
|
35
|
+
```
|
36
|
+
|
30
37
|
The easiest way to understand how god will make your life better is by trying
|
31
38
|
out a simple example. To get you up and running quickly, I'll show you how to
|
32
39
|
keep a trivial server running.
|
data/ext/god/netlink_handler.c
CHANGED
@@ -87,10 +87,7 @@ nlh_handle_events()
|
|
87
87
|
rb_funcall(cEventHandler, m_call, 3, INT2FIX(event->event_data.fork.parent_pid), ID2SYM(proc_fork), extra_data);
|
88
88
|
return INT2FIX(1);
|
89
89
|
|
90
|
-
|
91
|
-
case PROC_EVENT_EXEC:
|
92
|
-
case PROC_EVENT_UID:
|
93
|
-
case PROC_EVENT_GID:
|
90
|
+
default:
|
94
91
|
break;
|
95
92
|
}
|
96
93
|
}
|
data/god.gemspec
CHANGED
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'god'
|
6
|
-
s.version = '0.12.
|
7
|
-
s.date = '2012-01-
|
6
|
+
s.version = '0.12.1'
|
7
|
+
s.date = '2012-01-21'
|
8
8
|
|
9
9
|
s.summary = "Process monitoring framework."
|
10
10
|
s.description = "An easy to configure, easy to extend monitoring framework written in Ruby."
|
data/lib/god.rb
CHANGED
data/lib/god/cli/command.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: god
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 0.12.
|
9
|
+
- 1
|
10
|
+
version: 0.12.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Preston-Werner
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-01-
|
20
|
+
date: 2012-01-21 00:00:00 -08:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|