down 5.3.0 → 5.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/down/net_http.rb +3 -3
- data/lib/down/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69943db91082a470760e9f809f3cd96f05bd57c4f76869522cdb996215f93c48
|
4
|
+
data.tar.gz: 4f7b62080a645c26d5a4ace80e723d707ad6fcdbeaf845f247d6ed4977d96c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a0a24ade6b6f67bf7e6c91d8aff07e3d18a7b8d67521a78ec0da2516d6518c62d45a0d1ef77176523f64d4a83862ca289aa730c05eaeb6e51e655967c396e3
|
7
|
+
data.tar.gz: dafabbb4c78cd47d40cd7b74c1df15270ebc2485dccc52e754879cfe0e844edb3cd1322c7a1f4bc81075f81fd980215b8e8189d4db664537273d473d109dbd55
|
data/CHANGELOG.md
CHANGED
data/lib/down/net_http.rb
CHANGED
@@ -159,9 +159,9 @@ module Down
|
|
159
159
|
if !exception.io.meta["set-cookie"].to_s.empty?
|
160
160
|
options["Cookie"] ||= ''
|
161
161
|
# Add new cookies avoiding duplication
|
162
|
-
new_cookies = exception.io.meta["set-cookie"].to_s.split('
|
163
|
-
old_cookies = options["Cookie"].split('
|
164
|
-
options["Cookie"] = (old_cookies | new_cookies).join('
|
162
|
+
new_cookies = exception.io.meta["set-cookie"].to_s.split(';').map(&:strip)
|
163
|
+
old_cookies = options["Cookie"].split(';')
|
164
|
+
options["Cookie"] = (old_cookies | new_cookies).join(';')
|
165
165
|
end
|
166
166
|
|
167
167
|
follows_remaining -= 1
|
data/lib/down/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: down
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Janko Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|