puma 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puma might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/History.md +9 -1
- data/lib/puma/const.rb +1 -1
- data/lib/puma/detect.rb +2 -0
- data/lib/puma/launcher.rb +4 -1
- data/lib/rack/handler/puma.rb +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a987a441328b2f8be7f7a147af233c0c41b393b98714ed621e2508dc28819d8
|
4
|
+
data.tar.gz: bc30afa48b1647abf34f6cf362e3374b76a7e25c605f3ed7e5fd1e7c96dad8fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a1a05276e82ffd6d012bc75e6f38c2bf30932cb9cd9a6b73a14d783e012f4b942128a72bf0bb8f9bbf8a0062c03d5df234a6baccbc490a2bb64150f480b531f
|
7
|
+
data.tar.gz: 6127f2e9b3fd82795696ecd8e0f2016b7252f71d86433087c42c826c7d0d1cc8d2ceda8e4243bf99969d96ba261172e39d59e977ba24d5d75225d7707c64f2a9
|
data/History.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
## 6.1.
|
1
|
+
## 6.1.1 / 2023-02-28
|
2
|
+
|
3
|
+
* Bugfixes
|
4
|
+
* We no longer try to use the systemd plugin for JRuby ([#3079])
|
5
|
+
* Allow ::Rack::Handler::Puma.run to work regardless of whether Rack/Rackup are loaded ([#3080])
|
6
|
+
|
7
|
+
## 6.1.0 / 2023-02-12
|
2
8
|
|
3
9
|
* Features
|
4
10
|
* WebSocket support via partial hijack ([#3058], [#3007])
|
@@ -1948,6 +1954,8 @@ be added back in a future date when a java Puma::MiniSSL is added.
|
|
1948
1954
|
* Bugfixes
|
1949
1955
|
* Your bugfix goes here <Most recent on the top, like GitHub> (#Github Number)
|
1950
1956
|
|
1957
|
+
[#3079]:https://github.com/puma/puma/pull/3079 "PR by @mohamedhafez, merged 2023-02-24"
|
1958
|
+
[#3080]:https://github.com/puma/puma/pull/3080 "PR by @MSP-Greg, merged 2023-02-16"
|
1951
1959
|
[#3058]:https://github.com/puma/puma/pull/3058 "PR by @dentarg, merged 2023-01-29"
|
1952
1960
|
[#3007]:https://github.com/puma/puma/issues/3007 "Issue by @MSP-Greg, closed 2023-01-29"
|
1953
1961
|
[#3011]:https://github.com/puma/puma/pull/3011 "PR by @joaomarcos96, merged 2023-01-03"
|
data/lib/puma/const.rb
CHANGED
data/lib/puma/detect.rb
CHANGED
data/lib/puma/launcher.rb
CHANGED
@@ -59,7 +59,10 @@ module Puma
|
|
59
59
|
|
60
60
|
@environment = conf.environment
|
61
61
|
|
62
|
-
if
|
62
|
+
# Load the systemd integration if we detect systemd's NOTIFY_SOCKET.
|
63
|
+
# Skip this on JRuby though, because it is incompatible with the systemd
|
64
|
+
# integration due to https://github.com/jruby/jruby/issues/6504
|
65
|
+
if ENV["NOTIFY_SOCKET"] && !Puma.jruby?
|
63
66
|
@config.plugins.create('systemd')
|
64
67
|
end
|
65
68
|
|
data/lib/rack/handler/puma.rb
CHANGED
@@ -120,7 +120,8 @@ if Object.const_defined? :Rackup
|
|
120
120
|
register :puma, Puma
|
121
121
|
end
|
122
122
|
end
|
123
|
-
|
123
|
+
else
|
124
|
+
do_register = Object.const_defined?(:Rack) && Rack::RELEASE < '3'
|
124
125
|
module Rack
|
125
126
|
module Handler
|
126
127
|
module Puma
|
@@ -128,9 +129,7 @@ elsif Object.const_defined?(:Rack) && Rack::RELEASE < '3'
|
|
128
129
|
include ::Puma::RackHandler
|
129
130
|
end
|
130
131
|
end
|
131
|
-
register :puma, Puma
|
132
132
|
end
|
133
133
|
end
|
134
|
-
|
135
|
-
raise "You must install the rackup gem when using Rack 3"
|
134
|
+
::Rack::Handler.register(:puma, ::Rack::Handler::Puma) if do_register
|
136
135
|
end
|