pdf4me 1.0.1 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{LICENSE → LICENSE.txt} +6 -6
- data/README.md +124 -395
- data/lib/pdf4me.rb +40 -110
- data/lib/pdf4me/actions/complex_action.rb +64 -0
- data/lib/pdf4me/actions/convert_file_to_pdf.rb +30 -0
- data/lib/pdf4me/actions/convert_to_pdf.rb +14 -0
- data/lib/pdf4me/actions/create_pdf_a.rb +29 -0
- data/lib/pdf4me/actions/create_thumbnail.rb +55 -0
- data/lib/pdf4me/actions/extract_pages.rb +49 -0
- data/lib/pdf4me/actions/merge_two_pdfs.rb +34 -0
- data/lib/pdf4me/actions/optimize.rb +10 -0
- data/lib/pdf4me/actions/optimize_by_profile.rb +42 -0
- data/lib/pdf4me/actions/split_by_page_nr.rb +55 -0
- data/lib/pdf4me/actions/text_stamp.rb +63 -0
- data/lib/pdf4me/actions/wrapper_action.rb +65 -0
- data/lib/pdf4me/client.rb +87 -0
- data/lib/pdf4me/configuration.rb +9 -88
- data/lib/pdf4me/exceptions.rb +26 -0
- data/lib/pdf4me/models/base.rb +26 -0
- data/lib/pdf4me/models/convert_to_pdf_action.rb +26 -246
- data/lib/pdf4me/models/convert_to_pdf_res.rb +5 -185
- data/lib/pdf4me/models/doc_log.rb +12 -257
- data/lib/pdf4me/models/doc_metadata.rb +13 -282
- data/lib/pdf4me/models/document.rb +14 -282
- data/lib/pdf4me/models/notification.rb +8 -191
- data/lib/pdf4me/models/optimize_action.rb +72 -508
- data/lib/pdf4me/models/optimize_res.rb +5 -195
- data/lib/pdf4me/models/page.rb +12 -254
- data/lib/pdf4me/utils/assigner.rb +10 -0
- data/lib/pdf4me/utils/serializer.rb +43 -0
- data/lib/pdf4me/version.rb +1 -13
- data/spec/actions/create_pdf_a_spec.rb +21 -0
- data/spec/actions/wrapper_action_spec.rb +24 -0
- data/spec/files/4.pdf +0 -0
- data/spec/spec_helper.rb +17 -100
- metadata +70 -421
- data/Gemfile +0 -7
- data/Rakefile +0 -8
- data/docs/ActionFlow.md +0 -8
- data/docs/ApiUsageRes.md +0 -11
- data/docs/ArchiveConfig.md +0 -11
- data/docs/ArchiveJobReq.md +0 -12
- data/docs/ArchiveJobRes.md +0 -9
- data/docs/Color.md +0 -10
- data/docs/ConvertApi.md +0 -102
- data/docs/ConvertToPdf.md +0 -10
- data/docs/ConvertToPdfAction.md +0 -10
- data/docs/ConvertToPdfRes.md +0 -8
- data/docs/CreateImages.md +0 -10
- data/docs/CreateImagesRes.md +0 -8
- data/docs/CreatePdfA.md +0 -10
- data/docs/CreatePdfARes.md +0 -8
- data/docs/CustomCMSConfig.md +0 -23
- data/docs/DocAction.md +0 -8
- data/docs/DocLog.md +0 -12
- data/docs/DocMetadata.md +0 -16
- data/docs/Document.md +0 -16
- data/docs/DocumentApi.md +0 -203
- data/docs/DropDocumentReq.md +0 -20
- data/docs/DropDocumentRes.md +0 -15
- data/docs/ExecutionTrigger.md +0 -10
- data/docs/Extract.md +0 -10
- data/docs/ExtractAction.md +0 -9
- data/docs/ExtractApi.md +0 -102
- data/docs/ExtractRes.md +0 -8
- data/docs/GetDocumentListRes.md +0 -13
- data/docs/GetDocumentReq.md +0 -14
- data/docs/GetDocumentRes.md +0 -14
- data/docs/IFormFile.md +0 -13
- data/docs/Image.md +0 -15
- data/docs/ImageAction.md +0 -30
- data/docs/ImageApi.md +0 -107
- data/docs/Job.md +0 -10
- data/docs/JobApi.md +0 -197
- data/docs/JobConfig.md +0 -18
- data/docs/JobConfigRes.md +0 -8
- data/docs/KeyValuePairStringObject.md +0 -9
- data/docs/KeyValuePairStringString.md +0 -9
- data/docs/ManagementApi.md +0 -92
- data/docs/Merge.md +0 -10
- data/docs/MergeAction.md +0 -8
- data/docs/MergeApi.md +0 -102
- data/docs/MergeRes.md +0 -8
- data/docs/Notification.md +0 -9
- data/docs/OcrAction.md +0 -12
- data/docs/OcrApi.md +0 -57
- data/docs/Optimize.md +0 -10
- data/docs/OptimizeAction.md +0 -35
- data/docs/OptimizeApi.md +0 -103
- data/docs/OptimizeRes.md +0 -9
- data/docs/Page.md +0 -14
- data/docs/PageSelection.md +0 -10
- data/docs/Pdf4meAction.md +0 -12
- data/docs/Pdf4meDocument.md +0 -32
- data/docs/Pdf4meException.md +0 -8
- data/docs/PdfAAction.md +0 -14
- data/docs/PdfAApi.md +0 -102
- data/docs/PdfFont.md +0 -9
- data/docs/Pricing.md +0 -13
- data/docs/ProduceDocuments.md +0 -14
- data/docs/ProduceDocumentsRes.md +0 -8
- data/docs/ProduceOutput.md +0 -8
- data/docs/RGBSet.md +0 -10
- data/docs/RecognizeDocument.md +0 -10
- data/docs/RecognizeDocumentRes.md +0 -9
- data/docs/Rectangle.md +0 -11
- data/docs/Rotate.md +0 -10
- data/docs/RunJobRes.md +0 -10
- data/docs/SignatureConfig.md +0 -7
- data/docs/Split.md +0 -10
- data/docs/SplitAction.md +0 -11
- data/docs/SplitApi.md +0 -103
- data/docs/SplitRes.md +0 -8
- data/docs/Stamp.md +0 -10
- data/docs/StampAction.md +0 -22
- data/docs/StampApi.md +0 -110
- data/docs/StampRes.md +0 -8
- data/docs/StorageFolder.md +0 -10
- data/docs/Text.md +0 -17
- data/docs/Transform.md +0 -13
- data/docs/Translate.md +0 -9
- data/docs/UserFingerprint.md +0 -9
- data/docs/VersionRes.md +0 -8
- data/docs/java.md +0 -425
- data/lib/pdf4me/api/convert_api.rb +0 -130
- data/lib/pdf4me/api/document_api.rb +0 -218
- data/lib/pdf4me/api/extract_api.rb +0 -131
- data/lib/pdf4me/api/image_api.rb +0 -139
- data/lib/pdf4me/api/job_api.rb +0 -223
- data/lib/pdf4me/api/management_api.rb +0 -117
- data/lib/pdf4me/api/merge_api.rb +0 -131
- data/lib/pdf4me/api/ocr_api.rb +0 -74
- data/lib/pdf4me/api/optimize_api.rb +0 -139
- data/lib/pdf4me/api/pdf_a_api.rb +0 -134
- data/lib/pdf4me/api/split_api.rb +0 -135
- data/lib/pdf4me/api/stamp_api.rb +0 -159
- data/lib/pdf4me/api_client.rb +0 -380
- data/lib/pdf4me/api_error.rb +0 -38
- data/lib/pdf4me/models/action_flow.rb +0 -190
- data/lib/pdf4me/models/api_usage_res.rb +0 -219
- data/lib/pdf4me/models/archive_config.rb +0 -226
- data/lib/pdf4me/models/archive_job_req.rb +0 -249
- data/lib/pdf4me/models/archive_job_res.rb +0 -207
- data/lib/pdf4me/models/color.rb +0 -206
- data/lib/pdf4me/models/convert_to_pdf.rb +0 -209
- data/lib/pdf4me/models/create_images.rb +0 -209
- data/lib/pdf4me/models/create_images_res.rb +0 -189
- data/lib/pdf4me/models/create_pdf_a.rb +0 -209
- data/lib/pdf4me/models/create_pdf_a_res.rb +0 -189
- data/lib/pdf4me/models/custom_cms_config.rb +0 -323
- data/lib/pdf4me/models/doc_action.rb +0 -190
- data/lib/pdf4me/models/drop_document_req.rb +0 -348
- data/lib/pdf4me/models/drop_document_res.rb +0 -260
- data/lib/pdf4me/models/execution_trigger.rb +0 -206
- data/lib/pdf4me/models/extract.rb +0 -207
- data/lib/pdf4me/models/extract_action.rb +0 -201
- data/lib/pdf4me/models/extract_res.rb +0 -188
- data/lib/pdf4me/models/get_document_list_res.rb +0 -237
- data/lib/pdf4me/models/get_document_req.rb +0 -243
- data/lib/pdf4me/models/get_document_res.rb +0 -246
- data/lib/pdf4me/models/i_form_file.rb +0 -235
- data/lib/pdf4me/models/image.rb +0 -300
- data/lib/pdf4me/models/image_action.rb +0 -513
- data/lib/pdf4me/models/job.rb +0 -213
- data/lib/pdf4me/models/job_config.rb +0 -298
- data/lib/pdf4me/models/job_config_res.rb +0 -193
- data/lib/pdf4me/models/key_value_pair_string_object.rb +0 -197
- data/lib/pdf4me/models/key_value_pair_string_string.rb +0 -197
- data/lib/pdf4me/models/merge.rb +0 -209
- data/lib/pdf4me/models/merge_action.rb +0 -190
- data/lib/pdf4me/models/merge_res.rb +0 -188
- data/lib/pdf4me/models/ocr_action.rb +0 -259
- data/lib/pdf4me/models/optimize.rb +0 -209
- data/lib/pdf4me/models/page_selection.rb +0 -246
- data/lib/pdf4me/models/pdf4me_action.rb +0 -259
- data/lib/pdf4me/models/pdf4me_document.rb +0 -511
- data/lib/pdf4me/models/pdf4me_exception.rb +0 -189
- data/lib/pdf4me/models/pdf_a_action.rb +0 -297
- data/lib/pdf4me/models/pdf_font.rb +0 -213
- data/lib/pdf4me/models/pricing.rb +0 -278
- data/lib/pdf4me/models/produce_documents.rb +0 -251
- data/lib/pdf4me/models/produce_documents_res.rb +0 -191
- data/lib/pdf4me/models/produce_output.rb +0 -221
- data/lib/pdf4me/models/recognize_document.rb +0 -209
- data/lib/pdf4me/models/recognize_document_res.rb +0 -198
- data/lib/pdf4me/models/rectangle.rb +0 -215
- data/lib/pdf4me/models/rgb_set.rb +0 -206
- data/lib/pdf4me/models/rotate.rb +0 -221
- data/lib/pdf4me/models/run_job_res.rb +0 -215
- data/lib/pdf4me/models/signature_config.rb +0 -179
- data/lib/pdf4me/models/split.rb +0 -207
- data/lib/pdf4me/models/split_action.rb +0 -219
- data/lib/pdf4me/models/split_res.rb +0 -190
- data/lib/pdf4me/models/stamp.rb +0 -209
- data/lib/pdf4me/models/stamp_action.rb +0 -387
- data/lib/pdf4me/models/stamp_res.rb +0 -189
- data/lib/pdf4me/models/storage_folder.rb +0 -239
- data/lib/pdf4me/models/text.rb +0 -320
- data/lib/pdf4me/models/transform.rb +0 -263
- data/lib/pdf4me/models/translate.rb +0 -207
- data/lib/pdf4me/models/user_fingerprint.rb +0 -197
- data/lib/pdf4me/models/version_res.rb +0 -188
- data/pdf4me.gemspec +0 -47
- data/spec/api/convert_api_spec.rb +0 -60
- data/spec/api/document_api_spec.rb +0 -83
- data/spec/api/extract_api_spec.rb +0 -60
- data/spec/api/image_api_spec.rb +0 -62
- data/spec/api/job_api_spec.rb +0 -82
- data/spec/api/management_api_spec.rb +0 -57
- data/spec/api/merge_api_spec.rb +0 -60
- data/spec/api/ocr_api_spec.rb +0 -47
- data/spec/api/optimize_api_spec.rb +0 -60
- data/spec/api/pdf_a_api_spec.rb +0 -60
- data/spec/api/split_api_spec.rb +0 -60
- data/spec/api/stamp_api_spec.rb +0 -63
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/action_flow_spec.rb +0 -42
- data/spec/models/api_usage_res_spec.rb +0 -60
- data/spec/models/archive_config_spec.rb +0 -60
- data/spec/models/archive_job_req_spec.rb +0 -66
- data/spec/models/archive_job_res_spec.rb +0 -48
- data/spec/models/color_spec.rb +0 -54
- data/spec/models/convert_to_pdf_action_spec.rb +0 -62
- data/spec/models/convert_to_pdf_res_spec.rb +0 -42
- data/spec/models/convert_to_pdf_spec.rb +0 -54
- data/spec/models/create_images_res_spec.rb +0 -42
- data/spec/models/create_images_spec.rb +0 -54
- data/spec/models/create_pdf_a_res_spec.rb +0 -42
- data/spec/models/create_pdf_a_spec.rb +0 -54
- data/spec/models/custom_cms_config_spec.rb +0 -132
- data/spec/models/doc_action_spec.rb +0 -42
- data/spec/models/doc_log_spec.rb +0 -70
- data/spec/models/doc_metadata_spec.rb +0 -90
- data/spec/models/document_spec.rb +0 -90
- data/spec/models/drop_document_req_spec.rb +0 -118
- data/spec/models/drop_document_res_spec.rb +0 -84
- data/spec/models/execution_trigger_spec.rb +0 -54
- data/spec/models/extract_action_spec.rb +0 -48
- data/spec/models/extract_res_spec.rb +0 -42
- data/spec/models/extract_spec.rb +0 -54
- data/spec/models/get_document_list_res_spec.rb +0 -72
- data/spec/models/get_document_req_spec.rb +0 -78
- data/spec/models/get_document_res_spec.rb +0 -78
- data/spec/models/i_form_file_spec.rb +0 -72
- data/spec/models/image_action_spec.rb +0 -206
- data/spec/models/image_spec.rb +0 -88
- data/spec/models/job_config_res_spec.rb +0 -42
- data/spec/models/job_config_spec.rb +0 -102
- data/spec/models/job_spec.rb +0 -54
- data/spec/models/key_value_pair_string_object_spec.rb +0 -48
- data/spec/models/key_value_pair_string_string_spec.rb +0 -48
- data/spec/models/merge_action_spec.rb +0 -42
- data/spec/models/merge_res_spec.rb +0 -42
- data/spec/models/merge_spec.rb +0 -54
- data/spec/models/notification_spec.rb +0 -48
- data/spec/models/ocr_action_spec.rb +0 -70
- data/spec/models/optimize_action_spec.rb +0 -228
- data/spec/models/optimize_res_spec.rb +0 -48
- data/spec/models/optimize_spec.rb +0 -54
- data/spec/models/page_selection_spec.rb +0 -58
- data/spec/models/page_spec.rb +0 -78
- data/spec/models/pdf4me_action_spec.rb +0 -70
- data/spec/models/pdf4me_document_spec.rb +0 -202
- data/spec/models/pdf4me_exception_spec.rb +0 -42
- data/spec/models/pdf_a_action_spec.rb +0 -86
- data/spec/models/pdf_font_spec.rb +0 -48
- data/spec/models/pricing_spec.rb +0 -80
- data/spec/models/produce_documents_res_spec.rb +0 -42
- data/spec/models/produce_documents_spec.rb +0 -78
- data/spec/models/produce_output_spec.rb +0 -46
- data/spec/models/recognize_document_res_spec.rb +0 -48
- data/spec/models/recognize_document_spec.rb +0 -54
- data/spec/models/rectangle_spec.rb +0 -60
- data/spec/models/rgb_set_spec.rb +0 -54
- data/spec/models/rotate_spec.rb +0 -54
- data/spec/models/run_job_res_spec.rb +0 -54
- data/spec/models/signature_config_spec.rb +0 -36
- data/spec/models/split_action_spec.rb +0 -60
- data/spec/models/split_res_spec.rb +0 -42
- data/spec/models/split_spec.rb +0 -54
- data/spec/models/stamp_action_spec.rb +0 -142
- data/spec/models/stamp_res_spec.rb +0 -42
- data/spec/models/stamp_spec.rb +0 -54
- data/spec/models/storage_folder_spec.rb +0 -58
- data/spec/models/text_spec.rb +0 -104
- data/spec/models/transform_spec.rb +0 -72
- data/spec/models/translate_spec.rb +0 -48
- data/spec/models/user_fingerprint_spec.rb +0 -48
- data/spec/models/version_res_spec.rb +0 -42
@@ -0,0 +1,43 @@
|
|
1
|
+
module Pdf4me
|
2
|
+
module Serializer
|
3
|
+
def from_response(response)
|
4
|
+
attributes = JSON.parse(response.body)
|
5
|
+
return nil unless attributes.is_a?(Hash)
|
6
|
+
from_hash(attributes)
|
7
|
+
end
|
8
|
+
|
9
|
+
def from_hash(attributes)
|
10
|
+
model_attributes = {}
|
11
|
+
|
12
|
+
self::ATTRIBUTES.stringify_keys.each do |key, type|
|
13
|
+
hash_key = key.camelize(:lower)
|
14
|
+
hash_value = attributes[hash_key]
|
15
|
+
|
16
|
+
if type =~ /\AArray<(.*)>/i
|
17
|
+
model_attributes[key] = Array(hash_value).map { |value| _deserialize($1, value) }
|
18
|
+
elsif !hash_value.nil?
|
19
|
+
model_attributes[key] = _deserialize(type, hash_value)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
new(model_attributes)
|
24
|
+
end
|
25
|
+
|
26
|
+
def _deserialize(type, value)
|
27
|
+
case type
|
28
|
+
when 'String'
|
29
|
+
value.to_s
|
30
|
+
when 'DateTime'
|
31
|
+
DateTime.parse(value)
|
32
|
+
when 'Date'
|
33
|
+
Date.parse(value)
|
34
|
+
when 'Integer'
|
35
|
+
value.to_i
|
36
|
+
when 'BOOLEAN'
|
37
|
+
value == 'true'
|
38
|
+
else
|
39
|
+
Pdf4me.const_get(type).from_hash(value)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/lib/pdf4me/version.rb
CHANGED
@@ -1,15 +1,3 @@
|
|
1
|
-
=begin
|
2
|
-
#DmsApi
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
1
|
module Pdf4me
|
14
|
-
VERSION = "
|
2
|
+
VERSION = "2.0.1"
|
15
3
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Pdf4me::CreatePdfA, type: :action do
|
4
|
+
|
5
|
+
it "extends Base Action" do
|
6
|
+
expect(subject).to be_kind_of(Pdf4me::WrapperAction)
|
7
|
+
end
|
8
|
+
|
9
|
+
describe 'validations' do
|
10
|
+
it { should validate_presence_of :file }
|
11
|
+
it { should validate_presence_of :compliance }
|
12
|
+
end
|
13
|
+
|
14
|
+
describe 'methods' do
|
15
|
+
describe '.path' do
|
16
|
+
it 'should give the right path' do
|
17
|
+
expect(subject.path).to eq('/PdfA/CreatePdfA')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Pdf4me::WrapperAction, type: :action do
|
4
|
+
|
5
|
+
describe 'methods' do
|
6
|
+
describe '.client' do
|
7
|
+
it 'should return the right client' do
|
8
|
+
expect(subject.client).to be_kind_of(Pdf4me::Client)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
describe '.defaults' do
|
13
|
+
it 'should return empty defaults for base' do
|
14
|
+
expect(subject.defaults).to eq({})
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe '.parsed_json_response' do
|
19
|
+
it 'should parse the json correctly' do
|
20
|
+
expect(subject.send(:parsed_json_response, '{"hello": "world"}')).to eq({hello: "world"})
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/spec/files/4.pdf
ADDED
Binary file
|
data/spec/spec_helper.rb
CHANGED
@@ -1,111 +1,28 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require "bundler/setup"
|
2
|
+
require "pdf4me"
|
3
|
+
require 'shoulda/matchers'
|
3
4
|
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
# load the gem
|
14
|
-
require 'pdf4me'
|
15
|
-
|
16
|
-
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
18
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
19
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
20
|
-
# files.
|
21
|
-
#
|
22
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
23
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
24
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
25
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
26
|
-
# a separate helper file that requires the additional dependencies and performs
|
27
|
-
# the additional setup, and require it from the spec files that actually need
|
28
|
-
# it.
|
29
|
-
#
|
30
|
-
# The `.rspec` file also contains a few flags that are not defaults but that
|
31
|
-
# users commonly want.
|
32
|
-
#
|
33
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
34
5
|
RSpec.configure do |config|
|
35
|
-
|
36
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
37
|
-
# assertions if you prefer.
|
38
|
-
config.expect_with :rspec do |expectations|
|
39
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
40
|
-
# and `failure_message` of custom matchers include text for helper methods
|
41
|
-
# defined using `chain`, e.g.:
|
42
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
43
|
-
# # => "be bigger than 2 and smaller than 4"
|
44
|
-
# ...rather than:
|
45
|
-
# # => "be bigger than 2"
|
46
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
47
|
-
end
|
6
|
+
config.example_status_persistence_file_path = ".rspec_status"
|
48
7
|
|
49
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
50
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
51
|
-
config.mock_with :rspec do |mocks|
|
52
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
53
|
-
# a real object. This is generally recommended, and will default to
|
54
|
-
# `true` in RSpec 4.
|
55
|
-
mocks.verify_partial_doubles = true
|
56
|
-
end
|
57
|
-
|
58
|
-
# The settings below are suggested to provide a good initial experience
|
59
|
-
# with RSpec, but feel free to customize to your heart's content.
|
60
|
-
=begin
|
61
|
-
# These two settings work together to allow you to limit a spec run
|
62
|
-
# to individual examples or groups you care about by tagging them with
|
63
|
-
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
64
|
-
# get run.
|
65
|
-
config.filter_run :focus
|
66
|
-
config.run_all_when_everything_filtered = true
|
67
|
-
|
68
|
-
# Allows RSpec to persist some state between runs in order to support
|
69
|
-
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
70
|
-
# you configure your source control system to ignore this file.
|
71
|
-
config.example_status_persistence_file_path = "spec/examples.txt"
|
72
|
-
|
73
|
-
# Limits the available syntax to the non-monkey patched syntax that is
|
74
|
-
# recommended. For more details, see:
|
75
|
-
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
76
|
-
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
-
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
78
8
|
config.disable_monkey_patching!
|
9
|
+
config.expose_dsl_globally = true
|
79
10
|
|
80
|
-
|
81
|
-
|
82
|
-
|
11
|
+
config.expect_with :rspec do |c|
|
12
|
+
c.syntax = :expect
|
13
|
+
end
|
83
14
|
|
84
|
-
|
85
|
-
|
86
|
-
# individual spec file.
|
87
|
-
if config.files_to_run.one?
|
88
|
-
# Use the documentation formatter for detailed output,
|
89
|
-
# unless a formatter has already been configured
|
90
|
-
# (e.g. via a command-line flag).
|
91
|
-
config.default_formatter = 'doc'
|
15
|
+
config.before :each do
|
16
|
+
Typhoeus::Expectation.clear
|
92
17
|
end
|
93
18
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
19
|
+
Shoulda::Matchers.configure do |config|
|
20
|
+
config.integrate do |with|
|
21
|
+
with.test_framework :rspec
|
22
|
+
with.library :active_model
|
23
|
+
end
|
24
|
+
end
|
98
25
|
|
99
|
-
|
100
|
-
# order dependency and want to debug it, you can fix the order by providing
|
101
|
-
# the seed, which is printed after each run.
|
102
|
-
# --seed 1234
|
103
|
-
config.order = :random
|
26
|
+
config.include(Shoulda::Matchers::ActiveModel, type: :action)
|
104
27
|
|
105
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
106
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
107
|
-
# test failures related to randomization by passing the same `--seed` value
|
108
|
-
# as the one that triggered the failure.
|
109
|
-
Kernel.srand config.seed
|
110
|
-
=end
|
111
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf4me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- arpanlepcha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.0
|
22
|
+
version: 1.3.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
29
|
+
version: '1.3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.0
|
32
|
+
version: 1.3.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -51,437 +51,170 @@ dependencies:
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 2.1.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
54
|
+
name: dotenv
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '0'
|
60
|
-
type: :runtime
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - ">="
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '0'
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: rspec
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '3.6'
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 3.6.0
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
56
|
requirements:
|
81
57
|
- - "~>"
|
82
58
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
59
|
+
version: '2.5'
|
84
60
|
- - ">="
|
85
61
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: vcr
|
89
|
-
requirement: !ruby/object:Gem::Requirement
|
90
|
-
requirements:
|
91
|
-
- - "~>"
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: '3.0'
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 3.0.1
|
62
|
+
version: 2.5.0
|
97
63
|
type: :development
|
98
64
|
prerelease: false
|
99
65
|
version_requirements: !ruby/object:Gem::Requirement
|
100
66
|
requirements:
|
101
67
|
- - "~>"
|
102
68
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
69
|
+
version: '2.5'
|
104
70
|
- - ">="
|
105
71
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
72
|
+
version: 2.5.0
|
107
73
|
- !ruby/object:Gem::Dependency
|
108
|
-
name:
|
74
|
+
name: bundler
|
109
75
|
requirement: !ruby/object:Gem::Requirement
|
110
76
|
requirements:
|
111
|
-
- -
|
77
|
+
- - '='
|
112
78
|
- !ruby/object:Gem::Version
|
113
|
-
version: '1.
|
79
|
+
version: '1.16'
|
114
80
|
- - ">="
|
115
81
|
- !ruby/object:Gem::Version
|
116
|
-
version: 1.
|
82
|
+
version: 1.16.3
|
117
83
|
type: :development
|
118
84
|
prerelease: false
|
119
85
|
version_requirements: !ruby/object:Gem::Requirement
|
120
86
|
requirements:
|
121
|
-
- -
|
87
|
+
- - '='
|
122
88
|
- !ruby/object:Gem::Version
|
123
|
-
version: '1.
|
89
|
+
version: '1.16'
|
124
90
|
- - ">="
|
125
91
|
- !ruby/object:Gem::Version
|
126
|
-
version: 1.
|
92
|
+
version: 1.16.3
|
127
93
|
- !ruby/object:Gem::Dependency
|
128
|
-
name:
|
94
|
+
name: rake
|
129
95
|
requirement: !ruby/object:Gem::Requirement
|
130
96
|
requirements:
|
131
97
|
- - "~>"
|
132
98
|
- !ruby/object:Gem::Version
|
133
|
-
version: '
|
99
|
+
version: '12.3'
|
134
100
|
- - ">="
|
135
101
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
102
|
+
version: 12.3.1
|
137
103
|
type: :development
|
138
104
|
prerelease: false
|
139
105
|
version_requirements: !ruby/object:Gem::Requirement
|
140
106
|
requirements:
|
141
107
|
- - "~>"
|
142
108
|
- !ruby/object:Gem::Version
|
143
|
-
version: '
|
109
|
+
version: '12.3'
|
144
110
|
- - ">="
|
145
111
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
112
|
+
version: 12.3.1
|
147
113
|
- !ruby/object:Gem::Dependency
|
148
|
-
name:
|
114
|
+
name: rspec
|
149
115
|
requirement: !ruby/object:Gem::Requirement
|
150
116
|
requirements:
|
151
117
|
- - "~>"
|
152
118
|
- !ruby/object:Gem::Version
|
153
|
-
version: '
|
119
|
+
version: '3.6'
|
154
120
|
- - ">="
|
155
121
|
- !ruby/object:Gem::Version
|
156
|
-
version:
|
122
|
+
version: 3.6.0
|
157
123
|
type: :development
|
158
124
|
prerelease: false
|
159
125
|
version_requirements: !ruby/object:Gem::Requirement
|
160
126
|
requirements:
|
161
127
|
- - "~>"
|
162
128
|
- !ruby/object:Gem::Version
|
163
|
-
version: '
|
129
|
+
version: '3.6'
|
164
130
|
- - ">="
|
165
131
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
132
|
+
version: 3.6.0
|
167
133
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
134
|
+
name: activemodel
|
169
135
|
requirement: !ruby/object:Gem::Requirement
|
170
136
|
requirements:
|
171
137
|
- - "~>"
|
172
138
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
139
|
+
version: '5.2'
|
174
140
|
- - ">="
|
175
141
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
142
|
+
version: 5.2.0
|
177
143
|
type: :development
|
178
144
|
prerelease: false
|
179
145
|
version_requirements: !ruby/object:Gem::Requirement
|
180
146
|
requirements:
|
181
147
|
- - "~>"
|
182
148
|
- !ruby/object:Gem::Version
|
183
|
-
version: '
|
149
|
+
version: '5.2'
|
184
150
|
- - ">="
|
185
151
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
152
|
+
version: 5.2.0
|
187
153
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
154
|
+
name: shoulda-matchers
|
189
155
|
requirement: !ruby/object:Gem::Requirement
|
190
156
|
requirements:
|
191
157
|
- - "~>"
|
192
158
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
159
|
+
version: '3.1'
|
194
160
|
- - ">="
|
195
161
|
- !ruby/object:Gem::Version
|
196
|
-
version:
|
162
|
+
version: 3.1.2
|
197
163
|
type: :development
|
198
164
|
prerelease: false
|
199
165
|
version_requirements: !ruby/object:Gem::Requirement
|
200
166
|
requirements:
|
201
167
|
- - "~>"
|
202
168
|
- !ruby/object:Gem::Version
|
203
|
-
version: '
|
169
|
+
version: '3.1'
|
204
170
|
- - ">="
|
205
171
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
207
|
-
description:
|
172
|
+
version: 3.1.2
|
173
|
+
description: ''
|
208
174
|
email:
|
209
|
-
-
|
175
|
+
- arpanlepcha@gmail.com
|
210
176
|
executables: []
|
211
177
|
extensions: []
|
212
178
|
extra_rdoc_files: []
|
213
179
|
files:
|
214
|
-
-
|
215
|
-
- LICENSE
|
180
|
+
- LICENSE.txt
|
216
181
|
- README.md
|
217
|
-
- Rakefile
|
218
|
-
- docs/ActionFlow.md
|
219
|
-
- docs/ApiUsageRes.md
|
220
|
-
- docs/ArchiveConfig.md
|
221
|
-
- docs/ArchiveJobReq.md
|
222
|
-
- docs/ArchiveJobRes.md
|
223
|
-
- docs/Color.md
|
224
|
-
- docs/ConvertApi.md
|
225
|
-
- docs/ConvertToPdf.md
|
226
|
-
- docs/ConvertToPdfAction.md
|
227
|
-
- docs/ConvertToPdfRes.md
|
228
|
-
- docs/CreateImages.md
|
229
|
-
- docs/CreateImagesRes.md
|
230
|
-
- docs/CreatePdfA.md
|
231
|
-
- docs/CreatePdfARes.md
|
232
|
-
- docs/CustomCMSConfig.md
|
233
|
-
- docs/DocAction.md
|
234
|
-
- docs/DocLog.md
|
235
|
-
- docs/DocMetadata.md
|
236
|
-
- docs/Document.md
|
237
|
-
- docs/DocumentApi.md
|
238
|
-
- docs/DropDocumentReq.md
|
239
|
-
- docs/DropDocumentRes.md
|
240
|
-
- docs/ExecutionTrigger.md
|
241
|
-
- docs/Extract.md
|
242
|
-
- docs/ExtractAction.md
|
243
|
-
- docs/ExtractApi.md
|
244
|
-
- docs/ExtractRes.md
|
245
|
-
- docs/GetDocumentListRes.md
|
246
|
-
- docs/GetDocumentReq.md
|
247
|
-
- docs/GetDocumentRes.md
|
248
|
-
- docs/IFormFile.md
|
249
|
-
- docs/Image.md
|
250
|
-
- docs/ImageAction.md
|
251
|
-
- docs/ImageApi.md
|
252
|
-
- docs/Job.md
|
253
|
-
- docs/JobApi.md
|
254
|
-
- docs/JobConfig.md
|
255
|
-
- docs/JobConfigRes.md
|
256
|
-
- docs/KeyValuePairStringObject.md
|
257
|
-
- docs/KeyValuePairStringString.md
|
258
|
-
- docs/ManagementApi.md
|
259
|
-
- docs/Merge.md
|
260
|
-
- docs/MergeAction.md
|
261
|
-
- docs/MergeApi.md
|
262
|
-
- docs/MergeRes.md
|
263
|
-
- docs/Notification.md
|
264
|
-
- docs/OcrAction.md
|
265
|
-
- docs/OcrApi.md
|
266
|
-
- docs/Optimize.md
|
267
|
-
- docs/OptimizeAction.md
|
268
|
-
- docs/OptimizeApi.md
|
269
|
-
- docs/OptimizeRes.md
|
270
|
-
- docs/Page.md
|
271
|
-
- docs/PageSelection.md
|
272
|
-
- docs/Pdf4meAction.md
|
273
|
-
- docs/Pdf4meDocument.md
|
274
|
-
- docs/Pdf4meException.md
|
275
|
-
- docs/PdfAAction.md
|
276
|
-
- docs/PdfAApi.md
|
277
|
-
- docs/PdfFont.md
|
278
|
-
- docs/Pricing.md
|
279
|
-
- docs/ProduceDocuments.md
|
280
|
-
- docs/ProduceDocumentsRes.md
|
281
|
-
- docs/ProduceOutput.md
|
282
|
-
- docs/RGBSet.md
|
283
|
-
- docs/RecognizeDocument.md
|
284
|
-
- docs/RecognizeDocumentRes.md
|
285
|
-
- docs/Rectangle.md
|
286
|
-
- docs/Rotate.md
|
287
|
-
- docs/RunJobRes.md
|
288
|
-
- docs/SignatureConfig.md
|
289
|
-
- docs/Split.md
|
290
|
-
- docs/SplitAction.md
|
291
|
-
- docs/SplitApi.md
|
292
|
-
- docs/SplitRes.md
|
293
|
-
- docs/Stamp.md
|
294
|
-
- docs/StampAction.md
|
295
|
-
- docs/StampApi.md
|
296
|
-
- docs/StampRes.md
|
297
|
-
- docs/StorageFolder.md
|
298
|
-
- docs/Text.md
|
299
|
-
- docs/Transform.md
|
300
|
-
- docs/Translate.md
|
301
|
-
- docs/UserFingerprint.md
|
302
|
-
- docs/VersionRes.md
|
303
|
-
- docs/java.md
|
304
182
|
- lib/pdf4me.rb
|
305
|
-
- lib/pdf4me/
|
306
|
-
- lib/pdf4me/
|
307
|
-
- lib/pdf4me/
|
308
|
-
- lib/pdf4me/
|
309
|
-
- lib/pdf4me/
|
310
|
-
- lib/pdf4me/
|
311
|
-
- lib/pdf4me/
|
312
|
-
- lib/pdf4me/
|
313
|
-
- lib/pdf4me/
|
314
|
-
- lib/pdf4me/
|
315
|
-
- lib/pdf4me/
|
316
|
-
- lib/pdf4me/
|
317
|
-
- lib/pdf4me/
|
318
|
-
- lib/pdf4me/api_error.rb
|
183
|
+
- lib/pdf4me/actions/complex_action.rb
|
184
|
+
- lib/pdf4me/actions/convert_file_to_pdf.rb
|
185
|
+
- lib/pdf4me/actions/convert_to_pdf.rb
|
186
|
+
- lib/pdf4me/actions/create_pdf_a.rb
|
187
|
+
- lib/pdf4me/actions/create_thumbnail.rb
|
188
|
+
- lib/pdf4me/actions/extract_pages.rb
|
189
|
+
- lib/pdf4me/actions/merge_two_pdfs.rb
|
190
|
+
- lib/pdf4me/actions/optimize.rb
|
191
|
+
- lib/pdf4me/actions/optimize_by_profile.rb
|
192
|
+
- lib/pdf4me/actions/split_by_page_nr.rb
|
193
|
+
- lib/pdf4me/actions/text_stamp.rb
|
194
|
+
- lib/pdf4me/actions/wrapper_action.rb
|
195
|
+
- lib/pdf4me/client.rb
|
319
196
|
- lib/pdf4me/configuration.rb
|
320
|
-
- lib/pdf4me/
|
321
|
-
- lib/pdf4me/models/
|
322
|
-
- lib/pdf4me/models/archive_config.rb
|
323
|
-
- lib/pdf4me/models/archive_job_req.rb
|
324
|
-
- lib/pdf4me/models/archive_job_res.rb
|
325
|
-
- lib/pdf4me/models/color.rb
|
326
|
-
- lib/pdf4me/models/convert_to_pdf.rb
|
197
|
+
- lib/pdf4me/exceptions.rb
|
198
|
+
- lib/pdf4me/models/base.rb
|
327
199
|
- lib/pdf4me/models/convert_to_pdf_action.rb
|
328
200
|
- lib/pdf4me/models/convert_to_pdf_res.rb
|
329
|
-
- lib/pdf4me/models/create_images.rb
|
330
|
-
- lib/pdf4me/models/create_images_res.rb
|
331
|
-
- lib/pdf4me/models/create_pdf_a.rb
|
332
|
-
- lib/pdf4me/models/create_pdf_a_res.rb
|
333
|
-
- lib/pdf4me/models/custom_cms_config.rb
|
334
|
-
- lib/pdf4me/models/doc_action.rb
|
335
201
|
- lib/pdf4me/models/doc_log.rb
|
336
202
|
- lib/pdf4me/models/doc_metadata.rb
|
337
203
|
- lib/pdf4me/models/document.rb
|
338
|
-
- lib/pdf4me/models/drop_document_req.rb
|
339
|
-
- lib/pdf4me/models/drop_document_res.rb
|
340
|
-
- lib/pdf4me/models/execution_trigger.rb
|
341
|
-
- lib/pdf4me/models/extract.rb
|
342
|
-
- lib/pdf4me/models/extract_action.rb
|
343
|
-
- lib/pdf4me/models/extract_res.rb
|
344
|
-
- lib/pdf4me/models/get_document_list_res.rb
|
345
|
-
- lib/pdf4me/models/get_document_req.rb
|
346
|
-
- lib/pdf4me/models/get_document_res.rb
|
347
|
-
- lib/pdf4me/models/i_form_file.rb
|
348
|
-
- lib/pdf4me/models/image.rb
|
349
|
-
- lib/pdf4me/models/image_action.rb
|
350
|
-
- lib/pdf4me/models/job.rb
|
351
|
-
- lib/pdf4me/models/job_config.rb
|
352
|
-
- lib/pdf4me/models/job_config_res.rb
|
353
|
-
- lib/pdf4me/models/key_value_pair_string_object.rb
|
354
|
-
- lib/pdf4me/models/key_value_pair_string_string.rb
|
355
|
-
- lib/pdf4me/models/merge.rb
|
356
|
-
- lib/pdf4me/models/merge_action.rb
|
357
|
-
- lib/pdf4me/models/merge_res.rb
|
358
204
|
- lib/pdf4me/models/notification.rb
|
359
|
-
- lib/pdf4me/models/ocr_action.rb
|
360
|
-
- lib/pdf4me/models/optimize.rb
|
361
205
|
- lib/pdf4me/models/optimize_action.rb
|
362
206
|
- lib/pdf4me/models/optimize_res.rb
|
363
207
|
- lib/pdf4me/models/page.rb
|
364
|
-
- lib/pdf4me/
|
365
|
-
- lib/pdf4me/
|
366
|
-
- lib/pdf4me/models/pdf4me_document.rb
|
367
|
-
- lib/pdf4me/models/pdf4me_exception.rb
|
368
|
-
- lib/pdf4me/models/pdf_a_action.rb
|
369
|
-
- lib/pdf4me/models/pdf_font.rb
|
370
|
-
- lib/pdf4me/models/pricing.rb
|
371
|
-
- lib/pdf4me/models/produce_documents.rb
|
372
|
-
- lib/pdf4me/models/produce_documents_res.rb
|
373
|
-
- lib/pdf4me/models/produce_output.rb
|
374
|
-
- lib/pdf4me/models/recognize_document.rb
|
375
|
-
- lib/pdf4me/models/recognize_document_res.rb
|
376
|
-
- lib/pdf4me/models/rectangle.rb
|
377
|
-
- lib/pdf4me/models/rgb_set.rb
|
378
|
-
- lib/pdf4me/models/rotate.rb
|
379
|
-
- lib/pdf4me/models/run_job_res.rb
|
380
|
-
- lib/pdf4me/models/signature_config.rb
|
381
|
-
- lib/pdf4me/models/split.rb
|
382
|
-
- lib/pdf4me/models/split_action.rb
|
383
|
-
- lib/pdf4me/models/split_res.rb
|
384
|
-
- lib/pdf4me/models/stamp.rb
|
385
|
-
- lib/pdf4me/models/stamp_action.rb
|
386
|
-
- lib/pdf4me/models/stamp_res.rb
|
387
|
-
- lib/pdf4me/models/storage_folder.rb
|
388
|
-
- lib/pdf4me/models/text.rb
|
389
|
-
- lib/pdf4me/models/transform.rb
|
390
|
-
- lib/pdf4me/models/translate.rb
|
391
|
-
- lib/pdf4me/models/user_fingerprint.rb
|
392
|
-
- lib/pdf4me/models/version_res.rb
|
208
|
+
- lib/pdf4me/utils/assigner.rb
|
209
|
+
- lib/pdf4me/utils/serializer.rb
|
393
210
|
- lib/pdf4me/version.rb
|
394
|
-
-
|
395
|
-
- spec/
|
396
|
-
- spec/
|
397
|
-
- spec/api/extract_api_spec.rb
|
398
|
-
- spec/api/image_api_spec.rb
|
399
|
-
- spec/api/job_api_spec.rb
|
400
|
-
- spec/api/management_api_spec.rb
|
401
|
-
- spec/api/merge_api_spec.rb
|
402
|
-
- spec/api/ocr_api_spec.rb
|
403
|
-
- spec/api/optimize_api_spec.rb
|
404
|
-
- spec/api/pdf_a_api_spec.rb
|
405
|
-
- spec/api/split_api_spec.rb
|
406
|
-
- spec/api/stamp_api_spec.rb
|
407
|
-
- spec/api_client_spec.rb
|
408
|
-
- spec/configuration_spec.rb
|
409
|
-
- spec/models/action_flow_spec.rb
|
410
|
-
- spec/models/api_usage_res_spec.rb
|
411
|
-
- spec/models/archive_config_spec.rb
|
412
|
-
- spec/models/archive_job_req_spec.rb
|
413
|
-
- spec/models/archive_job_res_spec.rb
|
414
|
-
- spec/models/color_spec.rb
|
415
|
-
- spec/models/convert_to_pdf_action_spec.rb
|
416
|
-
- spec/models/convert_to_pdf_res_spec.rb
|
417
|
-
- spec/models/convert_to_pdf_spec.rb
|
418
|
-
- spec/models/create_images_res_spec.rb
|
419
|
-
- spec/models/create_images_spec.rb
|
420
|
-
- spec/models/create_pdf_a_res_spec.rb
|
421
|
-
- spec/models/create_pdf_a_spec.rb
|
422
|
-
- spec/models/custom_cms_config_spec.rb
|
423
|
-
- spec/models/doc_action_spec.rb
|
424
|
-
- spec/models/doc_log_spec.rb
|
425
|
-
- spec/models/doc_metadata_spec.rb
|
426
|
-
- spec/models/document_spec.rb
|
427
|
-
- spec/models/drop_document_req_spec.rb
|
428
|
-
- spec/models/drop_document_res_spec.rb
|
429
|
-
- spec/models/execution_trigger_spec.rb
|
430
|
-
- spec/models/extract_action_spec.rb
|
431
|
-
- spec/models/extract_res_spec.rb
|
432
|
-
- spec/models/extract_spec.rb
|
433
|
-
- spec/models/get_document_list_res_spec.rb
|
434
|
-
- spec/models/get_document_req_spec.rb
|
435
|
-
- spec/models/get_document_res_spec.rb
|
436
|
-
- spec/models/i_form_file_spec.rb
|
437
|
-
- spec/models/image_action_spec.rb
|
438
|
-
- spec/models/image_spec.rb
|
439
|
-
- spec/models/job_config_res_spec.rb
|
440
|
-
- spec/models/job_config_spec.rb
|
441
|
-
- spec/models/job_spec.rb
|
442
|
-
- spec/models/key_value_pair_string_object_spec.rb
|
443
|
-
- spec/models/key_value_pair_string_string_spec.rb
|
444
|
-
- spec/models/merge_action_spec.rb
|
445
|
-
- spec/models/merge_res_spec.rb
|
446
|
-
- spec/models/merge_spec.rb
|
447
|
-
- spec/models/notification_spec.rb
|
448
|
-
- spec/models/ocr_action_spec.rb
|
449
|
-
- spec/models/optimize_action_spec.rb
|
450
|
-
- spec/models/optimize_res_spec.rb
|
451
|
-
- spec/models/optimize_spec.rb
|
452
|
-
- spec/models/page_selection_spec.rb
|
453
|
-
- spec/models/page_spec.rb
|
454
|
-
- spec/models/pdf4me_action_spec.rb
|
455
|
-
- spec/models/pdf4me_document_spec.rb
|
456
|
-
- spec/models/pdf4me_exception_spec.rb
|
457
|
-
- spec/models/pdf_a_action_spec.rb
|
458
|
-
- spec/models/pdf_font_spec.rb
|
459
|
-
- spec/models/pricing_spec.rb
|
460
|
-
- spec/models/produce_documents_res_spec.rb
|
461
|
-
- spec/models/produce_documents_spec.rb
|
462
|
-
- spec/models/produce_output_spec.rb
|
463
|
-
- spec/models/recognize_document_res_spec.rb
|
464
|
-
- spec/models/recognize_document_spec.rb
|
465
|
-
- spec/models/rectangle_spec.rb
|
466
|
-
- spec/models/rgb_set_spec.rb
|
467
|
-
- spec/models/rotate_spec.rb
|
468
|
-
- spec/models/run_job_res_spec.rb
|
469
|
-
- spec/models/signature_config_spec.rb
|
470
|
-
- spec/models/split_action_spec.rb
|
471
|
-
- spec/models/split_res_spec.rb
|
472
|
-
- spec/models/split_spec.rb
|
473
|
-
- spec/models/stamp_action_spec.rb
|
474
|
-
- spec/models/stamp_res_spec.rb
|
475
|
-
- spec/models/stamp_spec.rb
|
476
|
-
- spec/models/storage_folder_spec.rb
|
477
|
-
- spec/models/text_spec.rb
|
478
|
-
- spec/models/transform_spec.rb
|
479
|
-
- spec/models/translate_spec.rb
|
480
|
-
- spec/models/user_fingerprint_spec.rb
|
481
|
-
- spec/models/version_res_spec.rb
|
211
|
+
- spec/actions/create_pdf_a_spec.rb
|
212
|
+
- spec/actions/wrapper_action_spec.rb
|
213
|
+
- spec/files/4.pdf
|
482
214
|
- spec/spec_helper.rb
|
483
215
|
homepage: http://pdf4me.com/
|
484
|
-
licenses:
|
216
|
+
licenses:
|
217
|
+
- MIT
|
485
218
|
metadata: {}
|
486
219
|
post_install_message:
|
487
220
|
rdoc_options: []
|
@@ -491,7 +224,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
491
224
|
requirements:
|
492
225
|
- - ">="
|
493
226
|
- !ruby/object:Gem::Version
|
494
|
-
version: '2.
|
227
|
+
version: '2.1'
|
495
228
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
496
229
|
requirements:
|
497
230
|
- - ">="
|
@@ -499,96 +232,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
499
232
|
version: '0'
|
500
233
|
requirements: []
|
501
234
|
rubyforge_project:
|
502
|
-
rubygems_version: 2.
|
235
|
+
rubygems_version: 2.6.11
|
503
236
|
signing_key:
|
504
237
|
specification_version: 4
|
505
|
-
summary:
|
238
|
+
summary: Pdf4Me Ruby Gem
|
506
239
|
test_files:
|
507
|
-
- spec/
|
508
|
-
- spec/
|
509
|
-
- spec/
|
510
|
-
- spec/api/image_api_spec.rb
|
511
|
-
- spec/api/job_api_spec.rb
|
512
|
-
- spec/api/management_api_spec.rb
|
513
|
-
- spec/api/merge_api_spec.rb
|
514
|
-
- spec/api/ocr_api_spec.rb
|
515
|
-
- spec/api/optimize_api_spec.rb
|
516
|
-
- spec/api/pdf_a_api_spec.rb
|
517
|
-
- spec/api/split_api_spec.rb
|
518
|
-
- spec/api/stamp_api_spec.rb
|
519
|
-
- spec/api_client_spec.rb
|
520
|
-
- spec/configuration_spec.rb
|
521
|
-
- spec/models/action_flow_spec.rb
|
522
|
-
- spec/models/api_usage_res_spec.rb
|
523
|
-
- spec/models/archive_config_spec.rb
|
524
|
-
- spec/models/archive_job_req_spec.rb
|
525
|
-
- spec/models/archive_job_res_spec.rb
|
526
|
-
- spec/models/color_spec.rb
|
527
|
-
- spec/models/convert_to_pdf_action_spec.rb
|
528
|
-
- spec/models/convert_to_pdf_res_spec.rb
|
529
|
-
- spec/models/convert_to_pdf_spec.rb
|
530
|
-
- spec/models/create_images_res_spec.rb
|
531
|
-
- spec/models/create_images_spec.rb
|
532
|
-
- spec/models/create_pdf_a_res_spec.rb
|
533
|
-
- spec/models/create_pdf_a_spec.rb
|
534
|
-
- spec/models/custom_cms_config_spec.rb
|
535
|
-
- spec/models/doc_action_spec.rb
|
536
|
-
- spec/models/doc_log_spec.rb
|
537
|
-
- spec/models/doc_metadata_spec.rb
|
538
|
-
- spec/models/document_spec.rb
|
539
|
-
- spec/models/drop_document_req_spec.rb
|
540
|
-
- spec/models/drop_document_res_spec.rb
|
541
|
-
- spec/models/execution_trigger_spec.rb
|
542
|
-
- spec/models/extract_action_spec.rb
|
543
|
-
- spec/models/extract_res_spec.rb
|
544
|
-
- spec/models/extract_spec.rb
|
545
|
-
- spec/models/get_document_list_res_spec.rb
|
546
|
-
- spec/models/get_document_req_spec.rb
|
547
|
-
- spec/models/get_document_res_spec.rb
|
548
|
-
- spec/models/i_form_file_spec.rb
|
549
|
-
- spec/models/image_action_spec.rb
|
550
|
-
- spec/models/image_spec.rb
|
551
|
-
- spec/models/job_config_res_spec.rb
|
552
|
-
- spec/models/job_config_spec.rb
|
553
|
-
- spec/models/job_spec.rb
|
554
|
-
- spec/models/key_value_pair_string_object_spec.rb
|
555
|
-
- spec/models/key_value_pair_string_string_spec.rb
|
556
|
-
- spec/models/merge_action_spec.rb
|
557
|
-
- spec/models/merge_res_spec.rb
|
558
|
-
- spec/models/merge_spec.rb
|
559
|
-
- spec/models/notification_spec.rb
|
560
|
-
- spec/models/ocr_action_spec.rb
|
561
|
-
- spec/models/optimize_action_spec.rb
|
562
|
-
- spec/models/optimize_res_spec.rb
|
563
|
-
- spec/models/optimize_spec.rb
|
564
|
-
- spec/models/page_selection_spec.rb
|
565
|
-
- spec/models/page_spec.rb
|
566
|
-
- spec/models/pdf4me_action_spec.rb
|
567
|
-
- spec/models/pdf4me_document_spec.rb
|
568
|
-
- spec/models/pdf4me_exception_spec.rb
|
569
|
-
- spec/models/pdf_a_action_spec.rb
|
570
|
-
- spec/models/pdf_font_spec.rb
|
571
|
-
- spec/models/pricing_spec.rb
|
572
|
-
- spec/models/produce_documents_res_spec.rb
|
573
|
-
- spec/models/produce_documents_spec.rb
|
574
|
-
- spec/models/produce_output_spec.rb
|
575
|
-
- spec/models/recognize_document_res_spec.rb
|
576
|
-
- spec/models/recognize_document_spec.rb
|
577
|
-
- spec/models/rectangle_spec.rb
|
578
|
-
- spec/models/rgb_set_spec.rb
|
579
|
-
- spec/models/rotate_spec.rb
|
580
|
-
- spec/models/run_job_res_spec.rb
|
581
|
-
- spec/models/signature_config_spec.rb
|
582
|
-
- spec/models/split_action_spec.rb
|
583
|
-
- spec/models/split_res_spec.rb
|
584
|
-
- spec/models/split_spec.rb
|
585
|
-
- spec/models/stamp_action_spec.rb
|
586
|
-
- spec/models/stamp_res_spec.rb
|
587
|
-
- spec/models/stamp_spec.rb
|
588
|
-
- spec/models/storage_folder_spec.rb
|
589
|
-
- spec/models/text_spec.rb
|
590
|
-
- spec/models/transform_spec.rb
|
591
|
-
- spec/models/translate_spec.rb
|
592
|
-
- spec/models/user_fingerprint_spec.rb
|
593
|
-
- spec/models/version_res_spec.rb
|
240
|
+
- spec/actions/create_pdf_a_spec.rb
|
241
|
+
- spec/actions/wrapper_action_spec.rb
|
242
|
+
- spec/files/4.pdf
|
594
243
|
- spec/spec_helper.rb
|