webrick 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of webrick might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b22d1a22487ddaea4a02b95387d97d6860f856578442b3466dc1476313422ab
4
- data.tar.gz: '08bc9dac03f0340f332bdb65415443c749365245340e59467c039f32f2410366'
3
+ metadata.gz: 3fb619ce6c4c78dad51be27360158b7e70c92ebdaa17c7b67b238c43ede73637
4
+ data.tar.gz: a9a2262fe7d36731d0d251c800a59d9f266a49811da67d8fb8240339cc1fe884
5
5
  SHA512:
6
- metadata.gz: 7a7c7286591c28174ce5921164fcea59130c4ff0031f01fd1abf4c89073b8774cb3d409328d8644dbd83cc29de2e4a8b25c9bd2866ba618f8f66530a100d830b
7
- data.tar.gz: 313497330c512f587d9e8af3ce3a1936c64c55b58f694c3088db872ef9628ac44f4029277d5178cb1ffc43ea1d94bc68b98bb4884d78f667bd435cad36dfafa6
6
+ metadata.gz: 051dbf7d8f19f366b7713835c2cc37c9f8c53c58c0a4d68fc8256d277c2379bc90099437a48fb876e8d3b6c414c417f5d8b9cf092f372a9dd715a7771c6764fb
7
+ data.tar.gz: 7541dc4794d62c5c6363ccc7da3742e9d61216e5f9a4a3d94418dc3239830320b416eeb464940ad75074802f673055141b7c4937983ede6d1092a888fc6f5df0
@@ -226,9 +226,9 @@ module WEBrick
226
226
  raise HTTPStatus::BadRequest, "bad URI `#{@unparsed_uri}'."
227
227
  end
228
228
 
229
- if /close/io =~ self["connection"]
229
+ if /\Aclose\z/io =~ self["connection"]
230
230
  @keep_alive = false
231
- elsif /keep-alive/io =~ self["connection"]
231
+ elsif /\Akeep-alive\z/io =~ self["connection"]
232
232
  @keep_alive = true
233
233
  elsif @http_version < "1.1"
234
234
  @keep_alive = false
@@ -503,7 +503,7 @@ module WEBrick
503
503
  return unless socket
504
504
  if tc = self['transfer-encoding']
505
505
  case tc
506
- when /chunked/io then read_chunked(socket, block)
506
+ when /\Achunked\z/io then read_chunked(socket, block)
507
507
  else raise HTTPStatus::NotImplemented, "Transfer-Encoding: #{tc}."
508
508
  end
509
509
  elsif self['content-length'] || @remaining_size
@@ -14,5 +14,5 @@ module WEBrick
14
14
  ##
15
15
  # The WEBrick version
16
16
 
17
- VERSION = "1.6.0"
17
+ VERSION = "1.6.1"
18
18
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webrick
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAKAHASHI Masayoshi
8
8
  - GOTOU YUUZOU
9
9
  - Eric Wong
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-11-30 00:00:00.000000000 Z
13
+ date: 2020-09-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -29,8 +29,8 @@ dependencies:
29
29
  description: WEBrick is an HTTP server toolkit that can be configured as an HTTPS
30
30
  server, a proxy server, and a virtual-host server.
31
31
  email:
32
- -
33
- -
32
+ -
33
+ -
34
34
  - normal@ruby-lang.org
35
35
  executables: []
36
36
  extensions: []
@@ -85,7 +85,7 @@ metadata:
85
85
  bug_tracker_uri: https://bugs.ruby-lang.org/projects/ruby-trunk/issues
86
86
  homepage_uri: https://www.ruby-lang.org
87
87
  source_code_uri: https://git.ruby-lang.org/ruby.git/
88
- post_install_message:
88
+ post_install_message:
89
89
  rdoc_options: []
90
90
  require_paths:
91
91
  - lib
@@ -100,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.0.3
104
- signing_key:
103
+ rubygems_version: 3.2.0.rc.1
104
+ signing_key:
105
105
  specification_version: 4
106
106
  summary: HTTP server toolkit
107
107
  test_files: []