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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c37db62d1e413297803b2fac9be18b752b80b0068eeeafd1027eb2eae2a693c2
4
- data.tar.gz: 0af88fc316857d8e0c4bc899de3d7994f54a01e5a9a8a25ad5a721cc669d6bf9
3
+ metadata.gz: c0ccf5d1fa9326ffe756484e343d135b31e82f02260901e12effb9675a94e9bb
4
+ data.tar.gz: c273ee8cc51bdad405c8c35f814b66bd7c571b9e50947e9cf974c10a8f55107f
5
5
  SHA512:
6
- metadata.gz: 5788c3a37e65de0dbc12735f72af22a27638ada89f05c3e2904171662fd72ba3ef42d01efd3aa3bd8c3324a90c2b3b11fbd27835b7c8f32969b923a66dae9e65
7
- data.tar.gz: 19928922c0e6068b4818d2111f9f0e47ffe071c22c68deb23c67a29c787c9e0f5e1e17d503c56b2e01f885aa9329ca04e5e7829ccf28e3d7cec14907f9b20736
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 applications using Unicorn. It
16
- is expected to be started in your Rails application root (RAILS_ROOT),
17
- but the "working_directory" directive may be used in the CONFIG_FILE.
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 designed to help Rails 1.x and 2.y users transition to Rack, but
20
- it is NOT needed for Rails 3 applications. Rails 3 users are encouraged
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.0
1
+ GIT_VERSION = 5.5.1
data/GIT-VERSION-GEN CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- DEF_VER = "v5.5.0"
2
+ DEF_VER = "v5.5.1"
3
3
  CONSTANT = "Unicorn::Const::UNICORN_VERSION"
4
4
  RVF = "lib/unicorn/version.rb"
5
5
  GVF = "GIT-VERSION-FILE"
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 oldweb
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.pre1 / 2018-12-20 20:11 UTC
2
-
3
- Jeremy Evans contributed the "default_middleware" configuration option:
4
-
5
- https://bogomips.org/unicorn-public/20180913192055.GD48926@jeremyevans.local/
6
-
7
- Jeremy also contributed the ability to use separate groups for the process
8
- and log files:
9
-
10
- https://bogomips.org/unicorn-public/20180913192449.GE48926@jeremyevans.local/
11
-
12
- There's also a couple of uninteresting minor optimizations and
13
- documentation additions.
14
-
15
- Eric Wong (10):
16
- remove random seed reset atfork
17
- use IO#wait instead of kgio_wait_readable
18
- Merge branch '5.4-stable'
19
- shrink pipes under Linux
20
- socket_helper: add hint for FreeBSD users for accf_http(9)
21
- tests: ensure -N/--no-default-middleware not supported in config.ru
22
- doc: update more URLs to use HTTPS and avoid redirects
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
@@ -1 +1 @@
1
- Unicorn::Const::UNICORN_VERSION = '5.5.0'
1
+ Unicorn::Const::UNICORN_VERSION = '5.5.1'
@@ -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 applications using Unicorn.
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.0
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-03-04 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack