hidemyass 0.0.2 → 0.0.3

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.
data/hidemyass.gemspec CHANGED
@@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
14
14
  gem.name = "hidemyass"
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Hidemyass::VERSION
17
+
18
+ gem.add_dependency "nokogiri"
17
19
  end
data/lib/hidemyass.rb CHANGED
@@ -35,6 +35,7 @@ module Hidemyass
35
35
  { port: node.at_xpath('td[3]').content.strip,
36
36
  host: node.at_xpath('td[2]/span').xpath('text() | *[not(contains(@style,"display:none"))]').
37
37
  map(&:content).compact.join.to_s }
38
+ end
38
39
  end
39
40
 
40
41
  def request(host = @host, port = @port, first_without_proxy = @first_without_proxy)
@@ -1,3 +1,3 @@
1
1
  module Hidemyass
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hidemyass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,23 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-04-14 00:00:00.000000000 Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
14
30
  description: Hide My Ass! fetches and connects to listed proxies at www.hidemyass.com
15
31
  email:
16
32
  - javier@tractical.com