plagiarism-checker 3.4.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/lib/copyleaks/ai_detection_client.rb +98 -98
- data/lib/copyleaks/api.rb +5 -0
- data/lib/copyleaks/app.config.rb +0 -0
- data/lib/copyleaks/models/auth_token.rb +0 -0
- data/lib/copyleaks/models/delete_request_model.rb +0 -0
- data/lib/copyleaks/models/exceptions/auth_expired_exception.rb +0 -0
- data/lib/copyleaks/models/exceptions/command_exception.rb +0 -0
- data/lib/copyleaks/models/exceptions/index.rb +0 -0
- data/lib/copyleaks/models/exceptions/rate_limit_exception.rb +0 -0
- data/lib/copyleaks/models/exceptions/under_maintenance_exception.rb +0 -0
- data/lib/copyleaks/models/exports/export_crawled_version.rb +0 -0
- data/lib/copyleaks/models/exports/export_model.rb +0 -0
- data/lib/copyleaks/models/exports/export_pdf_report.rb +0 -0
- data/lib/copyleaks/models/exports/export_results.rb +0 -0
- data/lib/copyleaks/models/exports/index.rb +0 -0
- data/lib/copyleaks/models/id_object.rb +0 -0
- data/lib/copyleaks/models/index.rb +8 -0
- data/lib/copyleaks/models/start_request_model.rb +0 -0
- data/lib/copyleaks/models/submissions/ai_detection/ai_detection_submission_model.rb +50 -50
- data/lib/copyleaks/models/submissions/ai_detection/natural_language_submission_model.rb +52 -52
- data/lib/copyleaks/models/submissions/ai_detection/source_code_submission_model.rb +55 -55
- data/lib/copyleaks/models/submissions/file_ocr_submission_model.rb +0 -0
- data/lib/copyleaks/models/submissions/file_submission_model.rb +0 -0
- data/lib/copyleaks/models/submissions/index.rb +1 -0
- data/lib/copyleaks/models/submissions/properties/actions.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/ai_generated_text.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/author.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/copyleaks_db.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/cross_languages.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/custom_metadata.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/domains_mode.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/exclude.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/exclude_code.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/filter.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/index.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/indexing.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/indexing_repository.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/language.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/masking_policy.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/pdf_colors.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/pdf_properties.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/pdf_version.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/repository.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/scan_method_algorithm.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/scanning.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/scanning_exclude.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/scanning_repository.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/sensitive_data_protection.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/submission_properties.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/webhooks.rb +0 -0
- data/lib/copyleaks/models/submissions/properties/writing_feedback.rb +0 -0
- data/lib/copyleaks/models/submissions/submission_model.rb +0 -0
- data/lib/copyleaks/models/submissions/url_submission_model.rb +0 -0
- data/lib/copyleaks/models/submissions/webhooks/CompletedWebhook.rb +46 -0
- data/lib/copyleaks/models/submissions/webhooks/CreditsCheckedWebhook.rb +43 -0
- data/lib/copyleaks/models/submissions/webhooks/ErrorWebhook.rb +41 -0
- data/lib/copyleaks/models/submissions/webhooks/ExportCompletedWebhook.rb +44 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/BaseModels/Metadata.rb +89 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/BaseModels/StatusWebhook.rb +42 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/BaseModels/Webhook.rb +43 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/CompletedModels/Notifications.rb +43 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/CompletedModels/Results.rb +68 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/CompletedModels/ScannedDocument.rb +61 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ErrorModels/Error.rb +46 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ExportModels/Task.rb +49 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/NewResultsModels/NewResultScore.rb +42 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/NewResultsModels/NewResultsInternet.rb +60 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/NewResultsModels/NewResultsRepositories.rb +49 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/NotificationsModels/Alerts.rb +65 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Batch.rb +46 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Database.rb +46 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Internet.rb +42 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Repositories.rb +57 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/RepositoryMetadata.rb +30 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb +40 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/SharedResultsModel.rb +46 -0
- data/lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Tags.rb +33 -0
- data/lib/copyleaks/models/submissions/webhooks/IndexedWebhook.rb +29 -0
- data/lib/copyleaks/models/submissions/webhooks/NewResultWebhook.rb +46 -0
- data/lib/copyleaks/models/submissions/webhooks/index.rb +34 -0
- data/lib/copyleaks/models/submissions/writing_assistant/score_weights.rb +54 -54
- data/lib/copyleaks/models/submissions/writing_assistant/writing_assistant_submission_model.rb +56 -56
- data/lib/copyleaks/models/textModeration/requests/CopyleaksTextModerationRequestModel.rb +43 -0
- data/lib/copyleaks/models/textModeration/responses/CopyleaksTextModerationResponseModel.rb +36 -0
- data/lib/copyleaks/models/textModeration/responses/submodules/ModerationsModel.rb +26 -0
- data/lib/copyleaks/models/textModeration/responses/submodules/Text.rb +26 -0
- data/lib/copyleaks/models/textModeration/responses/submodules/TextModerationChars.rb +35 -0
- data/lib/copyleaks/models/textModeration/responses/submodules/TextModerationScannedDocument.rb +47 -0
- data/lib/copyleaks/models/textModeration/responses/submodules/TextModerationsLegend.rb +29 -0
- data/lib/copyleaks/text_moderation_client.rb +51 -0
- data/lib/copyleaks/utils/copyleaks_client.utils.rb +0 -0
- data/lib/copyleaks/utils/status-code.utils.rb +0 -0
- data/lib/copyleaks/version.rb +1 -1
- data/lib/copyleaks/writing_assistant_client.rb +81 -81
- data/lib/copyleaks.rb +0 -0
- data/lib/index.rb +0 -0
- metadata +38 -7
- data/.vscode/launch.json +0 -35
@@ -1,81 +1,81 @@
|
|
1
|
-
#
|
2
|
-
# The MIT License(MIT)
|
3
|
-
#
|
4
|
-
# Copyright(c) 2016 Copyleaks LTD (https://copyleaks.com)
|
5
|
-
#
|
6
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
-
# of this software and associated documentation files (the "Software"), to deal
|
8
|
-
# in the Software without restriction, including without limitation the rights
|
9
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
-
# copies of the Software, and to permit persons to whom the Software is
|
11
|
-
# furnished to do so, subject to the following conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be included in all
|
14
|
-
# copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
-
# SOFTWARE.
|
23
|
-
# =
|
24
|
-
|
25
|
-
module Copyleaks
|
26
|
-
class WritingAssistantClient
|
27
|
-
def initialize(api_client)
|
28
|
-
@api_client = api_client
|
29
|
-
end
|
30
|
-
|
31
|
-
# Get a list of correction types supported within the Writing Assistant API. Correction types apply to all supported languages. The supplied language code for this request is used to determine the language of the texts returned.
|
32
|
-
# * Exceptions:
|
33
|
-
# * * CommandExceptions: Server reject the request. See response status code,
|
34
|
-
# headers and content for more info.
|
35
|
-
# * * UnderMaintenanceException: Copyleaks servers are unavailable for maintenance.
|
36
|
-
# We recommend to implement exponential backoff algorithm as described here:
|
37
|
-
# https://api.copyleaks.com/documentation/v3/exponential-backoff
|
38
|
-
# @param [languageCode] The language for the returned texts to be in. Language codes are in ISO 639-1 standard. Supported Values: en - English
|
39
|
-
def get_correction_types(language_code)
|
40
|
-
path = "/v1/writing-feedback/correction-types/#{language_code}"
|
41
|
-
|
42
|
-
headers = {
|
43
|
-
'Content-Type' => 'application/json',
|
44
|
-
'User-Agent' => Config.user_agent
|
45
|
-
}
|
46
|
-
|
47
|
-
request = Net::HTTP::Get.new(path, headers)
|
48
|
-
ClientUtils.handle_response(@api_client.request(request), 'get_correction_types')
|
49
|
-
end
|
50
|
-
|
51
|
-
# Use Copyleaks Writing Assistant to generate grammar, spelling and sentence corrections for a given text.
|
52
|
-
# * Exceptions:
|
53
|
-
# * * CommandExceptions: Server reject the request. See response status code,
|
54
|
-
# headers and content for more info.
|
55
|
-
# * * UnderMaintenanceException: Copyleaks servers are unavailable for maintenance.
|
56
|
-
# We recommend to implement exponential backoff algorithm as described here:
|
57
|
-
# https://api.copyleaks.com/documentation/v3/exponential-backoff
|
58
|
-
# @param [CopyleaksAuthToken] authToken Copyleaks authentication token
|
59
|
-
# @param [String] scanId Attach your own scan Id
|
60
|
-
# @param [SourceCodeSubmissionModel] submission document
|
61
|
-
def submit_text(authToken, scanId, submission)
|
62
|
-
raise 'scanId is Invalid, must be instance of String' if scanId.nil? || !scanId.instance_of?(String)
|
63
|
-
raise 'submission is invalid, must be an instance of WritingAssistantSubmissionModel' if submission.nil? || !submission.instance_of?(Copyleaks::WritingAssistantSubmissionModel)
|
64
|
-
|
65
|
-
ClientUtils.verify_auth_token(authToken)
|
66
|
-
|
67
|
-
path = "/v1/writing-feedback/#{scanId}/check"
|
68
|
-
|
69
|
-
headers = {
|
70
|
-
'Content-Type' => 'application/json',
|
71
|
-
'User-Agent' => Config.user_agent,
|
72
|
-
'Authorization' => "Bearer #{authToken.accessToken}"
|
73
|
-
}
|
74
|
-
|
75
|
-
request = Net::HTTP::Post.new(path, headers)
|
76
|
-
request.body = submission.to_json
|
77
|
-
|
78
|
-
ClientUtils.handle_response(@api_client.request(request), 'submit_writing_assistant')
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
1
|
+
#
|
2
|
+
# The MIT License(MIT)
|
3
|
+
#
|
4
|
+
# Copyright(c) 2016 Copyleaks LTD (https://copyleaks.com)
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# =
|
24
|
+
|
25
|
+
module Copyleaks
|
26
|
+
class WritingAssistantClient
|
27
|
+
def initialize(api_client)
|
28
|
+
@api_client = api_client
|
29
|
+
end
|
30
|
+
|
31
|
+
# Get a list of correction types supported within the Writing Assistant API. Correction types apply to all supported languages. The supplied language code for this request is used to determine the language of the texts returned.
|
32
|
+
# * Exceptions:
|
33
|
+
# * * CommandExceptions: Server reject the request. See response status code,
|
34
|
+
# headers and content for more info.
|
35
|
+
# * * UnderMaintenanceException: Copyleaks servers are unavailable for maintenance.
|
36
|
+
# We recommend to implement exponential backoff algorithm as described here:
|
37
|
+
# https://api.copyleaks.com/documentation/v3/exponential-backoff
|
38
|
+
# @param [languageCode] The language for the returned texts to be in. Language codes are in ISO 639-1 standard. Supported Values: en - English
|
39
|
+
def get_correction_types(language_code)
|
40
|
+
path = "/v1/writing-feedback/correction-types/#{language_code}"
|
41
|
+
|
42
|
+
headers = {
|
43
|
+
'Content-Type' => 'application/json',
|
44
|
+
'User-Agent' => Config.user_agent
|
45
|
+
}
|
46
|
+
|
47
|
+
request = Net::HTTP::Get.new(path, headers)
|
48
|
+
ClientUtils.handle_response(@api_client.request(request), 'get_correction_types')
|
49
|
+
end
|
50
|
+
|
51
|
+
# Use Copyleaks Writing Assistant to generate grammar, spelling and sentence corrections for a given text.
|
52
|
+
# * Exceptions:
|
53
|
+
# * * CommandExceptions: Server reject the request. See response status code,
|
54
|
+
# headers and content for more info.
|
55
|
+
# * * UnderMaintenanceException: Copyleaks servers are unavailable for maintenance.
|
56
|
+
# We recommend to implement exponential backoff algorithm as described here:
|
57
|
+
# https://api.copyleaks.com/documentation/v3/exponential-backoff
|
58
|
+
# @param [CopyleaksAuthToken] authToken Copyleaks authentication token
|
59
|
+
# @param [String] scanId Attach your own scan Id
|
60
|
+
# @param [SourceCodeSubmissionModel] submission document
|
61
|
+
def submit_text(authToken, scanId, submission)
|
62
|
+
raise 'scanId is Invalid, must be instance of String' if scanId.nil? || !scanId.instance_of?(String)
|
63
|
+
raise 'submission is invalid, must be an instance of WritingAssistantSubmissionModel' if submission.nil? || !submission.instance_of?(Copyleaks::WritingAssistantSubmissionModel)
|
64
|
+
|
65
|
+
ClientUtils.verify_auth_token(authToken)
|
66
|
+
|
67
|
+
path = "/v1/writing-feedback/#{scanId}/check"
|
68
|
+
|
69
|
+
headers = {
|
70
|
+
'Content-Type' => 'application/json',
|
71
|
+
'User-Agent' => Config.user_agent,
|
72
|
+
'Authorization' => "Bearer #{authToken.accessToken}"
|
73
|
+
}
|
74
|
+
|
75
|
+
request = Net::HTTP::Post.new(path, headers)
|
76
|
+
request.body = submission.to_json
|
77
|
+
|
78
|
+
ClientUtils.handle_response(@api_client.request(request), 'submit_writing_assistant')
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
data/lib/copyleaks.rb
CHANGED
File without changes
|
data/lib/index.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plagiarism-checker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Copyleaks ltd
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
12
|
description: Copyleaks detects plagiarism and checks content distribution online.
|
14
13
|
Use Copyleaks to find out if textual content is original and if it has been used
|
@@ -23,7 +22,6 @@ extensions: []
|
|
23
22
|
extra_rdoc_files: []
|
24
23
|
files:
|
25
24
|
- ".gitignore"
|
26
|
-
- ".vscode/launch.json"
|
27
25
|
- Gemfile
|
28
26
|
- LICENSE.txt
|
29
27
|
- README.md
|
@@ -84,8 +82,43 @@ files:
|
|
84
82
|
- lib/copyleaks/models/submissions/properties/writing_feedback.rb
|
85
83
|
- lib/copyleaks/models/submissions/submission_model.rb
|
86
84
|
- lib/copyleaks/models/submissions/url_submission_model.rb
|
85
|
+
- lib/copyleaks/models/submissions/webhooks/CompletedWebhook.rb
|
86
|
+
- lib/copyleaks/models/submissions/webhooks/CreditsCheckedWebhook.rb
|
87
|
+
- lib/copyleaks/models/submissions/webhooks/ErrorWebhook.rb
|
88
|
+
- lib/copyleaks/models/submissions/webhooks/ExportCompletedWebhook.rb
|
89
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/BaseModels/Metadata.rb
|
90
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/BaseModels/StatusWebhook.rb
|
91
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/BaseModels/Webhook.rb
|
92
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/CompletedModels/Notifications.rb
|
93
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/CompletedModels/Results.rb
|
94
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/CompletedModels/ScannedDocument.rb
|
95
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ErrorModels/Error.rb
|
96
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ExportModels/Task.rb
|
97
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/NewResultsModels/NewResultScore.rb
|
98
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/NewResultsModels/NewResultsInternet.rb
|
99
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/NewResultsModels/NewResultsRepositories.rb
|
100
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/NotificationsModels/Alerts.rb
|
101
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Batch.rb
|
102
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Database.rb
|
103
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Internet.rb
|
104
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Repositories.rb
|
105
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/RepositoryMetadata.rb
|
106
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb
|
107
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/SharedResultsModel.rb
|
108
|
+
- lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Tags.rb
|
109
|
+
- lib/copyleaks/models/submissions/webhooks/IndexedWebhook.rb
|
110
|
+
- lib/copyleaks/models/submissions/webhooks/NewResultWebhook.rb
|
111
|
+
- lib/copyleaks/models/submissions/webhooks/index.rb
|
87
112
|
- lib/copyleaks/models/submissions/writing_assistant/score_weights.rb
|
88
113
|
- lib/copyleaks/models/submissions/writing_assistant/writing_assistant_submission_model.rb
|
114
|
+
- lib/copyleaks/models/textModeration/requests/CopyleaksTextModerationRequestModel.rb
|
115
|
+
- lib/copyleaks/models/textModeration/responses/CopyleaksTextModerationResponseModel.rb
|
116
|
+
- lib/copyleaks/models/textModeration/responses/submodules/ModerationsModel.rb
|
117
|
+
- lib/copyleaks/models/textModeration/responses/submodules/Text.rb
|
118
|
+
- lib/copyleaks/models/textModeration/responses/submodules/TextModerationChars.rb
|
119
|
+
- lib/copyleaks/models/textModeration/responses/submodules/TextModerationScannedDocument.rb
|
120
|
+
- lib/copyleaks/models/textModeration/responses/submodules/TextModerationsLegend.rb
|
121
|
+
- lib/copyleaks/text_moderation_client.rb
|
89
122
|
- lib/copyleaks/utils/copyleaks_client.utils.rb
|
90
123
|
- lib/copyleaks/utils/status-code.utils.rb
|
91
124
|
- lib/copyleaks/version.rb
|
@@ -98,7 +131,6 @@ metadata:
|
|
98
131
|
homepage_uri: https://api.copyleaks.com
|
99
132
|
source_code_uri: https://github.com/Copyleaks/Ruby-Plagiarism-Checker
|
100
133
|
changelog_uri: https://github.com/Copyleaks/Ruby-Plagiarism-Checker/releases
|
101
|
-
post_install_message:
|
102
134
|
rdoc_options: []
|
103
135
|
require_paths:
|
104
136
|
- lib
|
@@ -113,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
145
|
- !ruby/object:Gem::Version
|
114
146
|
version: '0'
|
115
147
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
117
|
-
signing_key:
|
148
|
+
rubygems_version: 3.6.7
|
118
149
|
specification_version: 4
|
119
150
|
summary: Detects plagiarism and checks content distribution online.
|
120
151
|
test_files: []
|
data/.vscode/launch.json
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
{
|
2
|
-
// Use IntelliSense to learn about possible attributes.
|
3
|
-
// Hover to view descriptions of existing attributes.
|
4
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
5
|
-
"version": "0.2.0",
|
6
|
-
"configurations": [
|
7
|
-
{
|
8
|
-
"name": "Debug Local File",
|
9
|
-
"type": "Ruby",
|
10
|
-
"request": "launch",
|
11
|
-
"program": "${workspaceRoot}/main.rb"
|
12
|
-
},
|
13
|
-
// Launch the debugger for any given program. In this case, it will run the current file using Ruby
|
14
|
-
{
|
15
|
-
"type": "ruby_lsp",
|
16
|
-
"name": "Debug",
|
17
|
-
"request": "launch",
|
18
|
-
"program": "ruby ${file}"
|
19
|
-
},
|
20
|
-
// Launch the debugger for the current test file
|
21
|
-
{
|
22
|
-
"type": "ruby_lsp",
|
23
|
-
"request": "launch",
|
24
|
-
"name": "Debug test file",
|
25
|
-
"program": "ruby -Itest ${relativeFile}"
|
26
|
-
},
|
27
|
-
// Attach the debugger client to an existing Ruby process that has already been launched with the debugger
|
28
|
-
// server
|
29
|
-
{
|
30
|
-
"type": "ruby_lsp",
|
31
|
-
"request": "attach",
|
32
|
-
"name": "Attach to existing server"
|
33
|
-
}
|
34
|
-
]
|
35
|
-
}
|