proxy_fetcher 0.15.1 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/ci.yml +58 -0
- data/Gemfile +1 -1
- data/gemfiles/nokogiri.gemfile +1 -1
- data/gemfiles/oga.gemfile +1 -1
- data/lib/proxy_fetcher/providers/free_proxy_list.rb +1 -1
- data/lib/proxy_fetcher/providers/free_proxy_list_socks.rb +1 -1
- data/lib/proxy_fetcher/providers/free_proxy_list_ssl.rb +1 -1
- data/lib/proxy_fetcher/providers/free_proxy_list_us.rb +1 -1
- data/lib/proxy_fetcher/version.rb +2 -2
- data/proxy_fetcher.gemspec +1 -1
- metadata +5 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 985e3e5cffffa62960dbe04510e232b5a8e652119acb2cc787824e0834f10870
|
4
|
+
data.tar.gz: beb50433ddf5d298ca1c7c45af357395cb24f87b695231159b3b52ad8429cd8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28ee05704cdcf8dc48881119a208dad97408d3c50f34b691e6062ca6a8697f3ffe58ba5056c0c8d07f8fec9f5f977927877341572716fe6db3a28876b537264d
|
7
|
+
data.tar.gz: c0533aa9584e02300734385ae8552c5e50d9836f7647337eb797eb11aa50b0edd93bc6a54eb3b22059ac4eed26adbb8ea21dcca9285d9bceff019c67a797146c
|
@@ -0,0 +1,58 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
name: >-
|
8
|
+
Ruby ${{ matrix.ruby }} (${{ matrix.gemfile }})
|
9
|
+
env:
|
10
|
+
CI: true
|
11
|
+
runs-on: ${{ matrix.os }}
|
12
|
+
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.experimental }}
|
13
|
+
if: |
|
14
|
+
!( contains(github.event.pull_request.title, '[ci skip]')
|
15
|
+
|| contains(github.event.pull_request.title, '[skip ci]'))
|
16
|
+
strategy:
|
17
|
+
fail-fast: true
|
18
|
+
matrix:
|
19
|
+
experimental: [false]
|
20
|
+
os: [ ubuntu-latest ]
|
21
|
+
ruby:
|
22
|
+
- 2.6
|
23
|
+
- 2.7
|
24
|
+
- '3.0'
|
25
|
+
- '3.1'
|
26
|
+
gemfile:
|
27
|
+
- gemfiles/oga.gemfile
|
28
|
+
- gemfiles/nokogiri.gemfile
|
29
|
+
include:
|
30
|
+
- ruby: head
|
31
|
+
os: ubuntu-latest
|
32
|
+
gemfile: gemfiles/nokogiri.gemfile
|
33
|
+
experimental: true
|
34
|
+
- ruby: head
|
35
|
+
os: ubuntu-latest
|
36
|
+
gemfile: gemfiles/oga.gemfile
|
37
|
+
experimental: true
|
38
|
+
- ruby: jruby
|
39
|
+
os: ubuntu-latest
|
40
|
+
gemfile: gemfiles/nokogiri.gemfile
|
41
|
+
experimental: true
|
42
|
+
- ruby: truffleruby
|
43
|
+
os: ubuntu-latest
|
44
|
+
gemfile: gemfiles/nokogiri.gemfile
|
45
|
+
experimental: true
|
46
|
+
steps:
|
47
|
+
- name: Repo checkout
|
48
|
+
uses: actions/checkout@v2
|
49
|
+
|
50
|
+
- name: Setup Ruby
|
51
|
+
uses: ruby/setup-ruby@v1
|
52
|
+
with:
|
53
|
+
ruby-version: ${{ matrix.ruby }}
|
54
|
+
bundler-cache: true
|
55
|
+
|
56
|
+
- name: Run tests
|
57
|
+
timeout-minutes: 10
|
58
|
+
run: bundle exec rake spec
|
data/Gemfile
CHANGED
data/gemfiles/nokogiri.gemfile
CHANGED
data/gemfiles/oga.gemfile
CHANGED
@@ -11,7 +11,7 @@ module ProxyFetcher
|
|
11
11
|
|
12
12
|
# [NOTE] Doesn't support filtering
|
13
13
|
def xpath
|
14
|
-
|
14
|
+
"//table[./thead/tr/th[contains(text(), 'IP')]]/tbody/tr"
|
15
15
|
end
|
16
16
|
|
17
17
|
# Converts HTML node (entry of N tags) to <code>ProxyFetcher::Proxy</code>
|
@@ -11,7 +11,7 @@ module ProxyFetcher
|
|
11
11
|
|
12
12
|
# [NOTE] Doesn't support filtering
|
13
13
|
def xpath
|
14
|
-
|
14
|
+
"//table[./thead/tr/th[contains(text(), 'IP')]]/tbody/tr"
|
15
15
|
end
|
16
16
|
|
17
17
|
# Converts HTML node (entry of N tags) to <code>ProxyFetcher::Proxy</code>
|
@@ -11,7 +11,7 @@ module ProxyFetcher
|
|
11
11
|
|
12
12
|
# [NOTE] Doesn't support filtering
|
13
13
|
def xpath
|
14
|
-
|
14
|
+
"//table[./thead/tr/th[contains(text(), 'IP')]]/tbody/tr"
|
15
15
|
end
|
16
16
|
|
17
17
|
# Converts HTML node (entry of N tags) to <code>ProxyFetcher::Proxy</code>
|
@@ -11,7 +11,7 @@ module ProxyFetcher
|
|
11
11
|
|
12
12
|
# [NOTE] Doesn't support filtering
|
13
13
|
def xpath
|
14
|
-
|
14
|
+
"//table[./thead/tr/th[contains(text(), 'IP')]]/tbody/tr"
|
15
15
|
end
|
16
16
|
|
17
17
|
# Converts HTML node (entry of N tags) to <code>ProxyFetcher::Proxy</code>
|
data/proxy_fetcher.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.license = "MIT"
|
24
24
|
gem.required_ruby_version = ">= 2.3.0"
|
25
25
|
|
26
|
-
gem.add_runtime_dependency "http", ">= 3"
|
26
|
+
gem.add_runtime_dependency "http", ">= 3"
|
27
27
|
|
28
28
|
gem.add_development_dependency "rake", ">= 12.0"
|
29
29
|
gem.add_development_dependency "rspec", "~> 3.9"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proxy_fetcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Bulai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '3'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '5'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rake
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,6 +61,8 @@ executables:
|
|
67
61
|
extensions: []
|
68
62
|
extra_rdoc_files: []
|
69
63
|
files:
|
64
|
+
- ".github/dependabot.yml"
|
65
|
+
- ".github/workflows/ci.yml"
|
70
66
|
- ".gitignore"
|
71
67
|
- CHANGELOG.md
|
72
68
|
- CODE_OF_CONDUCT.md
|
@@ -143,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
139
|
- !ruby/object:Gem::Version
|
144
140
|
version: '0'
|
145
141
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.0.8
|
147
143
|
signing_key:
|
148
144
|
specification_version: 4
|
149
145
|
summary: Ruby gem for dealing with proxy lists from different providers
|