http_utilities 1.0.5 → 1.0.6
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 +4 -4
- data/http_utilities.gemspec +1 -1
- data/lib/http_utilities.rb +1 -1
- data/lib/http_utilities/proxies/proxy_checker.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: 07be36a100e4a796a3a8b7fe3c6bf91ae8868be2
|
|
4
|
+
data.tar.gz: 86c9ab65ecd84b8fa513a40a55a71ead7436a1ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7112683b789905dd8ef5c996daf79ae2b16d47364822a197f9e8577d09a488d146d0e89591b6668e9217f3e80a465c9882566922f83fb20a178715c0bbca3f8e
|
|
7
|
+
data.tar.gz: 3dceaebd2bc4eb906f20bc894f9f8ca42086a5c6a2eafe2c06a7c4bf6b0e00f42c77820d981b8f069740b4bf4d46a66c24764db418f83b607afb179e58d6dee8
|
data/http_utilities.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
|
4
4
|
|
|
5
5
|
s.name = "http_utilities"
|
|
6
|
-
s.version = "1.0.
|
|
6
|
+
s.version = "1.0.6"
|
|
7
7
|
|
|
8
8
|
s.authors = ["Sebastian Johnsson"]
|
|
9
9
|
s.description = "Wrapper for common Http Libraries (Net:HTTP/Open URI/Curl)"
|
data/lib/http_utilities.rb
CHANGED
|
@@ -49,7 +49,7 @@ module HttpUtilities
|
|
|
49
49
|
def check_proxy(proxy)
|
|
50
50
|
Rails.logger.info "#{Time.now}: Will check if proxy #{proxy.proxy_address} is working."
|
|
51
51
|
|
|
52
|
-
self.send("check_#{proxy.protocol}_proxy")
|
|
52
|
+
self.send("check_#{proxy.protocol}_proxy", proxy)
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
def check_socks_proxy(proxy, test_host: "whois.verisign-grs.com", test_port: 43, test_query: "=google.com")
|