puma 3.1.0-java → 3.1.1-java
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.txt +13 -0
- data/lib/puma/binder.rb +1 -1
- data/lib/puma/const.rb +4 -2
- data/lib/puma/launcher.rb +7 -5
- data/lib/puma/puma_http11.jar +0 -0
- data/lib/puma/runner.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 013549c1c74b323e15771e89b2c1c0c27cdf53ad
|
4
|
+
data.tar.gz: 40fa22c3cfe076d1d8477029c292de4834a0f8a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c11697e44440b4f4572d4298d23f66e9cebd2f396e971b3ec6d1706988f63914b015876451783cf11fef7051d0e1003fc8d276ba28a8e61674491389df0b5699
|
7
|
+
data.tar.gz: 4e9a1422eeb368be02f8a43cbe9969e0a9f44213de3eb1fa41d913c0c6d536c75deecd8f6df046510e4b265476127c8ea5a0818c789365b888bc1d1520bd7692
|
data/History.txt
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
=== 3.1.1 / 2016-03-17
|
2
|
+
|
3
|
+
* 4 bug fixes:
|
4
|
+
* Disable USR1 usage on JRuby
|
5
|
+
* Fixes #922 - Correctly define file encoding as UTF-8
|
6
|
+
* Set a more explicit SERVER_SOFTWARE Rack variable
|
7
|
+
* Show RUBY_ENGINE_VERSION if available. Fixes #923
|
8
|
+
|
9
|
+
* 3 PRs merged:
|
10
|
+
* Merge pull request #912 from tricknotes/fix-allow-failures-in-travis-yml
|
11
|
+
* Merge pull request #921 from swrobel/patch-1
|
12
|
+
* Merge pull request #924 from tbrisker/patch-1
|
13
|
+
|
1
14
|
=== 3.1.0 / 2016-03-05
|
2
15
|
|
3
16
|
* 1 minor feature:
|
data/lib/puma/binder.rb
CHANGED
data/lib/puma/const.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
#encoding: utf-8
|
1
2
|
module Puma
|
2
3
|
class UnsupportedOption < RuntimeError
|
3
4
|
end
|
@@ -99,9 +100,10 @@ module Puma
|
|
99
100
|
# too taxing on performance.
|
100
101
|
module Const
|
101
102
|
|
102
|
-
PUMA_VERSION = VERSION = "3.1.
|
103
|
+
PUMA_VERSION = VERSION = "3.1.1".freeze
|
103
104
|
CODE_NAME = "El Niño Winter Wonderland".freeze
|
104
|
-
|
105
|
+
PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze
|
106
|
+
|
105
107
|
FAST_TRACK_KA_TIMEOUT = 0.2
|
106
108
|
|
107
109
|
# The default number of seconds for another request within a persistent
|
data/lib/puma/launcher.rb
CHANGED
@@ -361,12 +361,14 @@ module Puma
|
|
361
361
|
log "*** SIGUSR2 not implemented, signal based restart unavailable!"
|
362
362
|
end
|
363
363
|
|
364
|
-
|
365
|
-
|
366
|
-
|
364
|
+
unless Puma.jruby?
|
365
|
+
begin
|
366
|
+
Signal.trap "SIGUSR1" do
|
367
|
+
phased_restart
|
368
|
+
end
|
369
|
+
rescue Exception
|
370
|
+
log "*** SIGUSR1 not implemented, signal based restart unavailable!"
|
367
371
|
end
|
368
|
-
rescue Exception
|
369
|
-
log "*** SIGUSR1 not implemented, signal based restart unavailable!"
|
370
372
|
end
|
371
373
|
|
372
374
|
begin
|
data/lib/puma/puma_http11.jar
CHANGED
Binary file
|
data/lib/puma/runner.rb
CHANGED
@@ -72,7 +72,11 @@ module Puma
|
|
72
72
|
if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
|
73
73
|
"ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
|
74
74
|
else
|
75
|
-
|
75
|
+
if defined?(RUBY_ENGINE_VERSION)
|
76
|
+
"#{RUBY_ENGINE} #{RUBY_ENGINE_VERSION} - ruby #{RUBY_VERSION}"
|
77
|
+
else
|
78
|
+
"#{RUBY_ENGINE} #{RUBY_VERSION}"
|
79
|
+
end
|
76
80
|
end
|
77
81
|
end
|
78
82
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Evan Phoenix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|