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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 830c9d3efc0d75b127a845f9598ae5c1059de586
4
- data.tar.gz: 1dda7e6c8f4de27b0443f8a686ec251251ac40da
3
+ metadata.gz: a8b54fddb15d1859af7c94fe4dc95d34af40e876
4
+ data.tar.gz: 90eda7e0a364e1e1ef1e887a7c74324c3c6cecd0
5
5
  SHA512:
6
- metadata.gz: 967d992a2f7d569ba91881649d7acdc8a9782ec3ee0a992d5eee4b4ab999b786189b6c5b33f530c63ca6bb4cc42ac0ddf22b0061da0c6dd656c28fd71594c40f
7
- data.tar.gz: 43a7eb4409820f3b031f9bb5684c60787e755862c1cf249d66bf9a35e1b48e35dc383b74983838091463abca4c5bd154a9cef8fed4234e81ecefbf08c612dcb2
6
+ metadata.gz: c8197313239e459ed3f37c86e1445b5799cc899e53bbde54408cf2f51a730195674c5fb0e2ca614d926ceaaa928b3085a40762ff79542a8177eec00e22e1d284
7
+ data.tar.gz: fdd6b229cb07839741bbe9612c18ef84b856f9dea72d7cc35ed5224d254e94db285025599015ea2c2cbe80df5282a9a05b10671c8576ba656d5f1f99aced7caf
@@ -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:
@@ -28,7 +28,7 @@ module Puma
28
28
 
29
29
  "QUERY_STRING".freeze => "",
30
30
  SERVER_PROTOCOL => HTTP_11,
31
- SERVER_SOFTWARE => PUMA_VERSION,
31
+ SERVER_SOFTWARE => PUMA_SERVER_STRING,
32
32
  GATEWAY_INTERFACE => CGI_VER
33
33
  }
34
34
 
@@ -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.0".freeze
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
@@ -361,12 +361,14 @@ module Puma
361
361
  log "*** SIGUSR2 not implemented, signal based restart unavailable!"
362
362
  end
363
363
 
364
- begin
365
- Signal.trap "SIGUSR1" do
366
- phased_restart
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
@@ -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
- "#{RUBY_ENGINE} #{RUBY_VERSION}"
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.0
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-06 00:00:00.000000000 Z
11
+ date: 2016-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc