godhead 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
@@ -3,23 +3,19 @@ module Godhead
3
3
  DEFAULT_OPTIONS = {
4
4
  :default_interval => 180.seconds,
5
5
  :port => 3000,
6
- :thin_port_offset => 3000,
7
6
  :runner_path => '/usr/bin/thin', # path to thin. Override this in the site config file.
8
7
  :runner_conf => nil,
9
- :pid_file => nil,
8
+ :pid_dir => nil
10
9
  }
11
10
  def self.default_options() super.deep_merge(DEFAULT_OPTIONS) ; end
12
11
 
13
12
  # Call the thin runner script
14
13
  def tell_runner action
15
14
  [
16
- options[:runner_path],
17
- "--config=#{options[:runner_conf]}",
18
- "--rackup=#{options[:rackup_file]}",
19
- "--port=#{ options[:port]}",
20
- "--pid=#{pid_file}",
21
- # "--only=#{options[:port].to_i - options[:thin_port_offset].to_i}",
22
- action
15
+ options[:runner_path],
16
+ action,
17
+ "--config=#{options[:runner_conf]}",
18
+ "--only=#{options[:port]}"
23
19
  ].flatten.compact.join(" ")
24
20
  end
25
21
  def start_command() tell_runner :start end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godhead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ hash: 13
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 9
10
+ version: 0.0.9
5
11
  platform: ruby
6
12
  authors:
7
13
  - Philip (flip) Kromer, Dhruv Bansal, Carl Knutson
@@ -9,49 +15,65 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-07-01 00:00:00 -05:00
18
+ date: 2010-08-09 00:00:00 -05:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: yard
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
23
32
  version: "0"
24
- version:
33
+ type: :development
34
+ version_requirements: *id001
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: rspec
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
30
40
  requirements:
31
41
  - - ">="
32
42
  - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
33
46
  version: "0"
34
- version:
47
+ type: :development
48
+ version_requirements: *id002
35
49
  - !ruby/object:Gem::Dependency
36
50
  name: god
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
40
54
  requirements:
41
55
  - - ">="
42
56
  - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
43
60
  version: "0"
44
- version:
61
+ type: :runtime
62
+ version_requirements: *id003
45
63
  - !ruby/object:Gem::Dependency
46
64
  name: activesupport
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ none: false
50
68
  requirements:
51
69
  - - ">="
52
70
  - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
53
74
  version: "0"
54
- version:
75
+ type: :runtime
76
+ version_requirements: *id004
55
77
  description: Configure God monitored processes according to their concerns the servers (path and so forth), site policy (number, ports, etc), and notification (email groups, mailserver, etc).
56
78
  email: coders@infochimps.org
57
79
  executables: []
@@ -109,21 +131,27 @@ rdoc_options:
109
131
  require_paths:
110
132
  - lib
111
133
  required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
112
135
  requirements:
113
136
  - - ">="
114
137
  - !ruby/object:Gem::Version
138
+ hash: 3
139
+ segments:
140
+ - 0
115
141
  version: "0"
116
- version:
117
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
118
144
  requirements:
119
145
  - - ">="
120
146
  - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
121
150
  version: "0"
122
- version:
123
151
  requirements: []
124
152
 
125
153
  rubyforge_project:
126
- rubygems_version: 1.3.5
154
+ rubygems_version: 1.3.7
127
155
  signing_key:
128
156
  specification_version: 3
129
157
  summary: God recipes that separate configuration for processes, site policy and notifications; comes with many examples