einhorn 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/einhorn.gemspec +1 -1
- data/lib/einhorn/command/interface.rb +5 -2
- data/lib/einhorn/version.rb +1 -1
- metadata +6 -7
- data/History.txt +0 -19
data/einhorn.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
|
17
17
|
gem.add_development_dependency('rake')
|
18
|
-
gem.add_development_dependency('shoulda')
|
18
|
+
gem.add_development_dependency('shoulda', '~> 3.4.0')
|
19
19
|
gem.add_development_dependency('mocha')
|
20
20
|
gem.version = Einhorn::VERSION
|
21
21
|
end
|
@@ -162,8 +162,11 @@ module Einhorn::Command
|
|
162
162
|
Einhorn::Command.stop_respawning
|
163
163
|
exit(1)
|
164
164
|
end
|
165
|
-
trap_async("HUP") {Einhorn::Command.
|
166
|
-
trap_async("ALRM")
|
165
|
+
trap_async("HUP") {Einhorn::Command.full_upgrade}
|
166
|
+
trap_async("ALRM") do
|
167
|
+
Einhorn.log_error("Upgrading using SIGALRM is deprecated. Please switch to SIGHUP")
|
168
|
+
Einhorn::Command.full_upgrade
|
169
|
+
end
|
167
170
|
trap_async("CHLD") {}
|
168
171
|
trap_async("USR2") do
|
169
172
|
Einhorn::Command.signal_all("USR2", Einhorn::WorkerPool.workers)
|
data/lib/einhorn/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: einhorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
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-
|
12
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -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:
|
37
|
+
version: 3.4.0
|
38
38
|
type: :development
|
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:
|
45
|
+
version: 3.4.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: mocha
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,6 @@ files:
|
|
74
74
|
- .gitignore
|
75
75
|
- .travis.yml
|
76
76
|
- Gemfile
|
77
|
-
- History.txt
|
78
77
|
- LICENSE
|
79
78
|
- README.md
|
80
79
|
- README.md.in
|
data/History.txt
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
=== 0.4.1 2012-09-27
|
2
|
-
|
3
|
-
* Handle a nil argument to Einhorn::Worker.socket
|
4
|
-
|
5
|
-
=== 0.4.0 2012-09-26
|
6
|
-
|
7
|
-
* Switch the command-socket protocol from line-oriented JSON to
|
8
|
-
line-oriented YAML. If you've written your own client to communicate
|
9
|
-
with the einhorn command-socket, you will need to update it. (The
|
10
|
-
bundled einhorn/client is already updated.)
|
11
|
-
* Have the 'state' command return a YAML'd state rather than a #pretty_inspect'd
|
12
|
-
state
|
13
|
-
* Made einhornsh script-friendly
|
14
|
-
* Switched over to address specification via -b option and environment variables;
|
15
|
-
deprecated but didn't remove old interface.
|
16
|
-
* Allow einhorn to signal a given worker multiple times
|
17
|
-
* Add 'signal' and 'die' commands to Einhornsh
|
18
|
-
* Add exponential backoff to spinup if new processes are dying before being acked
|
19
|
-
* Add last_upgraded field to State
|