polipus 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/polipus.rb +0 -5
- data/lib/polipus/url_tracker/redis_set.rb +2 -2
- data/lib/polipus/version.rb +1 -1
- data/spec/polipus_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDlmZGJiYmY1MWQ1NWFiMDMxZGRmYzBmNGQ4OGU4ZGFmOTgxN2M5Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2NjYmI5N2Y1NDA4NjVlNGQ2YWNhMWUxYjkyODA5NjBkOWVmOTljZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmQ1ZDc2M2RiYmVmZjg0NDVlYjYyNTYzOWY4M2NjMGQ1MDZjMGQwZWYwNjJj
|
10
|
+
OWMzNjY4ODI3ZTA5ZmEzM2U0YTZiNWQxOWI2YzkyNDAzM2Q5YzIyZDFiNmE5
|
11
|
+
MzQ0YzM3ZDgwNTk5N2ZjNzMxOTY3OTllNWFjNDI3YjQ0NGVhODg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTI1NWUzNzQwNTA2NTU4Mjk5OTVhNmI3NDlkNDFmOTRmN2JmZDhhZDRhYWZl
|
14
|
+
Y2VkM2ZkNDZjZWYyOTk0NTgzZTIxOTA0ZGEzMjc1MGNmOGFkYTgxZjc4ZWJj
|
15
|
+
ZGVhY2FiNDk3MDYwNzllMGNiYTI2NDMwYTAyMzY4NTczYmJjNGQ=
|
data/lib/polipus.rb
CHANGED
@@ -341,11 +341,6 @@ module Polipus
|
|
341
341
|
# URLs enqueue policy
|
342
342
|
def should_be_visited?(url, with_tracker = true)
|
343
343
|
|
344
|
-
# return +true+ If an url is part of the initial seeder
|
345
|
-
# no matter what
|
346
|
-
|
347
|
-
return true if @urls.map(&:to_s).include?(url.to_s)
|
348
|
-
|
349
344
|
# Check against whitelist pattern matching
|
350
345
|
unless @follow_links_like.empty?
|
351
346
|
return false unless @follow_links_like.any?{|p| url.path =~ p}
|
data/lib/polipus/version.rb
CHANGED
data/spec/polipus_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polipus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Laurita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-bloomfilter
|