proxy_utilities 1.4.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 875abd7b5e98703a60cab5058ea2e577202cd830
4
+ data.tar.gz: 8340e1c4a5f69dee94d3bf9dcaf845b2f00d0fd2
5
+ SHA512:
6
+ metadata.gz: 396ab14cd9b4661ff347c3385b5461a6eda636da7a6d5b84e1edf74c8308fe0f243ec92ecbbbf0e1d7db588f8b6755d0153084765a33741cf5b57134674f5e1c
7
+ data.tar.gz: 15508bc4a0d0025a73ec41289586e5178bad7f22fd5358edb8422644fd8fc84bd32b85c6b09debb82081e8f25ea3af29808b8a9ca454b2e042f1525bcd78f718
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in proxy_utilities.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 ruby-matze
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # ProxyUtilities
2
+
3
+ Gem to get lists of Proxies and check them if they are still available.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'proxy_utilities'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install proxy_utilities
20
+
21
+ ## Usage
22
+
23
+ This gem has two features at the moment:
24
+
25
+ - Get a list of proxies.
26
+ - Check if a proxy is available
27
+
28
+ ### Getter
29
+
30
+ ```ruby
31
+ list = ProxyUtilities.get_proxies
32
+
33
+ #=>[{:ip => "0.0.0.0",:port => 80, :country_code => "US", :anonymity => "transparent", :type => "SOCKS5"}, {...}, ...]
34
+ ```
35
+
36
+
37
+ ### Checker
38
+ This module checks if the proxy can reach a website over the proxy, also additional websites can be enabled.
39
+
40
+ ```ruby
41
+ checked_proxy = ProxyUtilities.check_proxy("0.0.0.0", 80)
42
+ #=> {:status => true}
43
+ # or
44
+ #=> {:status => false}
45
+ ```
46
+ also working:
47
+ ```ruby
48
+ checked_proxy = ProxyUtilities.check_proxy("0.0.0.0", "80")
49
+ ```
50
+ Following additional attributes are supported:
51
+
52
+ ```ruby
53
+ checked_proxy = ProxyUtilities.check_proxy("0.0.0.0", 80, check_websites: true)
54
+ #=> {:status => true, :websites => {:google => true, :amazon => true}}
55
+ ```
56
+ ```ruby
57
+ checked_proxy = ProxyUtilities.check_proxy("0.0.0.0", 80, check_websites: true, webistes: ["https://github.com/ruby-matze/proxy_utilities"])
58
+ #=> {:status => true, :websites => {:google => true, :amazon => true, "https://github.com/ruby-matze/proxy_utilities" => true}
59
+ ```
60
+ Checking full lists of proxies like:
61
+ ```ruby
62
+ list = [{{:ip => "0.0.0.0", :port => 80, ...}, ...]
63
+ checked_proxy = ProxyUtilities.check_proxy_list(list, check_websites: true, webistes: ["https://github.com/ruby-matze/proxy_utilities"])
64
+ #=> [{:ip => "0.0.0.0", :port => 80, :status => true, :websites => {:google => true, :amazon => true, "https://github.com/ruby-matze/proxy_utilities" => true}, ....]
65
+ ```
66
+
67
+ ## Contributing
68
+
69
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ruby-matze/proxy_utilities.
70
+
71
+ ## License
72
+
73
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "proxy_utilities"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,92 @@
1
+ require "proxy_utilities/version"
2
+ require "proxy_utilities/getter"
3
+ require "proxy_utilities/checker"
4
+ #Give 2 main methods, that are needed to using the game
5
+ module ProxyUtilities
6
+
7
+ #Get a list of Proxies
8
+
9
+ # Say hi to the world!
10
+ #
11
+ # Example:
12
+ # >> ProxyUtilities.get_proxies
13
+ # => [{ip: "0.0.0.0", port: 80, country_code: "US", anonymity: elite, type: "HTTPS"}]
14
+ #
15
+ # Arguments:
16
+ # proxybroker: (String)
17
+ # proxybroker_limit (Integer)
18
+ # proxybroker_type (Array["HTTP", "HTTPS", "SOCKS4", "SOCKS5"])
19
+ def self.get_proxies()
20
+ return ProxyUtilities::Getter.get_all()
21
+ end
22
+
23
+ #Check if a specific proxy is active and get some stats.
24
+
25
+ #params
26
+ # ip ipadress of proxy server string
27
+ # port port of proxy server string
28
+ # webistes array of websites to check Array[string]
29
+ def self.check_proxy(ip, port, websites: nil, check_websites: false)
30
+ proxy = ProxyUtilities::Checker.new(ip, port)
31
+ result = {}
32
+
33
+ if proxy.check_online?
34
+ result[:status] = true
35
+ if check_websites
36
+ result[:websites] = {}
37
+
38
+ if proxy.check_google?
39
+ result[:websites][:google] = true
40
+ else
41
+ result[:websites][:google] = false
42
+ end
43
+
44
+ if proxy.check_amazon?
45
+ result[:websites][:amazon] = true
46
+ else
47
+ result[:websites][:amazon] = false
48
+ end
49
+
50
+ if websites.present?
51
+ result[:websites] = result[:websites].merge(proxy.check_any_website(websites))
52
+ end
53
+ end
54
+ else
55
+ result[:status] = false
56
+ end
57
+ return result
58
+ end
59
+
60
+ #Check if a specific proxy is active and get some stats.
61
+
62
+ #params
63
+ # list form of [{:ip => "0.0.0.0", :port => 80, ....}, ....]
64
+ # check_websites if he has to check google and amazon boolean
65
+ # webistes array of websites to check Array[string]
66
+ def self.check_proxy_list(list, websites: nil, check_websites: false)
67
+ result = []
68
+ threads = []
69
+ poolsize = 10
70
+ jobs = Queue.new
71
+ list.each{|p| jobs.push p}
72
+
73
+ poolsize.times do
74
+ threads << Thread.new do
75
+ begin
76
+ while proxy = jobs.pop(true)
77
+ Thread.exit if proxy.nil?
78
+ if proxy.key?(:ip) and proxy.key?(:port)
79
+ begin
80
+ result << ProxyUtilities.check_proxy(proxy[:ip], proxy[:port], websites: websites, check_websites: check_websites).merge({:ip => proxy[:ip], :port => proxy[:port]})
81
+ end
82
+ end
83
+ end
84
+ rescue
85
+ Thread.exit
86
+ end
87
+ end
88
+ end
89
+ threads.each(&:join)
90
+ return result
91
+ end
92
+ end
@@ -0,0 +1,59 @@
1
+ require 'net/http'
2
+ require 'net/ping'
3
+ module ProxyUtilities
4
+ class Checker
5
+
6
+ def initialize(ip, port)
7
+ @ip = ip
8
+ @port = port
9
+ end
10
+
11
+ def check_online?
12
+ begin
13
+ check = Net::Ping::External.new(host = @ip, port = @port)
14
+ check.ping?
15
+ rescue
16
+ return false
17
+ end
18
+ end
19
+
20
+ def check_google?
21
+ begin
22
+ url = "http://google.com"
23
+ proxy_connection = Net::HTTP::Proxy(@ip, @port.to_i)
24
+ Timeout.timeout(3) do
25
+ return proxy_connection.start(url).active?
26
+ end
27
+ rescue
28
+ return false
29
+ end
30
+ end
31
+
32
+ def check_amazon?
33
+ begin
34
+ url = "http://amazon.com"
35
+ proxy_connection = Net::HTTP::Proxy(@ip, @port.to_i)
36
+ Timeout.timeout(3) do
37
+ return proxy_connection.start(url).active?
38
+ end
39
+ rescue
40
+ return false
41
+ end
42
+ end
43
+
44
+ def check_any_website(websites)
45
+ result = {}
46
+ proxy_connection = Net::HTTP::Proxy(@ip, @port.to_i)
47
+ websites.each do |website|
48
+ begin
49
+ Timeout.timeout(3) do
50
+ result[website] = proxy_connection.start(website).active?
51
+ end
52
+ rescue
53
+ next
54
+ end
55
+ end
56
+ return result
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,198 @@
1
+ require 'net/http'
2
+ require 'rubygems'
3
+ require 'nokogiri'
4
+ require 'open-uri'
5
+ require 'json'
6
+ require 'iso_country_codes'
7
+ require 'base64'
8
+
9
+ module ProxyUtilities
10
+ module Getter
11
+
12
+ #Starting all fetching processes
13
+ def self.get_all()
14
+ result = []
15
+ result += self.get_free_proxy_list_net
16
+ result += self.get_ssl_proxies_org
17
+ result += self.get_gather_proxy_com
18
+ result += self.get_httptunnel_ge
19
+ result += self.get_proxy_list_org
20
+ result += self.get_socks_proxy_list_net
21
+ result += self.get_checker_proxy_net
22
+ return result.uniq
23
+ end
24
+
25
+ def self.get_free_proxy_list_net
26
+ result = []
27
+ url = "https://free-proxy-list.net/"
28
+ page = Nokogiri::HTML(open(url))
29
+ rows = page.xpath('//table[@id="proxylisttable"]/tbody/tr')
30
+
31
+ rows.each do |row|
32
+ begin
33
+ proxy = {}
34
+ proxy[:ip] = row.xpath('td[1]').text
35
+ proxy[:port] = Integer(row.xpath('td[2]').text.gsub(/^0+/, ''))
36
+ proxy[:country_code] = row.xpath('td[3]').text
37
+ proxy[:anonymity] = row.xpath('td[5]').text.gsub(" proxy", "")
38
+ if row.xpath('td[7]').text == 'yes'
39
+ proxy[:type] = 'HTTPS'
40
+ else
41
+ proxy[:type] = 'HTTP'
42
+ end
43
+ result << proxy
44
+ end
45
+ end
46
+ return result
47
+ end
48
+
49
+ def self.get_ssl_proxies_org
50
+ result = []
51
+ url = "https://www.sslproxies.org/"
52
+ page = Nokogiri::HTML(open(url))
53
+ rows = page.xpath('//table[@id="proxylisttable"]/tbody/tr')
54
+
55
+ rows.each do |row|
56
+ begin
57
+ proxy = {}
58
+ proxy[:ip] = row.xpath('td[1]').text
59
+ proxy[:port] = Integer(row.xpath('td[2]').text.gsub(/^0+/, ''))
60
+ proxy[:country_code] = row.xpath('td[3]').text
61
+ proxy[:anonymity] = row.xpath('td[5]').text.gsub(" proxy", "")
62
+ if row.xpath('td[7]').text == 'yes'
63
+ proxy[:type] = 'HTTPS'
64
+ else
65
+ proxy[:type] = 'HTTP'
66
+ end
67
+ result << proxy
68
+ end
69
+ end
70
+ return result
71
+ end
72
+
73
+ def self.get_gather_proxy_com
74
+ result = []
75
+ url = "http://www.gatherproxy.com/"
76
+ page = Nokogiri::HTML(open(url))
77
+ rows = page.xpath('//div[@class="proxy-list"]/table/script')
78
+ javascript = rows.text[/{.+}/im].gsub("gp.insertPrx(", "").gsub(");", "")
79
+ json = JSON.parse("[" + javascript.split("\r\n").join(",").gsub(" , ", "") + "]")
80
+ json.each do |row|
81
+ begin
82
+ proxy = {}
83
+ proxy[:ip] = row["PROXY_IP"]
84
+ proxy[:port] = row['PROXY_PORT'].to_i(16)
85
+ begin
86
+ proxy[:country_code] = IsoCountryCodes.search_by_name(row["PROXY_COUNTRY"]).first.alpha2
87
+ rescue
88
+ proxy[:country_code] = nil
89
+ end
90
+ proxy[:anonymity] = row['PROXY_TYPE'].downcase
91
+ proxy[:type] = 'HTTP'
92
+ result << proxy
93
+ end
94
+ end
95
+ return result
96
+ end
97
+
98
+ def self.get_httptunnel_ge
99
+ result = []
100
+ url = "http://www.httptunnel.ge/ProxyListForFree.aspx"
101
+ page = Nokogiri::HTML(open(url))
102
+ rows = page.xpath('//table[contains(@id, "GridView")]/tr[(count(td)>2)]')
103
+
104
+ rows.each do |row|
105
+ begin
106
+ proxy = {}
107
+ proxy[:ip] = row.xpath('td[1]').text.split(":")[0].strip
108
+ proxy[:port] = Integer(row.xpath('td[1]').text.split(":")[1].strip)
109
+ proxy[:country_code] = row.xpath('td[8]/img/@title').text
110
+ transparency = row.xpath('td[5]').text.to_sym
111
+ proxy[:anonymity] = { A: 'anonymous', E: 'elite', T: 'transparent', U: 'unknown'}.fetch(transparency, 'Unknown')
112
+ proxy[:type] = 'HTTP'
113
+ result << proxy
114
+ end
115
+ end
116
+ return result
117
+ end
118
+
119
+ def self.get_proxy_list_org
120
+ result = []
121
+ (1..10).to_a.each do |page_num|
122
+ begin
123
+ url = "https://proxy-list.org/english/index.php?p=#{page_num}"
124
+ page = Nokogiri::HTML(open(url))
125
+ rows = page.css('.table-wrap .table ul')
126
+
127
+ rows.each do |row|
128
+ begin
129
+ proxy = {}
130
+ proxy[:ip] = ::Base64.decode64(rows.first.at_css('li script').text.match(/'(.+)'/)[1]).split(":")[0].strip
131
+ proxy[:port] = Integer(::Base64.decode64(rows.first.at_css('li script').text.match(/'(.+)'/)[1]).split(":")[1].strip)
132
+ country_code = row.xpath('li[5]/div/span/span/span[2]').text.scan(/([A-Z]{2}) /)
133
+ unless country_code.nil?
134
+ begin
135
+ proxy[:country_code] = country_code.first.first.strip
136
+ rescue
137
+ next
138
+ end
139
+ else
140
+ next
141
+ end
142
+ proxy[:anonymity] = row.xpath('li[4]').text.strip.downcase
143
+ proxy[:type] = row.xpath('li[2]').text.strip.upcase
144
+ if proxy[:type] == "-"
145
+ proxy[:type] = nil
146
+ end
147
+ result << proxy
148
+ end
149
+ end
150
+ end
151
+ end
152
+ return result
153
+ end
154
+
155
+ def self.get_socks_proxy_list_net
156
+ result = []
157
+ url = "https://www.socks-proxy.net/"
158
+ page = Nokogiri::HTML(open(url))
159
+ rows = page.xpath('//table[@id="proxylisttable"]/tbody/tr')
160
+
161
+ rows.each do |row|
162
+ begin
163
+ proxy = {}
164
+ proxy[:ip] = row.xpath('td[1]').text
165
+ proxy[:port] = Integer(row.xpath('td[2]').text.gsub(/^0+/, ''))
166
+ proxy[:country_code] = row.xpath('td[3]').text
167
+ proxy[:anonymity] = row.xpath('td[6]').text.downcase
168
+ proxy[:type] = row.xpath('td[5]').text.upcase
169
+ result << proxy
170
+ end
171
+ end
172
+ return result
173
+ end
174
+
175
+ def self.get_checker_proxy_net
176
+ result = []
177
+ url = "https://checkerproxy.net/api/archive/#{Date.today.strftime('%Y-%m-%d')}"
178
+ page = Nokogiri::HTML(open(url))
179
+ rows = JSON.parse(page)
180
+
181
+ rows.each do |row|
182
+ begin
183
+ proxy = {}
184
+ proxy[:ip] = row["ip"]
185
+ proxy[:port] = Integer(row["addr"].split(":")[1].gsub(/^0+/, ''))
186
+ proxy[:country_code] = row["addr_geo_iso"].upcase
187
+ anonymities = {0=>"transparent", 1=> "elite", 2=> "anonymous"}
188
+ proxy[:anonymity] = anonymities[row["kind"]]
189
+ types = {1=>"HTTP", 2=>"HTTPS", 3=>"SOCKS4", 4=>"SOCKS5"}
190
+ proxy[:type] = types[row["type"]]
191
+ result << proxy
192
+ end
193
+ end
194
+ return result
195
+ end
196
+
197
+ end
198
+ end
@@ -0,0 +1,3 @@
1
+ module ProxyUtilities
2
+ VERSION = "1.4.1"
3
+ end
@@ -0,0 +1,33 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "proxy_utilities/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "proxy_utilities"
8
+ spec.version = ProxyUtilities::VERSION
9
+ spec.authors = ["ruby-matze"]
10
+ spec.email = ["matze@it-dudes.de"]
11
+
12
+ spec.summary = %q{Getting and checking Proxies.}
13
+ spec.description = %q{This gem will help you with getting and checking proxies.}
14
+ spec.homepage = "https://github.com/ruby-matze/proxy_utilities.git"
15
+ spec.license = "MIT"
16
+
17
+
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
+ f.match(%r{^(test|spec|features)/})
21
+ end
22
+ spec.bindir = "exe"
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ["lib"]
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.7"
29
+ spec.add_dependency "nokogiri", "~> 1.8", ">= 1.8.2"
30
+ spec.add_dependency "json", "~> 2.1", ">= 2.1.0"
31
+ spec.add_dependency "iso_country_codes", "~> 0.7",">= 0.7.8"
32
+ spec.add_dependency "net-ping", "~> 2.0", ">= 2.0.4"
33
+ end
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: proxy_utilities
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.1
5
+ platform: ruby
6
+ authors:
7
+ - ruby-matze
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-05-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.8'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 1.8.2
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.8'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.8.2
75
+ - !ruby/object:Gem::Dependency
76
+ name: json
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '2.1'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 2.1.0
85
+ type: :runtime
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '2.1'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 2.1.0
95
+ - !ruby/object:Gem::Dependency
96
+ name: iso_country_codes
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '0.7'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 0.7.8
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '0.7'
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: 0.7.8
115
+ - !ruby/object:Gem::Dependency
116
+ name: net-ping
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: '2.0'
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 2.0.4
125
+ type: :runtime
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.0'
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 2.0.4
135
+ description: This gem will help you with getting and checking proxies.
136
+ email:
137
+ - matze@it-dudes.de
138
+ executables: []
139
+ extensions: []
140
+ extra_rdoc_files: []
141
+ files:
142
+ - ".gitignore"
143
+ - Gemfile
144
+ - LICENSE.txt
145
+ - README.md
146
+ - Rakefile
147
+ - bin/console
148
+ - bin/setup
149
+ - lib/proxy_utilities.rb
150
+ - lib/proxy_utilities/checker.rb
151
+ - lib/proxy_utilities/getter.rb
152
+ - lib/proxy_utilities/version.rb
153
+ - proxy_utilities.gemspec
154
+ homepage: https://github.com/ruby-matze/proxy_utilities.git
155
+ licenses:
156
+ - MIT
157
+ metadata: {}
158
+ post_install_message:
159
+ rdoc_options: []
160
+ require_paths:
161
+ - lib
162
+ required_ruby_version: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ requirements: []
173
+ rubyforge_project:
174
+ rubygems_version: 2.5.2.1
175
+ signing_key:
176
+ specification_version: 4
177
+ summary: Getting and checking Proxies.
178
+ test_files: []