rack-wwwhisper 1.1.12 → 1.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ff68ef8fb61b71e14a79548df3bf7df4f71cfc3c
4
- data.tar.gz: 762feeefdcc866123d3f20f7d839ed7677f92f4a
2
+ SHA256:
3
+ metadata.gz: 658f2b9535fa0c452a156aa610e0a56956275046d23c94b050a205e3a12fc72a
4
+ data.tar.gz: 4a483e812caa8354e6ef560c44635e1f774e005758c493576bce9140dc24fdd3
5
5
  SHA512:
6
- metadata.gz: e8334478b1440c9740443666e023a0c33d6ad6cf54a6bb9cdfc76fadbf01bba7167411988338238fdecc1753189aa97f8414bd898a88a169a47aec9ef5c404d4
7
- data.tar.gz: be0677fb81442f285963962ca043d860c8c3dbce84baad5bc70c2bbe30ae036c0cfdcc1af1a2d1e0219057a119a305b5bccfcf65d59af4c5f274acd0ab2f2585
6
+ metadata.gz: eda281ffd11f7705acefcd722dacdc24a3bee71b7333dadd7b55c26f1f72f51199a3e4dc84b083b9b4cd6cf7beefcfdf3e726c95230ed9b650efbe156d684b1a
7
+ data.tar.gz: da86a61e110c7df6b4af3572b2073ece04a3c2924d334ee7fdcf292deff8b17ef4731e6b998372a5cf6f48327a3de8d71d3b67359b5247b1be00cea1efe5e038
@@ -80,7 +80,7 @@ class WWWhisper
80
80
  @app = NoPublicCache.new(app)
81
81
 
82
82
  # net/http/persistent connections are thread safe.
83
- @http = http_init('wwwhisper')
83
+ @http = http_init()
84
84
  @wwwhisper_uri = parse_uri(ENV['WWWHISPER_URL'])
85
85
 
86
86
  @wwwhisper_iframe = ENV['WWWHISPER_IFRAME'] ||
@@ -141,8 +141,8 @@ class WWWhisper
141
141
  parsed_uri
142
142
  end
143
143
 
144
- def http_init(connection_id)
145
- http = Net::HTTP::Persistent.new(connection_id)
144
+ def http_init()
145
+ http = Net::HTTP::Persistent.new(name: 'wwwhisper')
146
146
  store = OpenSSL::X509::Store.new()
147
147
  store.set_default_paths
148
148
  http.cert_store = store
@@ -196,7 +196,7 @@ class WWWhisper
196
196
  end
197
197
 
198
198
  def sub_response_headers_to_rack(rack_req, sub_resp)
199
- rack_headers = Rack::Utils::HeaderHash.new()
199
+ rack_headers = Rack::Headers.new()
200
200
  sub_resp.each_capitalized do |header, value|
201
201
  # If sub request returned chunked response, remove the header
202
202
  # (chunks will be combined and returned with 'Content-Length).
@@ -1,3 +1,3 @@
1
1
  module Rack
2
- WWWHISPER_VERSION = '1.1.12'
2
+ WWWHISPER_VERSION = '1.1.13'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-wwwhisper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Wrobel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-05 00:00:00.000000000 Z
11
+ date: 2022-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.0'
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rack-test
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -137,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubyforge_project:
141
- rubygems_version: 2.4.8
140
+ rubygems_version: 3.3.7
142
141
  signing_key:
143
142
  specification_version: 4
144
143
  summary: Verified email based authorization for Rack applications.