proxy_manager 0.0.5 → 0.0.6
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 +4 -4
- data/.gitignore +7 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +77 -0
- data/Guardfile +25 -0
- data/proxy_manager.gemspec +31 -0
- metadata +6 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55a201bf0d9e5f9e7c06a78e669d851874aff5d7
|
|
4
|
+
data.tar.gz: 56067ee0636871a1246bc9eb89874f6c3036c4de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e0ddb9d072da7aeee2c33991c65a5308a03d1f8b09a15cc1444033714d56053a72101613298f0c7e23e92dcd163fc15587b32f16c6fbd497c8e670885ff7a4b
|
|
7
|
+
data.tar.gz: 3b4b863f98bf219c0d899a11d75dd6685e9c4d3e5e169eff8dcf119bce2fd8b1d91a4384cf625ed6d015f0bde2fd7105cd2b67f634615da97372dd189ebf7ea1
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
proxy_manager (0.0.2)
|
|
5
|
+
net-ping (~> 1.7, >= 1.7.2)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
ansi (1.4.3)
|
|
11
|
+
celluloid (0.15.2)
|
|
12
|
+
timers (~> 1.1.0)
|
|
13
|
+
celluloid-io (0.15.0)
|
|
14
|
+
celluloid (>= 0.15.0)
|
|
15
|
+
nio4r (>= 0.5.0)
|
|
16
|
+
coderay (1.1.0)
|
|
17
|
+
diff-lcs (1.2.5)
|
|
18
|
+
ffi (1.9.3)
|
|
19
|
+
formatador (0.2.4)
|
|
20
|
+
fuubar (1.3.2)
|
|
21
|
+
rspec (>= 2.14.0, < 3.1.0)
|
|
22
|
+
ruby-progressbar (~> 1.3)
|
|
23
|
+
growl (1.0.3)
|
|
24
|
+
guard (2.6.0)
|
|
25
|
+
formatador (>= 0.2.4)
|
|
26
|
+
listen (~> 2.7)
|
|
27
|
+
lumberjack (~> 1.0)
|
|
28
|
+
pry (>= 0.9.12)
|
|
29
|
+
thor (>= 0.18.1)
|
|
30
|
+
guard-rspec (4.2.8)
|
|
31
|
+
guard (~> 2.1)
|
|
32
|
+
rspec (>= 2.14, < 4.0)
|
|
33
|
+
listen (2.7.1)
|
|
34
|
+
celluloid (>= 0.15.2)
|
|
35
|
+
celluloid-io (>= 0.15.0)
|
|
36
|
+
rb-fsevent (>= 0.9.3)
|
|
37
|
+
rb-inotify (>= 0.9)
|
|
38
|
+
lumberjack (1.0.5)
|
|
39
|
+
method_source (0.8.2)
|
|
40
|
+
minitest (4.7.5)
|
|
41
|
+
net-ping (1.7.2)
|
|
42
|
+
nio4r (1.0.0)
|
|
43
|
+
pry (0.9.12.6)
|
|
44
|
+
coderay (~> 1.0)
|
|
45
|
+
method_source (~> 0.8)
|
|
46
|
+
slop (~> 3.4)
|
|
47
|
+
rb-fsevent (0.9.4)
|
|
48
|
+
rb-inotify (0.9.3)
|
|
49
|
+
ffi (>= 0.5.0)
|
|
50
|
+
rspec (2.14.1)
|
|
51
|
+
rspec-core (~> 2.14.0)
|
|
52
|
+
rspec-expectations (~> 2.14.0)
|
|
53
|
+
rspec-mocks (~> 2.14.0)
|
|
54
|
+
rspec-core (2.14.8)
|
|
55
|
+
rspec-expectations (2.14.5)
|
|
56
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
|
57
|
+
rspec-mocks (2.14.6)
|
|
58
|
+
ruby-progressbar (1.4.2)
|
|
59
|
+
slop (3.5.0)
|
|
60
|
+
thor (0.19.1)
|
|
61
|
+
timers (1.1.0)
|
|
62
|
+
turn (0.9.7)
|
|
63
|
+
ansi
|
|
64
|
+
minitest (~> 4)
|
|
65
|
+
yard (0.8.7.4)
|
|
66
|
+
|
|
67
|
+
PLATFORMS
|
|
68
|
+
ruby
|
|
69
|
+
|
|
70
|
+
DEPENDENCIES
|
|
71
|
+
fuubar (>= 1.3.2)
|
|
72
|
+
growl (>= 1.0.3)
|
|
73
|
+
guard-rspec (>= 4.2.8)
|
|
74
|
+
proxy_manager!
|
|
75
|
+
rspec (>= 2.14.1)
|
|
76
|
+
turn (>= 0.9.7)
|
|
77
|
+
yard (>= 0.8.7.4)
|
data/Guardfile
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# A sample Guardfile
|
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
|
3
|
+
|
|
4
|
+
guard :rspec do
|
|
5
|
+
watch(%r{^spec/.+_spec\.rb$})
|
|
6
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
|
7
|
+
watch('spec/spec_helper.rb') { "spec" }
|
|
8
|
+
|
|
9
|
+
# Rails example
|
|
10
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
|
11
|
+
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
|
12
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
|
13
|
+
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
|
14
|
+
watch('config/routes.rb') { "spec/routing" }
|
|
15
|
+
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
|
16
|
+
|
|
17
|
+
# Capybara features specs
|
|
18
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
|
19
|
+
|
|
20
|
+
# Turnip features and steps
|
|
21
|
+
watch(%r{^spec/acceptance/(.+)\.feature$})
|
|
22
|
+
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
notification :growl
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
2
|
+
|
|
3
|
+
# Describe your gem and declare its dependencies:
|
|
4
|
+
Gem::Specification.new do |s|
|
|
5
|
+
s.name = "proxy_manager"
|
|
6
|
+
s.version = '0.0.6'
|
|
7
|
+
s.authors = ["Kirill Platonov"]
|
|
8
|
+
s.licenses = ['MIT']
|
|
9
|
+
s.email = ["platonov.kd@gmail.com"]
|
|
10
|
+
s.homepage = "https://github.com/bloodyhistory/proxy_manager"
|
|
11
|
+
s.summary = "Ruby proxy manager for easy usage proxy in parser/web bots."
|
|
12
|
+
s.description = <<-DESCRIPTION
|
|
13
|
+
This gem is for easy usage proxy in your parsers/web-bots. It will manage
|
|
14
|
+
your proxy list and check availability.
|
|
15
|
+
DESCRIPTION
|
|
16
|
+
|
|
17
|
+
# s.files = Dir["{lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md", ".yardopts", ".rspec"]
|
|
18
|
+
s.files = `git ls-files`.split($/)
|
|
19
|
+
s.test_files = Dir["spec/**/*"]
|
|
20
|
+
|
|
21
|
+
s.add_dependency 'net-ping', '~> 1.7', '>= 1.7.2'
|
|
22
|
+
|
|
23
|
+
s.has_rdoc = 'yard'
|
|
24
|
+
|
|
25
|
+
s.add_development_dependency 'turn', '~> 0.9', '>= 0.9.7'
|
|
26
|
+
s.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
|
|
27
|
+
s.add_development_dependency 'guard-rspec', '~> 4.2', '>= 4.2.8'
|
|
28
|
+
s.add_development_dependency 'growl', '~> 1.0', '>= 1.0.3'
|
|
29
|
+
s.add_development_dependency 'fuubar', '~> 1.3', '>= 1.3.2'
|
|
30
|
+
s.add_development_dependency 'yard', '~> 0.8', '>= 0.8.7.4'
|
|
31
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: proxy_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kirill Platonov
|
|
@@ -159,14 +159,19 @@ executables: []
|
|
|
159
159
|
extensions: []
|
|
160
160
|
extra_rdoc_files: []
|
|
161
161
|
files:
|
|
162
|
+
- ".gitignore"
|
|
162
163
|
- ".rspec"
|
|
163
164
|
- ".yardopts"
|
|
165
|
+
- Gemfile
|
|
166
|
+
- Gemfile.lock
|
|
167
|
+
- Guardfile
|
|
164
168
|
- MIT-LICENSE
|
|
165
169
|
- README.md
|
|
166
170
|
- Rakefile
|
|
167
171
|
- lib/proxy_manager.rb
|
|
168
172
|
- lib/proxy_manager/main.rb
|
|
169
173
|
- lib/tasks/proxy_manager_tasks.rake
|
|
174
|
+
- proxy_manager.gemspec
|
|
170
175
|
- spec/proxy_manager/proxy_manager_spec.rb
|
|
171
176
|
- spec/spec_helper.rb
|
|
172
177
|
- spec/support/bad_proxies.txt
|