proxies-scanner 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -1,24 +1,39 @@
1
1
  # Proxies::Scanner
2
2
 
3
- TODO: Write a gem description
3
+ ```
4
+ 109.123.126.253 8080 [GB] [ OPEN ] response-time: 4659.22 (ms)
5
+ 41.73.2.35 8080 [NG] [ OPEN ] response-time: 3070.06 (ms)
6
+ 125.162.196.35 80 [ID] [FILTERED] response-time: 986.64 (ms)
7
+ 180.247.198.182 8080 [ID] [ CLOSED ]
8
+ 41.75.201.146 3128 [NG] [ OPEN ] response-time: 5603.33 (ms)
9
+ 146.255.9.124 3128 [GB] [ OPEN ] response-time: 6725.64 (ms)
10
+ 117.102.116.251 1080 [ID] [ CLOSED ]
11
+ 110.232.93.9 3128 [ID] [ OPEN ] response-time: 2103.07 (ms)
12
+ 88.51.231.92 8080 [IT] [ OPEN ] response-time: 9210.97 (ms)
13
+ 88.98.38.185 80 [GB] [ OPEN ] response-time: 9276.67 (ms)
14
+ 217.20.245.59 80 [GB] [TIME OUT]
15
+ 81.199.166.156 8080 [GB] [TIME OUT]
16
+ ```
4
17
 
5
18
  ## Installation
6
19
 
7
- Add this line to your application's Gemfile:
20
+ Install it yourself as:
8
21
 
9
- gem 'proxies-scanner'
22
+ $ gem install proxies-scanner
10
23
 
11
- And then execute:
24
+ ## Usage
25
+ Find US proxies
12
26
 
13
- $ bundle
27
+ $ proxies-scanner US
14
28
 
15
- Or install it yourself as:
29
+ Find all proxies
16
30
 
17
- $ gem install proxies-scanner
31
+ $ proxies-scanner
18
32
 
19
- ## Usage
33
+ Check proxies from file
34
+
35
+ $ proxies-scanner -f /var/my_proxies_file
20
36
 
21
- TODO: Write usage instructions here
22
37
 
23
38
  ## Contributing
24
39
 
@@ -27,3 +42,4 @@ TODO: Write usage instructions here
27
42
  3. Commit your changes (`git commit -am 'Added some feature'`)
28
43
  4. Push to the branch (`git push origin my-new-feature`)
29
44
  5. Create new Pull Request
45
+
data/bin/proxies-scanner CHANGED
@@ -51,7 +51,7 @@ end
51
51
  begin
52
52
  proxies = []
53
53
  if ARGV.size > 0
54
- if ARGV[0] = '-f'
54
+ if ARGV[0] == '-f'
55
55
  proxies = Proxies.from_file(ARGV[1])
56
56
  else
57
57
  proxies = scan_areas(ARGV)
@@ -1,3 +1,3 @@
1
1
  module ProxiesScanner
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
5
5
  gem.authors = ["Sam"]
6
6
  gem.email = ["samuel@pagedegeek.com"]
7
7
  gem.description = %q{scan proxies list and check if they are valid}
8
- gem.summary = %q{scan proxies list and check if they are valid}
8
+ gem.summary = %q{find, scan and check proxies}
9
9
  gem.homepage = "http://www.github.com/pagedegeek/proxies-scanner"
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxies-scanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -86,5 +86,5 @@ rubyforge_project:
86
86
  rubygems_version: 1.8.24
87
87
  signing_key:
88
88
  specification_version: 3
89
- summary: scan proxies list and check if they are valid
89
+ summary: find, scan and check proxies
90
90
  test_files: []