proxy_fetcher 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/lib/proxy_fetcher.rb +1 -2
- data/lib/proxy_fetcher/configuration.rb +2 -2
- data/lib/proxy_fetcher/manager.rb +0 -2
- data/lib/proxy_fetcher/providers/free_proxy_list.rb +2 -2
- data/lib/proxy_fetcher/providers/{hidster.rb → free_proxy_list_ssl.rb} +9 -11
- data/lib/proxy_fetcher/providers/hide_my_name.rb +2 -2
- data/lib/proxy_fetcher/providers/proxy_docker.rb +3 -3
- data/lib/proxy_fetcher/providers/xroxy.rb +2 -2
- data/lib/proxy_fetcher/version.rb +1 -1
- data/proxy_fetcher.gemspec +1 -1
- data/spec/proxy_fetcher/providers/free_proxy_list_spec.rb +0 -5
- data/spec/proxy_fetcher/providers/free_proxy_list_ssl_spec.rb +9 -0
- data/spec/proxy_fetcher/providers/proxy_docker_spec.rb +0 -5
- data/spec/proxy_fetcher/providers/xroxy_spec.rb +0 -5
- data/spec/proxy_fetcher/proxy_spec.rb +1 -4
- metadata +4 -12
- data/lib/proxy_fetcher/providers/hide_my_ass.rb +0 -68
- data/spec/fixtures/free_proxy_list.html +0 -25
- data/spec/fixtures/hide_my_ass.html +0 -2530
- data/spec/fixtures/hide_my_name.html +0 -146
- data/spec/fixtures/hidster.html +0 -3048
- data/spec/fixtures/proxy_docker.html +0 -3959
- data/spec/fixtures/xroxy.html +0 -548
- data/spec/proxy_fetcher/providers/hide_my_ass_spec.rb +0 -14
- data/spec/proxy_fetcher/providers/hidster_spec.rb +0 -14
@@ -1,14 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe ProxyFetcher::Providers::HideMyAss do
|
4
|
-
before :all do
|
5
|
-
ProxyFetcher.config.provider = :hide_my_ass
|
6
|
-
end
|
7
|
-
|
8
|
-
before do
|
9
|
-
html = File.read(File.expand_path('../../../fixtures/hide_my_ass.html', __FILE__))
|
10
|
-
allow(ProxyFetcher::Providers::Base).to receive(:load_html).and_return(html)
|
11
|
-
end
|
12
|
-
|
13
|
-
it_behaves_like 'a manager'
|
14
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe ProxyFetcher::Providers::Hidster do
|
4
|
-
before :all do
|
5
|
-
ProxyFetcher.config.provider = :hidster
|
6
|
-
end
|
7
|
-
|
8
|
-
before do
|
9
|
-
html = File.read(File.expand_path('../../../fixtures/hidster.html', __FILE__))
|
10
|
-
allow(ProxyFetcher::Providers::Base).to receive(:load_html).and_return(html)
|
11
|
-
end
|
12
|
-
|
13
|
-
it_behaves_like 'a manager'
|
14
|
-
end
|