webrick 1.5.0 → 1.5.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: 97da95d5faf45f62560954f75b5fb1536ffdb804a991adbfc1a8da2f312282fb
4
- data.tar.gz: c4b305ec0e615913868e1707c42656faa197f6f7a26af17505d7b5b38cbaf9dc
3
+ metadata.gz: 901e5eed67a1747d1b8359f3e22fedeede6c92d35cdc32166428e714d393a505
4
+ data.tar.gz: ce5277a103aa620bc0228209f4554ea3b9792ffe32b1bdcda24e0fdea8da9e85
5
5
  SHA512:
6
- metadata.gz: 62878410914483e24c84430af518e417f985e2471b8907655d2a096966afdd5f872c29f2d65dc6ee88ab4df216f7077678b5cdf04ba021185f1b40402e565114
7
- data.tar.gz: ec3e25caa3db02dcf9e7d8dc916cab302c571ba6acb1810681e2051ab7fb35eae06752189a0701c6dee9cd4b5e91f7361c78ceb36e779ed82488702c87d305d9
6
+ metadata.gz: 0411f18ca5d531964f58fc12d9961c74f14399fe2d0896537a8aae8cc95180c5927eba9c907a4aecaa89443ee1f409bac9574620de085ddfcb87ad4ed856a67e
7
+ data.tar.gz: 531502100d1c9a38f97987a187f39f245777ef607adcc0d78ee225591e84b90fd17827a506d354dcb4f702d18e5959c29b4326714c08855a7d9edd6b29402aaa
@@ -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.5.0"
17
+ VERSION = "1.5.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.5.0
4
+ version: 1.5.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-10-04 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: []