plagiarism-checker 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d505c3202beab2a3fb6b94e7d1ba33e11563f3ec
4
- data.tar.gz: 650078b90aed95d6fe05b703cb689f3abdeb7d9f
3
+ metadata.gz: 48873f605441c7f95df8bf4804dc695c5121c3a6
4
+ data.tar.gz: 56031d400ae5b91ebb5c5f842a6ffbd1068447ab
5
5
  SHA512:
6
- metadata.gz: 72633294ef59a7cca317fa774608a9e19887a5bf9e608de4499ffa9730ae9efe04a8707d1812b6c8b40407061d28c382b52deeaf70569ebdb5faaba033fd5fd2
7
- data.tar.gz: b548cefb5cf621e19b1593c78fbd14ce525aa50475bdbe682cf0433fa802871bda5325642a49e03facc30e75089f1961456d82d4e43eef71e159e8b373e5c452
6
+ metadata.gz: 82a812427956e5a54fc92f9dc2d07cb87e445aa7ef8838cb6877b4453c44c271b474953780a047b7cc7c9d456130bf85dfe803dc625779b222c0a5f476f3c31d
7
+ data.tar.gz: b79112bee5ced3b420e473be482bb48b71228039b65224ddb439672c0224d8cd12dce4fa0cbca7b876a39aaac0c909c9c6ba6858fa64999165fa18b8697168f7
@@ -1,60 +1,58 @@
1
1
  module CopyleaksApi
2
- module Models
3
- class ResultRecord
4
- def initialize(response)
5
- @URL = response['URL']
6
- @Percents = response['Percents']
7
- @NumberOfCopiedWords = response['NumberOfCopiedWords']
8
- @CachedVersion = response['CachedVersion']
9
- @Title = response['Title']
10
- @Introduction = response['Introduction']
11
- @ComparisonReport = response['ComparisonReport']
12
- @EmbededComparison = response['EmbededComparison']
13
- end
14
-
15
- def get_url
16
- @URL
17
- end
18
-
19
- def get_percents
20
- @Percents
21
- end
22
-
23
- def get_number_of_copied_words
24
- @NumberOfCopiedWords
25
- end
26
-
27
- def get_cached_version
28
- @CachedVersion
29
- end
30
-
31
- def get_title
32
- @Title
33
- end
34
-
35
- def get_introduction
36
- @Introduction
37
- end
38
-
39
- def get_comparison_report
40
- @ComparisonReport
41
- end
42
-
43
- def get_embeded_comparison
44
- @EmbededComparison
45
- end
46
-
47
- def to_s
48
- puts "----------------------------------------------------------------"
49
- puts "Title: #{@Title}"
50
- puts "Introduction: #{@Introduction}"
51
- puts "Url: #{@URL}"
52
- puts "Percents: #{@Percents}%"
53
- puts "NumberOfCopiedWords: #{@NumberOfCopiedWords}"
54
- puts "CachedVersion: #{@CachedVersion}"
55
- puts "ComparisonReport: #{@ComparisonReport}"
56
- puts "EmbededComparison: #{@EmbededComparison}"
57
- end
58
- end
59
- end
2
+ class ResultRecord
3
+ def initialize(response)
4
+ @URL = response['URL']
5
+ @Percents = response['Percents']
6
+ @NumberOfCopiedWords = response['NumberOfCopiedWords']
7
+ @CachedVersion = response['CachedVersion']
8
+ @Title = response['Title']
9
+ @Introduction = response['Introduction']
10
+ @ComparisonReport = response['ComparisonReport']
11
+ @EmbededComparison = response['EmbededComparison']
12
+ end
13
+
14
+ def get_url
15
+ @URL
16
+ end
17
+
18
+ def get_percents
19
+ @Percents
20
+ end
21
+
22
+ def get_number_of_copied_words
23
+ @NumberOfCopiedWords
24
+ end
25
+
26
+ def get_cached_version
27
+ @CachedVersion
28
+ end
29
+
30
+ def get_title
31
+ @Title
32
+ end
33
+
34
+ def get_introduction
35
+ @Introduction
36
+ end
37
+
38
+ def get_comparison_report
39
+ @ComparisonReport
40
+ end
41
+
42
+ def get_embeded_comparison
43
+ @EmbededComparison
44
+ end
45
+
46
+ def to_s
47
+ puts "----------------------------------------------------------------"
48
+ puts "Title: #{@Title}"
49
+ puts "Introduction: #{@Introduction}"
50
+ puts "Url: #{@URL}"
51
+ puts "Percents: #{@Percents}%"
52
+ puts "NumberOfCopiedWords: #{@NumberOfCopiedWords}"
53
+ puts "CachedVersion: #{@CachedVersion}"
54
+ puts "ComparisonReport: #{@ComparisonReport}"
55
+ puts "EmbededComparison: #{@EmbededComparison}"
56
+ end
57
+ end
60
58
  end
@@ -1,3 +1,3 @@
1
1
  module CopyleaksApi
2
- VERSION = '2.1.1'.freeze
2
+ VERSION = '2.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plagiarism-checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Copyleaks ltd
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-11 00:00:00.000000000 Z
11
+ date: 2018-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webmock