httply 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/httply/proxies.rb +1 -1
- data/lib/httply/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: f4f94c9f550d3248f2461513736182b62fea724bf6afbd183d84576d2f1e8db8
|
4
|
+
data.tar.gz: 7dc91382584aa43a6b9c4ec2291b029c17d267bac38d6705df03ec79c3c236d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d8610e593ecf6fc2068b17f779ed6895c8eccc8f289f4ccf1967c44aea1b3e240d09417d863eb95b7a512eb7a46f495c362ecef2b00d7800244a4a78e743eb
|
7
|
+
data.tar.gz: 4190a58a8f1c10a6a09635eb9d8478b6762083e7ee1a27e8b4ac4634d586296bfdce67f1ad7547e2aab9aabadad9ed107375cfffebf9182885359cd7aaa6e473
|
data/lib/httply/proxies.rb
CHANGED
@@ -49,7 +49,7 @@ module Httply
|
|
49
49
|
|
50
50
|
if randomize && proxy_model_defined?
|
51
51
|
proxy_object = ::Proxy.get_random_proxy(protocol: protocol, proxy_type: type)
|
52
|
-
proxy = proxy_from_object(proxy_object)
|
52
|
+
proxy = proxy_from_object(proxy_object, proxy)
|
53
53
|
else
|
54
54
|
if host && port
|
55
55
|
proxy[:host] = host
|
data/lib/httply/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httply
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Johnsson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|