einhorn 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/Changes.md +6 -1
- data/README.md +2 -2
- data/einhorn.gemspec +2 -2
- data/lib/einhorn/command.rb +0 -1
- data/lib/einhorn/event/abstract_text_descriptor.rb +1 -1
- data/lib/einhorn/event.rb +1 -1
- data/lib/einhorn/version.rb +1 -1
- metadata +19 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1c281da283b0ee43ed8cbaeddb906c1804a28a4cbbbb48fd6d7ec9840491a6
|
4
|
+
data.tar.gz: 18642e07afb648a5d00e0b9006f9331496353ca719928a50a2c1cf340372c6cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7660f7388e99b82efb48444ffeebfc776b3a3df2f51a4f87e56b85381cbe1993958601dd2c24a88438755074952c6b326ce1ba895d1c769924e028ca98b90bff
|
7
|
+
data.tar.gz: 876641c4e3e32668aca676c0636786c2dfd2ed1d4d0cc5b9fc33bf01c9d1c6c60d128719deb7a98f20432fbd7982069bdc8cb52bff59b7a73a6dbf7379f09973
|
data/Changes.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# 1.0.1
|
2
|
+
|
3
|
+
- Add `fiddle` to gemspec dependencies [#111]
|
4
|
+
— Minor formatting and removing dead code
|
5
|
+
|
1
6
|
# 1.0.0
|
2
7
|
|
3
8
|
- Use `YAML.safe_load` for compatibility with Ruby 3.1+ [#102]
|
@@ -7,4 +12,4 @@
|
|
7
12
|
- Drop support for Rubies below 2.5.
|
8
13
|
|
9
14
|
Einhorn is now owned and actively maintained by Mike Perham of Contributed Systems.
|
10
|
-
Thank you to the Stripe developers who wrote Einhorn and maintained it to this point.
|
15
|
+
Thank you to the Stripe developers who wrote Einhorn and maintained it to this point.
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ To set Einhorn up as a master process running 3 copies of `sleep 5`:
|
|
43
43
|
You can communicate your running Einhorn process via `einhornsh`:
|
44
44
|
|
45
45
|
$ einhornsh
|
46
|
-
Welcome
|
46
|
+
Welcome! You are speaking to Einhorn Master Process 11902
|
47
47
|
Enter 'help' if you're not sure what to do.
|
48
48
|
|
49
49
|
Type "quit" or "exit" to quit at any time
|
@@ -227,7 +227,7 @@ want to use its HTTP functionality. So Einhorn was born, providing the
|
|
227
227
|
master process functionality of Unicorn (and similar preforking
|
228
228
|
servers) to a wider array of applications.
|
229
229
|
|
230
|
-
|
230
|
+
Read more background at [Meet Einhorn](https://web.archive.org/web/20210507145921/https://stripe.com/blog/meet-einhorn).
|
231
231
|
|
232
232
|
Stripe currently uses Einhorn in production for a number of
|
233
233
|
services. You can use Conrad Irwin's thin-attach_socket gem along with
|
data/einhorn.gemspec
CHANGED
@@ -10,7 +10,6 @@ Gem::Specification.new do |gem|
|
|
10
10
|
|
11
11
|
gem.files = ["einhorn.gemspec", "README.md", "Changes.md", "LICENSE.txt"] + `git ls-files bin lib example`.split("\n")
|
12
12
|
gem.executables = %w[einhorn einhornsh]
|
13
|
-
gem.test_files = []
|
14
13
|
gem.name = "einhorn"
|
15
14
|
gem.require_paths = ["lib"]
|
16
15
|
gem.required_ruby_version = ">= 2.5.0"
|
@@ -24,6 +23,7 @@ Gem::Specification.new do |gem|
|
|
24
23
|
|
25
24
|
gem.add_development_dependency "rake", "~> 13"
|
26
25
|
gem.add_development_dependency "minitest", "~> 5"
|
27
|
-
gem.add_development_dependency "mocha", "~>
|
26
|
+
gem.add_development_dependency "mocha", "~> 2"
|
28
27
|
gem.add_development_dependency "subprocess", "~> 1"
|
28
|
+
gem.add_dependency "fiddle", "~> 1.1"
|
29
29
|
end
|
data/lib/einhorn/command.rb
CHANGED
data/lib/einhorn/event.rb
CHANGED
data/lib/einhorn/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: einhorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
- Mike Perham
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-04-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
@@ -45,14 +44,14 @@ dependencies:
|
|
45
44
|
requirements:
|
46
45
|
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
47
|
+
version: '2'
|
49
48
|
type: :development
|
50
49
|
prerelease: false
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
52
|
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
54
|
+
version: '2'
|
56
55
|
- !ruby/object:Gem::Dependency
|
57
56
|
name: subprocess
|
58
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,6 +66,20 @@ dependencies:
|
|
67
66
|
- - "~>"
|
68
67
|
- !ruby/object:Gem::Version
|
69
68
|
version: '1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: fiddle
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
70
83
|
description: Einhorn makes it easy to run multiple instances of an application server,
|
71
84
|
all listening on the same port. You can also seamlessly restart your workers without
|
72
85
|
dropping any requests. Einhorn requires minimal application-level support, making
|
@@ -116,7 +129,6 @@ metadata:
|
|
116
129
|
bug_tracker_uri: https://github.com/contribsys/einhorn/issues
|
117
130
|
documentation_uri: https://github.com/contribsys/einhorn/wiki
|
118
131
|
changelog_uri: https://github.com/contribsys/einhorn/blob/main/Changes.md
|
119
|
-
post_install_message:
|
120
132
|
rdoc_options: []
|
121
133
|
require_paths:
|
122
134
|
- lib
|
@@ -131,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
143
|
- !ruby/object:Gem::Version
|
132
144
|
version: '0'
|
133
145
|
requirements: []
|
134
|
-
rubygems_version: 3.2
|
135
|
-
signing_key:
|
146
|
+
rubygems_version: 3.6.2
|
136
147
|
specification_version: 4
|
137
148
|
summary: 'Einhorn: the language-independent shared socket manager'
|
138
149
|
test_files: []
|