unicorn-lockdown 0.11.0 → 0.12.0
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/CHANGELOG +4 -0
- data/lib/unicorn-lockdown.rb +9 -2
- 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: 24ec67b0fb4c2a47aea2652b30a1b99973226d379492fff1a87c1aef3dba5038
|
|
4
|
+
data.tar.gz: 84ecb2a8a3a97929e4fc6c960eaee2cab8df0c9f784297e6a3b11ff00c8044f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 866fcee1a554851025331f856fcb47e3f77f53967a79abda8fc89fd9ead7fd2c390f090338dc3a3047dca22d2b8e7f87595fe5dbc509e5636d825e56c0670544
|
|
7
|
+
data.tar.gz: bbec6a5aa7159b05ef7995ca56235f3c08cc001c1fbf6593d2ec1f2c99db457b2d998b01d866f1223b14c58e03e68bef348b0c8e0bbcf213ae38021a3d6da18a
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
= 0.12.0 (2019-04-29)
|
|
2
|
+
|
|
3
|
+
* Do not reference the rack middleware unicorn loads by default if unicorn is set to not load default middleware (jeremyevans)
|
|
4
|
+
|
|
1
5
|
= 0.11.0 (2019-03-18)
|
|
2
6
|
|
|
3
7
|
* Support separate log group and process primary group on Unicorn 5.5.0+ using :group option (jeremyevans)
|
data/lib/unicorn-lockdown.rb
CHANGED
|
@@ -149,12 +149,19 @@ class << Unicorn
|
|
|
149
149
|
Rack::Multipart::Parser
|
|
150
150
|
Rack::Multipart::Generator
|
|
151
151
|
Rack::Multipart::UploadedFile
|
|
152
|
-
Rack::CommonLogger
|
|
153
152
|
Rack::Mime
|
|
154
153
|
Rack::Auth::Digest::Params
|
|
155
|
-
|
|
154
|
+
|
|
155
|
+
# In the development environment, reference all middleware
|
|
156
|
+
# the unicorn will load by default, unless unicorn is
|
|
157
|
+
# set to not load middleware by default.
|
|
158
|
+
if ENV['RACK_ENV'] == 'development' && (!respond_to?(:set) || set[:default_middleware] != false)
|
|
159
|
+
Rack::ContentLength
|
|
160
|
+
Rack::CommonLogger
|
|
161
|
+
Rack::Chunked
|
|
156
162
|
Rack::Lint
|
|
157
163
|
Rack::ShowExceptions
|
|
164
|
+
Rack::TempfileReaper
|
|
158
165
|
end
|
|
159
166
|
|
|
160
167
|
# If using the mail library, eagerly autoload all constants.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: unicorn-lockdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Evans
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pledge
|