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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c3ac10c88e4301a9be712c06747987b7bbec37e
4
- data.tar.gz: 85a711b2b5cc059682522bc9c03cd09140afe4a6
3
+ metadata.gz: 07be36a100e4a796a3a8b7fe3c6bf91ae8868be2
4
+ data.tar.gz: 86c9ab65ecd84b8fa513a40a55a71ead7436a1ab
5
5
  SHA512:
6
- metadata.gz: 933e6381c41d5bfd6c0d1e337b936087eaf4e6ea8319caa0ab9878739ecfec1271a596fb551b02d98ada765caa56b5a73dbb8bb3fe337110d09a19bdf8e3a386
7
- data.tar.gz: b4101592f6b9c6ced152ca5bf933ca74b51cb54bc7c80f486a095612d246a387d6d4ffd23cad4fbfa40f498861d0c6da49d4d6a2efa9f86b6813e92eb90c1a18
6
+ metadata.gz: 7112683b789905dd8ef5c996daf79ae2b16d47364822a197f9e8577d09a488d146d0e89591b6668e9217f3e80a465c9882566922f83fb20a178715c0bbca3f8e
7
+ data.tar.gz: 3dceaebd2bc4eb906f20bc894f9f8ca42086a5c6a2eafe2c06a7c4bf6b0e00f42c77820d981b8f069740b4bf4d46a66c24764db418f83b607afb179e58d6dee8
@@ -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.5"
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)"
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module HttpUtilities
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
 
5
5
  require File.join(File.dirname(__FILE__), 'http_utilities/railtie') if defined?(Rails)
6
6
 
@@ -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")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Johnsson