puma 3.7.0 → 3.7.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: fc3c48f788e2c231b8c32f2fb614bfe64254d472
4
- data.tar.gz: 15c2ef0421bfbdc5d865ff00120e2a403c10112b
3
+ metadata.gz: 3bc9c71db58f1613d19d40776fec460e6887909d
4
+ data.tar.gz: 21c878d86ea732127745213635b35f438b47369b
5
5
  SHA512:
6
- metadata.gz: 994b8585be5cb983fed367e55fa47b92f433de644c791622f99b47fdc3006469f70d41b73ff6e691be6bd52cc79e55d5d7eb5956eea82cdc978b33a86eb8590f
7
- data.tar.gz: 369f7e8e50ce92734b5d3d53bf2e26b3d1d3a6a0bc9f74f8d0c2f9c9ab9510a17cde417db19b322459184eca874e6997f22fdb930bd543dd88539d174cc6e3e1
6
+ metadata.gz: f60605510ca798f5eba6baca17b95038f3932ae80a656586c5f0f40061b29fbd669d20d7409813b775105495e83acc5f8c524cd45249e2e251c88c723a5ab756
7
+ data.tar.gz: 2467f31b4af42d9c8b2c483ebcc453d21e275f51233c03bf2656dc7d70d7fc1a624ffd7ea481d2b2fa9304bf012a3d43ae69bc1a54051e8576b1dbd654df6011
@@ -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
 
@@ -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: ruby
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
- name: rdoc
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '4.0'
20
- type: :development
21
- prerelease: false
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
  name: rack
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +44,34 @@ dependencies:
58
44
  - - "~>"
59
45
  - !ruby/object:Gem::Version
60
46
  version: '0.8'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rdoc
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '4.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '4.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: hoe
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '3.14'
67
+ version: '3.15'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
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
76
76
  for Ruby/Rack applications. Puma is intended for use in both development and production
77
77
  environments. In order to get the best throughput, it is highly recommended that
@@ -84,6 +84,7 @@ executables:
84
84
  extensions:
85
85
  - ext/puma_http11/extconf.rb
86
86
  extra_rdoc_files:
87
+ - ".github/issue_template.md"
87
88
  - DEPLOYMENT.md
88
89
  - History.md
89
90
  - Manifest.txt
@@ -95,6 +96,7 @@ extra_rdoc_files:
95
96
  - tools/jungle/init.d/README.md
96
97
  - tools/jungle/upstart/README.md
97
98
  files:
99
+ - ".github/issue_template.md"
98
100
  - DEPLOYMENT.md
99
101
  - Gemfile
100
102
  - History.md
@@ -122,6 +124,7 @@ files:
122
124
  - ext/puma_http11/org/jruby/puma/Http11Parser.java
123
125
  - ext/puma_http11/org/jruby/puma/MiniSSL.java
124
126
  - ext/puma_http11/puma_http11.c
127
+ - gemfiles/2.1-Gemfile
125
128
  - lib/puma.rb
126
129
  - lib/puma/accept_nonblock.rb
127
130
  - lib/puma/app/status.rb
@@ -192,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
195
  version: '0'
193
196
  requirements: []
194
197
  rubyforge_project:
195
- rubygems_version: 2.5.1
198
+ rubygems_version: 2.6.8
196
199
  signing_key:
197
200
  specification_version: 4
198
201
  summary: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for