puma 3.7.0-java → 3.7.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: 3f271f2efd0ff7b8b3c443d4814c3ea279b2bb9e
4
- data.tar.gz: 7c0db5969b785e24a2641193e83f57c43e590bb1
3
+ metadata.gz: 180128e31be6cc2343149d33cb9d66866989f986
4
+ data.tar.gz: f21f8d1a2e14c563fdd241f5c57f5ff49da6d013
5
5
  SHA512:
6
- metadata.gz: 313789ebf7d084752664e837eb8cbfdfaf2bebcef93e1ce0ac84412be047d18ca18fe608e648da8b1f8ff70032a89de9b3c64d13e629c0848dcc12bdea04a224
7
- data.tar.gz: ceb08309ae5a9de9247545d572fddfa43be12845b506ad2f8156069dd213d11f701b74e031b62b5649c7660a241841a6620bf2493e9c73523f446122c332e886
6
+ metadata.gz: 298bb1d1f186e3b618358daf4a4a5525946b3081e6c82f2cee87c03b8b4770c884f42b5d063ce06f2d55c77ab2ce65ed227648a05ab6e26b24422511bff36a3a
7
+ data.tar.gz: 9b508d7efd5718744cee7d105250f04715f280a20757f52004daefd5821de867994df2528a694feadcdbb6399f411f2ab1a021df806b088c62645100e0f1bce7
@@ -0,0 +1,20 @@
1
+ ### Steps to reproduce
2
+
3
+ 1) ...
4
+
5
+ 2) ...
6
+
7
+ 3) ...
8
+
9
+ ### Expected behavior
10
+
11
+ Tell us what should happen ...
12
+
13
+ ### Actual behavior
14
+
15
+ Tell us what happens instead ...
16
+
17
+ ### System configuration
18
+
19
+ **Ruby version**:
20
+ **Rails version**:
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 3.7.1 / 2017-02-20
2
+
3
+ * 2 bugfixes:
4
+ * Fix typo which blew up MiniSSL (#1182)
5
+ * Stop overriding command-line options with the config file (#1203)
6
+
1
7
  ## 3.7.0 / 2017-01-04
2
8
 
3
9
  * 6 minor features:
@@ -1,3 +1,4 @@
1
+ .github/issue_template.md
1
2
  DEPLOYMENT.md
2
3
  Gemfile
3
4
  History.md
@@ -25,6 +26,7 @@ ext/puma_http11/org/jruby/puma/Http11.java
25
26
  ext/puma_http11/org/jruby/puma/Http11Parser.java
26
27
  ext/puma_http11/org/jruby/puma/MiniSSL.java
27
28
  ext/puma_http11/puma_http11.c
29
+ gemfiles/2.1-Gemfile
28
30
  lib/puma.rb
29
31
  lib/puma/accept_nonblock.rb
30
32
  lib/puma/app/status.rb
@@ -0,0 +1,12 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "hoe"
4
+ gem "hoe-git"
5
+ gem "hoe-ignore"
6
+ gem "rdoc"
7
+ gem "rake-compiler"
8
+
9
+ gem "rack", "~> 1.6"
10
+ gem "minitest", '~> 5.9'
11
+
12
+ gem "jruby-openssl", :platform => "jruby"
@@ -299,7 +299,7 @@ module Puma
299
299
 
300
300
  if host == "localhost"
301
301
  localhost_addresses.each do |addr|
302
- add_ssl_listener addr, port, optimize_for_latency, backlog
302
+ add_ssl_listener addr, port, ctx, optimize_for_latency, backlog
303
303
  end
304
304
  return
305
305
  end
@@ -30,6 +30,11 @@ module Puma
30
30
  @set << @cur
31
31
  end
32
32
 
33
+ def reverse_shift
34
+ @cur = {}
35
+ @set.unshift(@cur)
36
+ end
37
+
33
38
  def [](key)
34
39
  @set.reverse_each do |o|
35
40
  if o.key? key
@@ -201,10 +206,11 @@ module Puma
201
206
  end
202
207
 
203
208
  files.each do |f|
204
- @options.shift
209
+ @options.reverse_shift
205
210
 
206
211
  DSL.load @options, self, f
207
212
  end
213
+ @options.shift
208
214
  end
209
215
 
210
216
  # Call once all configuration (included from rackup files)
@@ -95,7 +95,7 @@ module Puma
95
95
  # too taxing on performance.
96
96
  module Const
97
97
 
98
- PUMA_VERSION = VERSION = "3.7.0".freeze
98
+ PUMA_VERSION = VERSION = "3.7.1".freeze
99
99
  CODE_NAME = "Snowy Sagebrush".freeze
100
100
  PUMA_SERVER_STRING = ['puma', PUMA_VERSION, CODE_NAME].join(' ').freeze
101
101
 
Binary file
@@ -8,6 +8,10 @@ if [ -d "$HOME/.rbenv/bin" ]; then
8
8
  elif [ -d "/usr/local/rbenv/bin" ]; then
9
9
  PATH="/usr/local/rbenv/bin:/usr/local/rbenv/shims:$PATH"
10
10
  eval "$(rbenv init -)"
11
+ elif [ -f /usr/local/rvm/scripts/rvm ]; then
12
+ source /etc/profile.d/rvm.sh
13
+ elif [ -f "$HOME/.rvm/scripts/rvm" ]; then
14
+ source "$HOME/.rvm/scripts/rvm"
11
15
  fi
12
16
 
13
17
  app=$1; config=$2; log=$3;
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.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: 2017-01-28 00:00:00.000000000 Z
11
+ date: 2017-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- requirement: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - "~>"
17
- - !ruby/object:Gem::Version
18
- version: '4.0'
19
- name: rdoc
20
- prerelease: false
21
- type: :development
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '4.0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  requirement: !ruby/object:Gem::Requirement
29
15
  requirements:
@@ -63,7 +49,21 @@ dependencies:
63
49
  requirements:
64
50
  - - "~>"
65
51
  - !ruby/object:Gem::Version
66
- version: '3.14'
52
+ version: '4.0'
53
+ name: rdoc
54
+ prerelease: false
55
+ type: :development
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '4.0'
61
+ - !ruby/object:Gem::Dependency
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.15'
67
67
  name: hoe
68
68
  prerelease: false
69
69
  type: :development
@@ -71,7 +71,7 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '3.14'
74
+ version: '3.15'
75
75
  description: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. In order to get the best throughput, it is highly recommended that you use a Ruby implementation with real threads like Rubinius or JRuby.
76
76
  email:
77
77
  - evan@phx.io
@@ -80,6 +80,7 @@ executables:
80
80
  - pumactl
81
81
  extensions: []
82
82
  extra_rdoc_files:
83
+ - ".github/issue_template.md"
83
84
  - DEPLOYMENT.md
84
85
  - History.md
85
86
  - Manifest.txt
@@ -91,6 +92,7 @@ extra_rdoc_files:
91
92
  - tools/jungle/init.d/README.md
92
93
  - tools/jungle/upstart/README.md
93
94
  files:
95
+ - ".github/issue_template.md"
94
96
  - DEPLOYMENT.md
95
97
  - Gemfile
96
98
  - History.md
@@ -118,6 +120,7 @@ files:
118
120
  - ext/puma_http11/org/jruby/puma/Http11Parser.java
119
121
  - ext/puma_http11/org/jruby/puma/MiniSSL.java
120
122
  - ext/puma_http11/puma_http11.c
123
+ - gemfiles/2.1-Gemfile
121
124
  - lib/puma.rb
122
125
  - lib/puma/accept_nonblock.rb
123
126
  - lib/puma/app/status.rb