god 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.12.1
2
+ * Bug Fixes
3
+ * Fix undefined variable problem in CLI (#82)
4
+
1
5
  == 0.12.0
2
6
  * Minor Enhancements
3
7
  * Add umask support
data/Rakefile CHANGED
@@ -80,17 +80,7 @@ end
80
80
  #
81
81
  #############################################################################
82
82
 
83
- desc "Upload site to Rubyforge"
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 "Generate the new-style site"
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
@@ -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.
@@ -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
- case PROC_EVENT_NONE:
91
- case PROC_EVENT_EXEC:
92
- case PROC_EVENT_UID:
93
- case PROC_EVENT_GID:
90
+ default:
94
91
  break;
95
92
  }
96
93
  }
@@ -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.0'
7
- s.date = '2012-01-13'
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
@@ -151,7 +151,7 @@ end
151
151
 
152
152
  module God
153
153
  # The String version number for this package.
154
- VERSION = '0.12.0'
154
+ VERSION = '0.12.1'
155
155
 
156
156
  # The Integer number of lines of backlog to keep for the logger.
157
157
  LOG_BUFFER_SIZE_DEFAULT = 100
@@ -60,7 +60,7 @@ module God
60
60
  # output response
61
61
  unless affected.empty?
62
62
  puts 'The following tasks were affected:'
63
- names.each do |w|
63
+ affected.each do |w|
64
64
  puts ' ' + w
65
65
  end
66
66
  end
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: 47
4
+ hash: 45
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 12
9
- - 0
10
- version: 0.12.0
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-13 00:00:00 -08:00
20
+ date: 2012-01-21 00:00:00 -08:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency