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 +5 -5
- data/lib/rack/wwwhisper.rb +4 -4
- data/lib/rack/wwwhisper_version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 658f2b9535fa0c452a156aa610e0a56956275046d23c94b050a205e3a12fc72a
|
4
|
+
data.tar.gz: 4a483e812caa8354e6ef560c44635e1f774e005758c493576bce9140dc24fdd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda281ffd11f7705acefcd722dacdc24a3bee71b7333dadd7b55c26f1f72f51199a3e4dc84b083b9b4cd6cf7beefcfdf3e726c95230ed9b650efbe156d684b1a
|
7
|
+
data.tar.gz: da86a61e110c7df6b4af3572b2073ece04a3c2924d334ee7fdcf292deff8b17ef4731e6b998372a5cf6f48327a3de8d71d3b67359b5247b1be00cea1efe5e038
|
data/lib/rack/wwwhisper.rb
CHANGED
@@ -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(
|
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(
|
145
|
-
http = Net::HTTP::Persistent.new(
|
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::
|
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).
|
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.
|
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:
|
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: '
|
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: '
|
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
|
-
|
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.
|