lib/sockit/support.rb in sockit-1.2.0 vs lib/sockit/support.rb in sockit-1.2.1
- old
+ new
@@ -16,10 +16,10 @@
def is_configured?
(is_host_configured? && is_port_configured? && is_version_configured?)
end
def connect_via_socks?(host)
- (is_configured? && !config.ignore.flatten.any?{ |ignored_host| host =~ /#{ignored_host}/ }
+ (is_configured? && !config.ignore.flatten.any?{ |ignored_host| host =~ /#{ignored_host}/ })
end
def is_socks_v5?
(is_configured? && config.version.to_i == 5)
end