plagiarism2 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plagiarism/cli.rb +1 -1
- data/lib/plagiarism/strategries/yahoo.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: c76838179f2f533041c1a29f8c248e490bbdc78d
|
4
|
+
data.tar.gz: 4b3184993d4f8b6cf5e9f51bfb1c736ec8b33dec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bac86541499004dbb99bd336c410417ec6b506cf1d4375f397b400de2055b62aaad7fc77b7b39a8c4a12e2560092db503b24ed069933c0e66108fe10c948264
|
7
|
+
data.tar.gz: 2d199601b595ae7d0009413b947a3ebe8c0e0658d7a82d2e9e50f054b4efecb1dbd3fef109a02a40830f2bfefd65a0027abd7aebfb33ade9d2e99cf86e02c131
|
data/lib/plagiarism/cli.rb
CHANGED
@@ -21,7 +21,7 @@ module Plagiarism
|
|
21
21
|
method_option :path, aliases: '-p', desc: 'where put the config', type: :string, default: CONFIG_PATH
|
22
22
|
def init
|
23
23
|
create_file options[:path], <<-STRING
|
24
|
-
strategies: "
|
24
|
+
strategies: "free_google"
|
25
25
|
whitelists: "www.ring.md, blog.ring.md"
|
26
26
|
bing_key: xxx
|
27
27
|
google_key: xxx
|
@@ -6,7 +6,7 @@ module Plagiarism
|
|
6
6
|
class << self
|
7
7
|
|
8
8
|
def fetch(content, params)
|
9
|
-
Typhoeus.get(URL, params: params.merge(p: content)
|
9
|
+
Typhoeus.get(URL, params: params.merge(p: content))
|
10
10
|
end
|
11
11
|
|
12
12
|
def iterate(response, action = :all?)
|
data/lib/plagiarism/version.rb
CHANGED