plagiarism2 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plagiarism/strategries/duck.rb +1 -1
- data/lib/plagiarism/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e004d9b6287e44d05012c60bf573e6ba83a7b42
|
4
|
+
data.tar.gz: 5e9a094a0e0180b5d0dc47cc7d3010902f47fdde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 415b6c9790563d0567ad67836c53aef6affc2658aaa700e1c9f6db44f8fab308f5243808d458e99081d78d59b8d68d1231473e6f3d604466e239873d4797aa87
|
7
|
+
data.tar.gz: 9060d0de2c72a0f85eafcfbd902b73016779520ef8eb1350f33ecc25f963e19e6dfeb1926f72ccfd18e671a91c17cfb707924f6ea8a635c1c04c4186f70dba0e
|
@@ -11,7 +11,7 @@ module Plagiarism
|
|
11
11
|
|
12
12
|
def exists?(response)
|
13
13
|
doc = Nokogiri::HTML response
|
14
|
-
doc.css('.results_links_deep').all? do |row|
|
14
|
+
doc.css('.results_links_deep:not(.result--no-result)').all? do |row|
|
15
15
|
href = row.at_css('.result__a').attributes['href'].value rescue ''
|
16
16
|
uri = URI.parse href
|
17
17
|
uri.host =~ whitelists_regex
|
data/lib/plagiarism/version.rb
CHANGED