puma 3.1.0 → 3.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.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/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: a8b54fddb15d1859af7c94fe4dc95d34af40e876
|
4
|
+
data.tar.gz: 90eda7e0a364e1e1ef1e887a7c74324c3c6cecd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8197313239e459ed3f37c86e1445b5799cc899e53bbde54408cf2f51a730195674c5fb0e2ca614d926ceaaa928b3085a40762ff79542a8177eec00e22e1d284
|
7
|
+
data.tar.gz: fdd6b229cb07839741bbe9612c18ef84b856f9dea72d7cc35ed5224d254e94db285025599015ea2c2cbe80df5282a9a05b10671c8576ba656d5f1f99aced7caf
|
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/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: ruby
|
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
|
name: rdoc
|