unicorn 5.5.0 → 5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Documentation/unicorn_rails.1.txt +5 -7
- data/GIT-VERSION-FILE +1 -1
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +1 -1
- data/ISSUES +0 -8
- data/LATEST +22 -29
- data/NEWS +23 -0
- data/bin/unicorn_rails +2 -2
- data/lib/unicorn.rb +3 -0
- data/lib/unicorn/version.rb +1 -1
- data/man/man1/unicorn_rails.1 +5 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0ccf5d1fa9326ffe756484e343d135b31e82f02260901e12effb9675a94e9bb
|
4
|
+
data.tar.gz: c273ee8cc51bdad405c8c35f814b66bd7c571b9e50947e9cf974c10a8f55107f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e3efff490b9b3ed6ce63ae9a179abb1f1199f7fd0a6799a71b3e6124e1ea9c64096eafd40039a6d485e47c9b1ccd77d3479c098c04935048101bf2c02dcad9e
|
7
|
+
data.tar.gz: 7a7f7ce0fbb2295882b13e641522b112cc8a4b60a767219fdf4734487b329e8ffc45bde32e96b7064b62738ebf20ee8b9324473542d8ef2eb4bd14eac7de3f91
|
@@ -12,14 +12,12 @@ unicorn_rails [-c CONFIG_FILE] [-E RAILS_ENV] [-D] [RACKUP_FILE]
|
|
12
12
|
|
13
13
|
# DESCRIPTION
|
14
14
|
|
15
|
-
A rackup(1)-like command to launch Rails
|
16
|
-
|
17
|
-
|
15
|
+
A rackup(1)-like command to launch ancient Rails (2.x and earlier)
|
16
|
+
applications using Unicorn. Rails 3 (and later) support Rack natively,
|
17
|
+
so users are encouraged to use unicorn(1) instead of unicorn_rails(1).
|
18
18
|
|
19
|
-
It is
|
20
|
-
|
21
|
-
to use unicorn(1) instead of unicorn_rails(1). Users of Rails 1.x/2.y
|
22
|
-
may also use unicorn(1) instead of unicorn_rails(1).
|
19
|
+
It is expected to be started in your Rails application root (RAILS_ROOT),
|
20
|
+
but the "working_directory" directive may be used in the CONFIG_FILE.
|
23
21
|
|
24
22
|
The outward interface resembles rackup(1), the internals and default
|
25
23
|
middleware loading is designed like the `script/server` command
|
data/GIT-VERSION-FILE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
GIT_VERSION = 5.5.
|
1
|
+
GIT_VERSION = 5.5.1
|
data/GIT-VERSION-GEN
CHANGED
data/GNUmakefile
CHANGED
@@ -175,7 +175,7 @@ doc: .document $(ext)/unicorn_http.c man html .olddoc.yml $(PLACEHOLDERS)
|
|
175
175
|
find bin lib -type f -name '*.rbc' -exec rm -f '{}' ';'
|
176
176
|
$(RM) -r doc
|
177
177
|
$(OLDDOC) prepare
|
178
|
-
$(RDOC) -f
|
178
|
+
$(RDOC) -f dark216
|
179
179
|
$(OLDDOC) merge
|
180
180
|
install -m644 COPYING doc/COPYING
|
181
181
|
install -m644 NEWS.atom.xml doc/NEWS.atom.xml
|
data/ISSUES
CHANGED
@@ -94,11 +94,3 @@ Or Atom feeds:
|
|
94
94
|
The HTML archives at https://bogomips.org/unicorn-public/
|
95
95
|
also has links to per-thread Atom feeds and downloadable
|
96
96
|
mboxes.
|
97
|
-
|
98
|
-
You may optionally subscribe via plain-text email:
|
99
|
-
|
100
|
-
mailto:unicorn-public+subscribe@bogomips.org
|
101
|
-
(and confirming the auto-reply)
|
102
|
-
|
103
|
-
Just keep in mind we suck at delivering email, so using NNTP,
|
104
|
-
or Atom feeds might be a better bet...
|
data/LATEST
CHANGED
@@ -1,30 +1,23 @@
|
|
1
|
-
=== unicorn 5.5.0
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
deduplicate strings VM-wide in Ruby 2.5+
|
24
|
-
doc/ISSUES: add links to git clone-able mail archives of our dependencies
|
25
|
-
README: minor updates and additional disclaimer
|
26
|
-
|
27
|
-
Jeremy Evans (2):
|
28
|
-
Make Worker#user support different process primary group and log file group
|
29
|
-
Support default_middleware configuration option
|
1
|
+
=== unicorn 5.5.0 / 2019-03-04 00:41 UTC
|
2
|
+
|
3
|
+
Mostly identical to 5.5.0.pre1, which I didn't hear any feedback
|
4
|
+
from:
|
5
|
+
|
6
|
+
https://bogomips.org/unicorn-public/20181220222842.GA27382@dcvr/
|
7
|
+
|
8
|
+
> Jeremy Evans contributed the "default_middleware" configuration option:
|
9
|
+
>
|
10
|
+
> https://bogomips.org/unicorn-public/20180913192055.GD48926@jeremyevans.local/
|
11
|
+
>
|
12
|
+
> Jeremy also contributed the ability to use separate groups for the process
|
13
|
+
> and log files:
|
14
|
+
>
|
15
|
+
> https://bogomips.org/unicorn-public/20180913192449.GE48926@jeremyevans.local/
|
16
|
+
>
|
17
|
+
> There's also a couple of uninteresting minor optimizations and
|
18
|
+
> documentation additions.
|
19
|
+
|
20
|
+
Otherwise, there's one extra change to use
|
21
|
+
rb_gc_register_mark_object which is finally a documented part of
|
22
|
+
the Ruby C-API, but has existed since the 1.9 days.
|
30
23
|
|
data/NEWS
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
=== unicorn 5.5.0 / 2019-03-04 00:41 UTC
|
2
|
+
|
3
|
+
Mostly identical to 5.5.0.pre1, which I didn't hear any feedback
|
4
|
+
from:
|
5
|
+
|
6
|
+
https://bogomips.org/unicorn-public/20181220222842.GA27382@dcvr/
|
7
|
+
|
8
|
+
> Jeremy Evans contributed the "default_middleware" configuration option:
|
9
|
+
>
|
10
|
+
> https://bogomips.org/unicorn-public/20180913192055.GD48926@jeremyevans.local/
|
11
|
+
>
|
12
|
+
> Jeremy also contributed the ability to use separate groups for the process
|
13
|
+
> and log files:
|
14
|
+
>
|
15
|
+
> https://bogomips.org/unicorn-public/20180913192449.GE48926@jeremyevans.local/
|
16
|
+
>
|
17
|
+
> There's also a couple of uninteresting minor optimizations and
|
18
|
+
> documentation additions.
|
19
|
+
|
20
|
+
Otherwise, there's one extra change to use
|
21
|
+
rb_gc_register_mark_object which is finally a documented part of
|
22
|
+
the Ruby C-API, but has existed since the 1.9 days.
|
23
|
+
|
1
24
|
=== unicorn 5.5.0.pre1 / 2018-12-20 20:11 UTC
|
2
25
|
|
3
26
|
Jeremy Evans contributed the "default_middleware" configuration option:
|
data/bin/unicorn_rails
CHANGED
@@ -132,11 +132,11 @@ def rails_builder(ru, op, daemonize)
|
|
132
132
|
|
133
133
|
# this lambda won't run until after forking if preload_app is false
|
134
134
|
# this runs after config file reloading
|
135
|
-
lambda do
|
135
|
+
lambda do |x, server|
|
136
136
|
# Rails 3 includes a config.ru, use it if we find it after
|
137
137
|
# working_directory is bound.
|
138
138
|
::File.exist?('config.ru') and
|
139
|
-
return Unicorn.builder('config.ru', op).call
|
139
|
+
return Unicorn.builder('config.ru', op).call(x, server)
|
140
140
|
|
141
141
|
# Load Rails and (possibly) the private version of Rack it bundles.
|
142
142
|
begin
|
data/lib/unicorn.rb
CHANGED
@@ -123,6 +123,9 @@ def self.pipe # :nodoc:
|
|
123
123
|
io.fcntl(F_SETPIPE_SZ, Raindrops::PAGE_SIZE)
|
124
124
|
rescue Errno::EINVAL
|
125
125
|
# old kernel
|
126
|
+
rescue Errno::EPERM
|
127
|
+
# resizes fail if Linux is close to the pipe limit for the user
|
128
|
+
# or if the user does not have permissions to resize
|
126
129
|
end
|
127
130
|
end
|
128
131
|
end
|
data/lib/unicorn/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Unicorn::Const::UNICORN_VERSION = '5.5.
|
1
|
+
Unicorn::Const::UNICORN_VERSION = '5.5.1'
|
data/man/man1/unicorn_rails.1
CHANGED
@@ -10,18 +10,15 @@ unicorn_rails \- unicorn launcher for Rails 1.x and 2.x users
|
|
10
10
|
unicorn_rails [\-c CONFIG_FILE] [\-E RAILS_ENV] [\-D] [RACKUP_FILE]
|
11
11
|
.SH DESCRIPTION
|
12
12
|
.PP
|
13
|
-
A rackup(1)\-like command to launch Rails
|
13
|
+
A rackup(1)\-like command to launch ancient Rails (2.x and earlier)
|
14
|
+
applications using Unicorn.
|
15
|
+
Rails 3 (and later) support Rack natively, so users are encouraged to
|
16
|
+
use unicorn(1) instead of unicorn_rails(1).
|
17
|
+
.PP
|
14
18
|
It is expected to be started in your Rails application root
|
15
19
|
(RAILS_ROOT), but the "working_directory" directive may be used in the
|
16
20
|
CONFIG_FILE.
|
17
21
|
.PP
|
18
|
-
It is designed to help Rails 1.x and 2.y users transition to Rack, but
|
19
|
-
it is NOT needed for Rails 3 applications.
|
20
|
-
Rails 3 users are encouraged to use unicorn(1) instead of
|
21
|
-
unicorn_rails(1).
|
22
|
-
Users of Rails 1.x/2.y may also use unicorn(1) instead of
|
23
|
-
unicorn_rails(1).
|
24
|
-
.PP
|
25
22
|
The outward interface resembles rackup(1), the internals and default
|
26
23
|
middleware loading is designed like the \f[C]script/server\f[] command
|
27
24
|
distributed with Rails.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- unicorn hackers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|