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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd667f4be1193acbc7a84148f9b993a3618d40a6
4
- data.tar.gz: c108707140d918a74f59b31de2a6fcfa818f5768
3
+ metadata.gz: 013549c1c74b323e15771e89b2c1c0c27cdf53ad
4
+ data.tar.gz: 40fa22c3cfe076d1d8477029c292de4834a0f8a5
5
5
  SHA512:
6
- metadata.gz: 4510ea74d1d6588cd34cb0c1b9d7283bb37fbead2722f11eae592867cc387e1ea432eac6f93125551026596bd394a78365486c24bd4cfb4273548fec65df1a8c
7
- data.tar.gz: 2a7b31a4d8a65ecdceb3e183bbdbbee3155a636c91263d527c8089e3f39f589d6f3d3b40af083781531d67c6877a4a5dfaf335bc7b8965d1a86111ad8fb82acf
6
+ metadata.gz: c11697e44440b4f4572d4298d23f66e9cebd2f396e971b3ec6d1706988f63914b015876451783cf11fef7051d0e1003fc8d276ba28a8e61674491389df0b5699
7
+ data.tar.gz: 4e9a1422eeb368be02f8a43cbe9969e0a9f44213de3eb1fa41d913c0c6d536c75deecd8f6df046510e4b265476127c8ea5a0818c789365b888bc1d1520bd7692
@@ -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
Binary file
@@ -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: java
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
  requirement: !ruby/object:Gem::Requirement