httply 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d091508f2e3181b841b216544b0aaa718147d831afdda230a0fdd9e64833707f
4
- data.tar.gz: 03f55c89507bc91d5be96aeb6f640be9f7484009abbaacc8dc83bfeafa8ac6bd
3
+ metadata.gz: f4f94c9f550d3248f2461513736182b62fea724bf6afbd183d84576d2f1e8db8
4
+ data.tar.gz: 7dc91382584aa43a6b9c4ec2291b029c17d267bac38d6705df03ec79c3c236d1
5
5
  SHA512:
6
- metadata.gz: d54ea6aa11f415a9cdfc0f5918f654e938b872b7d6d4bc2667b7a52f6c7b842f3cd9d3ecedde60515ec7af1432aef3cade8140344e38ee6ae1ad3e803b6bcb3d
7
- data.tar.gz: 3df9f9830d9695aae4d16779ded20a9dd2196ebb73a7244ff188131c3e564ba61f5d6e01f25aaa3df8904a5c398b8c05a969184ed4713ecba50bf4978e69446b
6
+ metadata.gz: 78d8610e593ecf6fc2068b17f779ed6895c8eccc8f289f4ccf1967c44aea1b3e240d09417d863eb95b7a512eb7a46f495c362ecef2b00d7800244a4a78e743eb
7
+ data.tar.gz: 4190a58a8f1c10a6a09635eb9d8478b6762083e7ee1a27e8b4ac4634d586296bfdce67f1ad7547e2aab9aabadad9ed107375cfffebf9182885359cd7aaa6e473
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Httply
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-21 00:00:00.000000000 Z
11
+ date: 2019-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday