hidemyass 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # HIDE MY ASS! [![Build Status](https://travis-ci.org/jassa/hidemyass.png)](https://travis-ci.org/jassa/hidemyass)
2
2
 
3
- Hide My Ass! fetches and connects to listed proxies at www.hidemyass.com.
3
+ Hide My Ass! fetches and connects to proxies at www.hidemyass.com.
4
4
 
5
5
  This ruby gem aims to connect you anonymously, it fetches proxies from hidemyass.com and tries each one until a successful connection is made.
6
6
 
@@ -55,6 +55,12 @@ To clear the cached proxies on every request (disabled by default):
55
55
  or simply run:
56
56
 
57
57
  HideMyAss.clear_cache
58
+
59
+ ## Roadmap
60
+
61
+ * Get proxies from other pages
62
+ * Improve tests suite
63
+ * Clean code and refactor
58
64
 
59
65
  ## Contributing
60
66
 
@@ -12,13 +12,15 @@ module HideMyAss
12
12
  extend Logger
13
13
 
14
14
  SITE = "http://hidemyass.com".freeze
15
- ENDPOINT = "http://hidemyass.com/proxy-list/search-291666".freeze
15
+ # TODO: Find a way to get ideal results in the custom search
16
+ ENDPOINT = "http://hidemyass.com/proxy-list/search-750598".freeze
16
17
 
17
18
  LOG_PREFIX = '** [hidemyass] '
18
-
19
+
19
20
  HTTP_ERRORS = [Timeout::Error,
20
21
  Errno::EINVAL,
21
22
  Errno::ECONNRESET,
23
+ Errno::ECONNREFUSED,
22
24
  EOFError,
23
25
  Net::HTTPBadResponse,
24
26
  Net::HTTPHeaderSyntaxError,
@@ -1,3 +1,3 @@
1
1
  module HideMyAss
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70335159623280 !ruby/object:Gem::Requirement
16
+ requirement: &70096109251860 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70335159623280
24
+ version_requirements: *70096109251860
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70335159622780 !ruby/object:Gem::Requirement
27
+ requirement: &70096109251360 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 2.12.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70335159622780
35
+ version_requirements: *70096109251360
36
36
  description: Hide My Ass! fetches and connects to proxies at www.hidemyass.com
37
37
  email:
38
38
  - javier@tractical.com