contact-data 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/contact-data/fetcher.rb +7 -7
- data/lib/contact-data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70b462cad4f5653f59a10b9d539dd8fc1178bdcb
|
4
|
+
data.tar.gz: 8e3576f7ccdded9c33fb3e451f08c1e03fc4b408
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b681a833ca369e31bf2326f7fd176e35d7028a3e2d69c8978fc92bd384d9eabab094b2631d671c2e90d2f98157d1be104d3d136b5a37ac1647e4abdcd45a0e4a
|
7
|
+
data.tar.gz: 2a2776953c86944b38197e8dc0169bd5fb46ee453567b529001b2c88352e68c8affc408b8e3633587a49849cca10d22885ab6d0f3e644af58ff560c3b385ebe4
|
data/Gemfile.lock
CHANGED
data/lib/contact-data/fetcher.rb
CHANGED
@@ -49,13 +49,13 @@ module ContactData
|
|
49
49
|
args = { url: url, method: method }
|
50
50
|
args[:headers] = { params: options[:params] } if options.key? :params
|
51
51
|
|
52
|
-
|
53
|
-
method url headers cookies payload user password timeout
|
54
|
-
max_redirects open_timeout raw_response processed_headers args
|
55
|
-
ssl_opts verify_ssl ssl_client_cert ssl_client_key ssl_ca_file
|
56
|
-
ssl_ca_path ssl_cert_store ssl_verify_callback
|
57
|
-
ssl_verify_callback_warnings ssl_version ssl_ciphers
|
58
|
-
|
52
|
+
[
|
53
|
+
:method, :url, :headers, :cookies, :payload, :user, :password, :timeout,
|
54
|
+
:max_redirects, :open_timeout, :raw_response, :processed_headers, :args,
|
55
|
+
:ssl_opts, :verify_ssl, :ssl_client_cert, :ssl_client_key, :ssl_ca_file,
|
56
|
+
:ssl_ca_path, :ssl_cert_store, :ssl_verify_callback,
|
57
|
+
:ssl_verify_callback_warnings, :ssl_version, :ssl_ciphers
|
58
|
+
].each { |key| args[key] = options[key] if options.key? key }
|
59
59
|
|
60
60
|
RestClient::Request.new(args).execute
|
61
61
|
end
|
data/lib/contact-data/version.rb
CHANGED