cloudmersive-convert-api-client 1.2.3 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +201 -0
- data/build.ps1 +12 -0
- data/client/Gemfile +7 -0
- data/client/README.md +184 -0
- data/client/Rakefile +8 -0
- data/client/cloudmersive-convert-api-client.gemspec +45 -0
- data/client/docs/CompareDocumentApi.md +66 -0
- data/client/docs/ConvertDataApi.md +118 -0
- data/client/docs/ConvertDocumentApi.md +723 -0
- data/client/docs/ConvertImageApi.md +69 -0
- data/client/docs/ConvertTemplateApi.md +63 -0
- data/client/docs/ConvertWebApi.md +283 -0
- data/client/docs/ConvertedPngPage.md +9 -0
- data/client/docs/DocumentValidationError.md +11 -0
- data/client/docs/DocumentValidationResult.md +11 -0
- data/client/docs/DocxFooter.md +9 -0
- data/client/docs/DocxHeader.md +9 -0
- data/client/docs/DocxInsertImageRequest.md +13 -0
- data/client/docs/DocxInsertImageResponse.md +9 -0
- data/client/docs/DocxParagraph.md +10 -0
- data/client/docs/DocxRun.md +14 -0
- data/client/docs/DocxSection.md +8 -0
- data/client/docs/DocxSetFooterRequest.md +10 -0
- data/client/docs/DocxSetFooterResponse.md +9 -0
- data/client/docs/DocxSetHeaderRequest.md +10 -0
- data/client/docs/DocxSetHeaderResponse.md +9 -0
- data/client/docs/DocxStyle.md +13 -0
- data/client/docs/DocxTable.md +45 -0
- data/client/docs/DocxTableCell.md +14 -0
- data/client/docs/DocxTableRow.md +9 -0
- data/client/docs/DocxText.md +9 -0
- data/client/docs/EditDocumentApi.md +668 -0
- data/client/docs/FinishEditingRequest.md +8 -0
- data/client/docs/GetDocxHeadersAndFootersRequest.md +9 -0
- data/client/docs/GetDocxHeadersAndFootersResponse.md +10 -0
- data/client/docs/GetDocxStylesRequest.md +9 -0
- data/client/docs/GetDocxStylesResponse.md +9 -0
- data/client/docs/GetDocxTablesRequest.md +9 -0
- data/client/docs/GetDocxTablesResponse.md +9 -0
- data/client/docs/HtmlMdResult.md +9 -0
- data/client/docs/HtmlTemplateApplicationRequest.md +10 -0
- data/client/docs/HtmlTemplateApplicationResponse.md +9 -0
- data/client/docs/HtmlTemplateOperation.md +10 -0
- data/client/docs/HtmlToOfficeRequest.md +8 -0
- data/client/docs/HtmlToPdfRequest.md +9 -0
- data/client/docs/InsertDocxTablesRequest.md +10 -0
- data/client/docs/InsertDocxTablesResponse.md +9 -0
- data/client/docs/MergeDocumentApi.md +182 -0
- data/client/docs/PdfToPngResult.md +9 -0
- data/client/docs/RemoveDocxHeadersAndFootersRequest.md +11 -0
- data/client/docs/RemoveDocxHeadersAndFootersResponse.md +9 -0
- data/client/docs/ReplaceStringRequest.md +12 -0
- data/client/docs/ScreenshotRequest.md +9 -0
- data/client/docs/ValidateDocumentApi.md +173 -0
- data/client/docs/ViewerResponse.md +9 -0
- data/client/docs/ViewerToolsApi.md +63 -0
- data/client/git_push.sh +55 -0
- data/client/lib/cloudmersive-convert-api-client.rb +89 -0
- data/client/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +86 -0
- data/client/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +135 -0
- data/client/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +751 -0
- data/client/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +91 -0
- data/client/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +78 -0
- data/client/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +299 -0
- data/client/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +684 -0
- data/client/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +212 -0
- data/client/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +191 -0
- data/client/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +79 -0
- data/client/lib/cloudmersive-convert-api-client/api_client.rb +389 -0
- data/client/lib/cloudmersive-convert-api-client/api_error.rb +38 -0
- data/client/lib/cloudmersive-convert-api-client/configuration.rb +209 -0
- data/client/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +219 -0
- data/client/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +221 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_footer.rb +203 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_header.rb +203 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +271 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +211 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_run.rb +251 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_section.rb +191 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +225 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +225 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_style.rb +239 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_table.rb +561 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +251 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +201 -0
- data/client/lib/cloudmersive-convert-api-client/models/docx_text.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +189 -0
- data/client/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +215 -0
- data/client/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +211 -0
- data/client/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +215 -0
- data/client/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +201 -0
- data/client/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +215 -0
- data/client/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +201 -0
- data/client/lib/cloudmersive-convert-api-client/models/html_md_result.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +208 -0
- data/client/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +197 -0
- data/client/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +239 -0
- data/client/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +188 -0
- data/client/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +197 -0
- data/client/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +225 -0
- data/client/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +201 -0
- data/client/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +235 -0
- data/client/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +199 -0
- data/client/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +245 -0
- data/client/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +197 -0
- data/client/lib/cloudmersive-convert-api-client/models/viewer_response.rb +197 -0
- data/client/lib/cloudmersive-convert-api-client/version.rb +15 -0
- data/client/spec/api/compare_document_api_spec.rb +48 -0
- data/client/spec/api/convert_data_api_spec.rb +59 -0
- data/client/spec/api/convert_document_api_spec.rb +191 -0
- data/client/spec/api/convert_image_api_spec.rb +49 -0
- data/client/spec/api/convert_template_api_spec.rb +47 -0
- data/client/spec/api/convert_web_api_spec.rb +95 -0
- data/client/spec/api/edit_document_api_spec.rb +179 -0
- data/client/spec/api/merge_document_api_spec.rb +74 -0
- data/client/spec/api/validate_document_api_spec.rb +71 -0
- data/client/spec/api/viewer_tools_api_spec.rb +47 -0
- data/client/spec/api_client_spec.rb +226 -0
- data/client/spec/configuration_spec.rb +42 -0
- data/client/spec/models/converted_png_page_spec.rb +48 -0
- data/client/spec/models/document_validation_error_spec.rb +60 -0
- data/client/spec/models/document_validation_result_spec.rb +60 -0
- data/client/spec/models/docx_footer_spec.rb +48 -0
- data/client/spec/models/docx_header_spec.rb +48 -0
- data/client/spec/models/docx_insert_image_request_spec.rb +72 -0
- data/client/spec/models/docx_insert_image_response_spec.rb +48 -0
- data/client/spec/models/docx_paragraph_spec.rb +54 -0
- data/client/spec/models/docx_run_spec.rb +78 -0
- data/client/spec/models/docx_section_spec.rb +42 -0
- data/client/spec/models/docx_set_footer_request_spec.rb +54 -0
- data/client/spec/models/docx_set_footer_response_spec.rb +48 -0
- data/client/spec/models/docx_set_header_request_spec.rb +54 -0
- data/client/spec/models/docx_set_header_response_spec.rb +48 -0
- data/client/spec/models/docx_style_spec.rb +72 -0
- data/client/spec/models/docx_table_cell_spec.rb +78 -0
- data/client/spec/models/docx_table_row_spec.rb +48 -0
- data/client/spec/models/docx_table_spec.rb +264 -0
- data/client/spec/models/docx_text_spec.rb +48 -0
- data/client/spec/models/finish_editing_request_spec.rb +42 -0
- data/client/spec/models/get_docx_headers_and_footers_request_spec.rb +48 -0
- data/client/spec/models/get_docx_headers_and_footers_response_spec.rb +54 -0
- data/client/spec/models/get_docx_styles_request_spec.rb +48 -0
- data/client/spec/models/get_docx_styles_response_spec.rb +48 -0
- data/client/spec/models/get_docx_tables_request_spec.rb +48 -0
- data/client/spec/models/get_docx_tables_response_spec.rb +48 -0
- data/client/spec/models/html_md_result_spec.rb +48 -0
- data/client/spec/models/html_template_application_request_spec.rb +54 -0
- data/client/spec/models/html_template_application_response_spec.rb +48 -0
- data/client/spec/models/html_template_operation_spec.rb +58 -0
- data/client/spec/models/html_to_office_request_spec.rb +42 -0
- data/client/spec/models/html_to_pdf_request_spec.rb +48 -0
- data/client/spec/models/insert_docx_tables_request_spec.rb +54 -0
- data/client/spec/models/insert_docx_tables_response_spec.rb +48 -0
- data/client/spec/models/pdf_to_png_result_spec.rb +48 -0
- data/client/spec/models/remove_docx_headers_and_footers_request_spec.rb +60 -0
- data/client/spec/models/remove_docx_headers_and_footers_response_spec.rb +48 -0
- data/client/spec/models/replace_string_request_spec.rb +66 -0
- data/client/spec/models/screenshot_request_spec.rb +48 -0
- data/client/spec/models/viewer_response_spec.rb +48 -0
- data/client/spec/spec_helper.rb +111 -0
- data/cloudmersiveConvertApiClient-1.2.6.gem +0 -0
- data/cloudmersiveConvertApiClient-1.2.7.gem +0 -0
- data/packageconfig.json +11 -0
- data/swagger-codegen-cli.jar +0 -0
- metadata +173 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 919f3c86cd3b88c5e7e16031b7326029791efb40804d571215a99cba0cbdac98
|
4
|
+
data.tar.gz: 7538212f11ec77fbb11de56026cdff77ab9f1fbe2196c08b518971cd48825cf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93b02595b67b55ffc145c5d5f781525f6513a59bba563804ace23e031c8d3739807015280356077a8a5dd5b0a28f284a768ddfa4d43637aac25196e40028f997
|
7
|
+
data.tar.gz: 166c506ad5926cb05efddc5d982d1ce0e6a96e2830e3d862c14d6db94c75a1ba5feb235618a98b589cdcf0b140aa78a7adebdae0710d6bfd5098b2ed948dc821
|
data/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
data/build.ps1
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
Remove-Item –path ./client –recurse
|
2
|
+
& java -jar swagger-codegen-cli.jar generate -i https://api.cloudmersive.com/swagger/api/convert -l ruby -o client -c packageconfig.json
|
3
|
+
#(Get-Content ./client/src/api/ConvertDocumentApi.js).replace('var returnType = Object;', "var returnType = 'Blob';") | Set-Content ./client/src/api/ConvertDocumentApi.js
|
4
|
+
#(Get-Content ./client/src/api/ConvertWebApi.js).replace('var returnType = Object;', "var returnType = 'Blob';") | Set-Content ./client/src/api/ConvertWebApi.js
|
5
|
+
|
6
|
+
(Get-Content ./client/cloudmersive-convert-api-client.gemspec).replace('`find *`.split("\n").uniq.sort.select{|f| !f.empty? }', "Dir['./**/*']") | Set-Content ./client/cloudmersive-convert-api-client.gemspec
|
7
|
+
#& npm build ./client
|
8
|
+
|
9
|
+
|
10
|
+
#& npm build ./client
|
11
|
+
|
12
|
+
& gem build ./client/cloudmersive-convert-api-client.gemspec
|
data/client/Gemfile
ADDED
data/client/README.md
ADDED
@@ -0,0 +1,184 @@
|
|
1
|
+
# cloudmersive-convert-api-client
|
2
|
+
|
3
|
+
CloudmersiveConvertApiClient - the Ruby gem for the convertapi
|
4
|
+
|
5
|
+
Convert API lets you effortlessly convert file formats and types.
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
|
+
|
9
|
+
- API version: v1
|
10
|
+
- Package version: 1.2.8
|
11
|
+
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build cloudmersive-convert-api-client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.2.8.gem
|
27
|
+
```
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.2.8.gem` to install the development dependencies)
|
29
|
+
|
30
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
|
+
|
32
|
+
Finally add this to the Gemfile:
|
33
|
+
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.2.8'
|
35
|
+
|
36
|
+
### Install from Git
|
37
|
+
|
38
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
39
|
+
|
40
|
+
gem 'cloudmersive-convert-api-client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
41
|
+
|
42
|
+
### Include the Ruby code directly
|
43
|
+
|
44
|
+
Include the Ruby code directly using `-I` as follows:
|
45
|
+
|
46
|
+
```shell
|
47
|
+
ruby -Ilib script.rb
|
48
|
+
```
|
49
|
+
|
50
|
+
## Getting Started
|
51
|
+
|
52
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
53
|
+
```ruby
|
54
|
+
# Load the gem
|
55
|
+
require 'cloudmersive-convert-api-client'
|
56
|
+
|
57
|
+
# Setup authorization
|
58
|
+
CloudmersiveConvertApiClient.configure do |config|
|
59
|
+
# Configure API key authorization: Apikey
|
60
|
+
config.api_key['Apikey'] = 'YOUR API KEY'
|
61
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
62
|
+
#config.api_key_prefix['Apikey'] = 'Bearer'
|
63
|
+
end
|
64
|
+
|
65
|
+
api_instance = CloudmersiveConvertApiClient::CompareDocumentApi.new
|
66
|
+
|
67
|
+
input_file1 = File.new("/path/to/file.txt") # File | First input file to perform the operation on.
|
68
|
+
|
69
|
+
input_file2 = File.new("/path/to/file.txt") # File | Second input file to perform the operation on (more than 2 can be supplied).
|
70
|
+
|
71
|
+
|
72
|
+
begin
|
73
|
+
#Compare Two Word DOCX
|
74
|
+
result = api_instance.compare_document_docx(input_file1, input_file2)
|
75
|
+
p result
|
76
|
+
rescue CloudmersiveConvertApiClient::ApiError => e
|
77
|
+
puts "Exception when calling CompareDocumentApi->compare_document_docx: #{e}"
|
78
|
+
end
|
79
|
+
|
80
|
+
```
|
81
|
+
|
82
|
+
## Documentation for API Endpoints
|
83
|
+
|
84
|
+
All URIs are relative to *https://api.cloudmersive.com*
|
85
|
+
|
86
|
+
Class | Method | HTTP request | Description
|
87
|
+
------------ | ------------- | ------------- | -------------
|
88
|
+
*CloudmersiveConvertApiClient::CompareDocumentApi* | [**compare_document_docx**](docs/CompareDocumentApi.md#compare_document_docx) | **POST** /convert/compare/docx | Compare Two Word DOCX
|
89
|
+
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_csv_to_json**](docs/ConvertDataApi.md#convert_data_csv_to_json) | **POST** /convert/csv/to/json | CSV to JSON conversion
|
90
|
+
*CloudmersiveConvertApiClient::ConvertDataApi* | [**convert_data_xml_to_json**](docs/ConvertDataApi.md#convert_data_xml_to_json) | **POST** /convert/xml/to/json | XML to JSON conversion
|
91
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_autodetect_to_pdf**](docs/ConvertDocumentApi.md#convert_document_autodetect_to_pdf) | **POST** /convert/autodetect/to/pdf | Convert Document to PDF
|
92
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_csv_to_xlsx**](docs/ConvertDocumentApi.md#convert_document_csv_to_xlsx) | **POST** /convert/csv/to/xlsx | CSV to Excel XLSX
|
93
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_doc_to_docx**](docs/ConvertDocumentApi.md#convert_document_doc_to_docx) | **POST** /convert/doc/to/docx | Word DOC (97-03) to DOCX
|
94
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_doc_to_pdf**](docs/ConvertDocumentApi.md#convert_document_doc_to_pdf) | **POST** /convert/doc/to/pdf | Word DOC (97-03) to PDF
|
95
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_docx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_docx_to_pdf) | **POST** /convert/docx/to/pdf | Word DOCX to PDF
|
96
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pdf_to_png_array**](docs/ConvertDocumentApi.md#convert_document_pdf_to_png_array) | **POST** /convert/pdf/to/png | PDF to PNG Array
|
97
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_ppt_to_pdf**](docs/ConvertDocumentApi.md#convert_document_ppt_to_pdf) | **POST** /convert/ppt/to/pdf | PowerPoint PPT (97-03) to PDF
|
98
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_ppt_to_pptx**](docs/ConvertDocumentApi.md#convert_document_ppt_to_pptx) | **POST** /convert/ppt/to/pptx | PowerPoint PPT (97-03) to PPTX
|
99
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_pptx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_pptx_to_pdf) | **POST** /convert/pptx/to/pdf | PowerPoint PPTX to PDF
|
100
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xls_to_pdf**](docs/ConvertDocumentApi.md#convert_document_xls_to_pdf) | **POST** /convert/xls/to/pdf | Excel XLS (97-03) to PDF
|
101
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xls_to_xlsx**](docs/ConvertDocumentApi.md#convert_document_xls_to_xlsx) | **POST** /convert/xls/to/xlsx | Excel XLS (97-03) to XLSX
|
102
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_csv**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_csv) | **POST** /convert/xlsx/to/csv | Excel XLSX to CSV
|
103
|
+
*CloudmersiveConvertApiClient::ConvertDocumentApi* | [**convert_document_xlsx_to_pdf**](docs/ConvertDocumentApi.md#convert_document_xlsx_to_pdf) | **POST** /convert/xlsx/to/pdf | Excel XLSX to PDF
|
104
|
+
*CloudmersiveConvertApiClient::ConvertImageApi* | [**convert_image_image_format_convert**](docs/ConvertImageApi.md#convert_image_image_format_convert) | **POST** /convert/image/{format1}/to/{format2} | Image format conversion
|
105
|
+
*CloudmersiveConvertApiClient::ConvertTemplateApi* | [**convert_template_apply_html_template**](docs/ConvertTemplateApi.md#convert_template_apply_html_template) | **POST** /convert/template/html/apply | Apply HTML template
|
106
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_docx**](docs/ConvertWebApi.md#convert_web_html_to_docx) | **POST** /convert/html/to/docx | HTML to DOCX
|
107
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_html_to_pdf**](docs/ConvertWebApi.md#convert_web_html_to_pdf) | **POST** /convert/web/html/to/pdf | Convert HTML string to PDF
|
108
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_md_to_html**](docs/ConvertWebApi.md#convert_web_md_to_html) | **POST** /convert/web/md/to/html | Convert Markdown to HTML
|
109
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_url_to_pdf**](docs/ConvertWebApi.md#convert_web_url_to_pdf) | **POST** /convert/web/url/to/pdf | Convert a URL to PDF
|
110
|
+
*CloudmersiveConvertApiClient::ConvertWebApi* | [**convert_web_url_to_screenshot**](docs/ConvertWebApi.md#convert_web_url_to_screenshot) | **POST** /convert/web/url/to/screenshot | Take screenshot of URL
|
111
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_begin_editing**](docs/EditDocumentApi.md#edit_document_begin_editing) | **POST** /convert/edit/begin-editing | Begin editing a document
|
112
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_headers_and_footers**](docs/EditDocumentApi.md#edit_document_docx_get_headers_and_footers) | **POST** /convert/edit/docx/get-headers-and-footers | Get content of a footer from a DOCX
|
113
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_styles**](docs/EditDocumentApi.md#edit_document_docx_get_styles) | **POST** /convert/edit/docx/get-styles | Get styles from a DOCX
|
114
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_get_tables**](docs/EditDocumentApi.md#edit_document_docx_get_tables) | **POST** /convert/edit/docx/get-tables | Get tables in DOCX
|
115
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_insert_image**](docs/EditDocumentApi.md#edit_document_docx_insert_image) | **POST** /convert/edit/docx/insert-image | Insert image into a DOCX
|
116
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_insert_table**](docs/EditDocumentApi.md#edit_document_docx_insert_table) | **POST** /convert/edit/docx/insert-table | Insert a new table into a DOCX
|
117
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_remove_headers_and_footers**](docs/EditDocumentApi.md#edit_document_docx_remove_headers_and_footers) | **POST** /convert/edit/docx/remove-headers-and-footers | Remove headers and footers from DOCX
|
118
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_replace**](docs/EditDocumentApi.md#edit_document_docx_replace) | **POST** /convert/edit/docx/replace-all | Replace string in DOCX
|
119
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_set_footer**](docs/EditDocumentApi.md#edit_document_docx_set_footer) | **POST** /convert/edit/docx/set-footer | Set the footer in a DOCX
|
120
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_docx_set_header**](docs/EditDocumentApi.md#edit_document_docx_set_header) | **POST** /convert/edit/docx/set-header | Set the header in a DOCX
|
121
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_finish_editing**](docs/EditDocumentApi.md#edit_document_finish_editing) | **POST** /convert/edit/finish-editing | Download result from document editing
|
122
|
+
*CloudmersiveConvertApiClient::EditDocumentApi* | [**edit_document_pptx_replace**](docs/EditDocumentApi.md#edit_document_pptx_replace) | **POST** /convert/edit/pptx/replace-all | Replace string in PPTX
|
123
|
+
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_docx**](docs/MergeDocumentApi.md#merge_document_docx) | **POST** /convert/merge/docx | Merge Multple Word DOCX Together
|
124
|
+
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_pptx**](docs/MergeDocumentApi.md#merge_document_pptx) | **POST** /convert/merge/pptx | Merge Multple PowerPoint PPTX Together
|
125
|
+
*CloudmersiveConvertApiClient::MergeDocumentApi* | [**merge_document_xlsx**](docs/MergeDocumentApi.md#merge_document_xlsx) | **POST** /convert/merge/xlsx | Merge Multple Excel XLSX Together
|
126
|
+
*CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_docx_validation**](docs/ValidateDocumentApi.md#validate_document_docx_validation) | **POST** /convert/validate/docx | Validate a Word document (DOCX)
|
127
|
+
*CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_pptx_validation**](docs/ValidateDocumentApi.md#validate_document_pptx_validation) | **POST** /convert/validate/pptx | Validate a PowerPoint presentation (PPTX)
|
128
|
+
*CloudmersiveConvertApiClient::ValidateDocumentApi* | [**validate_document_xlsx_validation**](docs/ValidateDocumentApi.md#validate_document_xlsx_validation) | **POST** /convert/validate/xlsx | Validate a Excel document (XLSX)
|
129
|
+
*CloudmersiveConvertApiClient::ViewerToolsApi* | [**viewer_tools_create_simple**](docs/ViewerToolsApi.md#viewer_tools_create_simple) | **POST** /convert/viewer/create/web/simple | Create a web-based viewer
|
130
|
+
|
131
|
+
|
132
|
+
## Documentation for Models
|
133
|
+
|
134
|
+
- [CloudmersiveConvertApiClient::ConvertedPngPage](docs/ConvertedPngPage.md)
|
135
|
+
- [CloudmersiveConvertApiClient::DocumentValidationError](docs/DocumentValidationError.md)
|
136
|
+
- [CloudmersiveConvertApiClient::DocumentValidationResult](docs/DocumentValidationResult.md)
|
137
|
+
- [CloudmersiveConvertApiClient::DocxFooter](docs/DocxFooter.md)
|
138
|
+
- [CloudmersiveConvertApiClient::DocxHeader](docs/DocxHeader.md)
|
139
|
+
- [CloudmersiveConvertApiClient::DocxInsertImageRequest](docs/DocxInsertImageRequest.md)
|
140
|
+
- [CloudmersiveConvertApiClient::DocxInsertImageResponse](docs/DocxInsertImageResponse.md)
|
141
|
+
- [CloudmersiveConvertApiClient::DocxParagraph](docs/DocxParagraph.md)
|
142
|
+
- [CloudmersiveConvertApiClient::DocxRun](docs/DocxRun.md)
|
143
|
+
- [CloudmersiveConvertApiClient::DocxSection](docs/DocxSection.md)
|
144
|
+
- [CloudmersiveConvertApiClient::DocxSetFooterRequest](docs/DocxSetFooterRequest.md)
|
145
|
+
- [CloudmersiveConvertApiClient::DocxSetFooterResponse](docs/DocxSetFooterResponse.md)
|
146
|
+
- [CloudmersiveConvertApiClient::DocxSetHeaderRequest](docs/DocxSetHeaderRequest.md)
|
147
|
+
- [CloudmersiveConvertApiClient::DocxSetHeaderResponse](docs/DocxSetHeaderResponse.md)
|
148
|
+
- [CloudmersiveConvertApiClient::DocxStyle](docs/DocxStyle.md)
|
149
|
+
- [CloudmersiveConvertApiClient::DocxTable](docs/DocxTable.md)
|
150
|
+
- [CloudmersiveConvertApiClient::DocxTableCell](docs/DocxTableCell.md)
|
151
|
+
- [CloudmersiveConvertApiClient::DocxTableRow](docs/DocxTableRow.md)
|
152
|
+
- [CloudmersiveConvertApiClient::DocxText](docs/DocxText.md)
|
153
|
+
- [CloudmersiveConvertApiClient::FinishEditingRequest](docs/FinishEditingRequest.md)
|
154
|
+
- [CloudmersiveConvertApiClient::GetDocxHeadersAndFootersRequest](docs/GetDocxHeadersAndFootersRequest.md)
|
155
|
+
- [CloudmersiveConvertApiClient::GetDocxHeadersAndFootersResponse](docs/GetDocxHeadersAndFootersResponse.md)
|
156
|
+
- [CloudmersiveConvertApiClient::GetDocxStylesRequest](docs/GetDocxStylesRequest.md)
|
157
|
+
- [CloudmersiveConvertApiClient::GetDocxStylesResponse](docs/GetDocxStylesResponse.md)
|
158
|
+
- [CloudmersiveConvertApiClient::GetDocxTablesRequest](docs/GetDocxTablesRequest.md)
|
159
|
+
- [CloudmersiveConvertApiClient::GetDocxTablesResponse](docs/GetDocxTablesResponse.md)
|
160
|
+
- [CloudmersiveConvertApiClient::HtmlMdResult](docs/HtmlMdResult.md)
|
161
|
+
- [CloudmersiveConvertApiClient::HtmlTemplateApplicationRequest](docs/HtmlTemplateApplicationRequest.md)
|
162
|
+
- [CloudmersiveConvertApiClient::HtmlTemplateApplicationResponse](docs/HtmlTemplateApplicationResponse.md)
|
163
|
+
- [CloudmersiveConvertApiClient::HtmlTemplateOperation](docs/HtmlTemplateOperation.md)
|
164
|
+
- [CloudmersiveConvertApiClient::HtmlToOfficeRequest](docs/HtmlToOfficeRequest.md)
|
165
|
+
- [CloudmersiveConvertApiClient::HtmlToPdfRequest](docs/HtmlToPdfRequest.md)
|
166
|
+
- [CloudmersiveConvertApiClient::InsertDocxTablesRequest](docs/InsertDocxTablesRequest.md)
|
167
|
+
- [CloudmersiveConvertApiClient::InsertDocxTablesResponse](docs/InsertDocxTablesResponse.md)
|
168
|
+
- [CloudmersiveConvertApiClient::PdfToPngResult](docs/PdfToPngResult.md)
|
169
|
+
- [CloudmersiveConvertApiClient::RemoveDocxHeadersAndFootersRequest](docs/RemoveDocxHeadersAndFootersRequest.md)
|
170
|
+
- [CloudmersiveConvertApiClient::RemoveDocxHeadersAndFootersResponse](docs/RemoveDocxHeadersAndFootersResponse.md)
|
171
|
+
- [CloudmersiveConvertApiClient::ReplaceStringRequest](docs/ReplaceStringRequest.md)
|
172
|
+
- [CloudmersiveConvertApiClient::ScreenshotRequest](docs/ScreenshotRequest.md)
|
173
|
+
- [CloudmersiveConvertApiClient::ViewerResponse](docs/ViewerResponse.md)
|
174
|
+
|
175
|
+
|
176
|
+
## Documentation for Authorization
|
177
|
+
|
178
|
+
|
179
|
+
### Apikey
|
180
|
+
|
181
|
+
- **Type**: API key
|
182
|
+
- **API key parameter name**: Apikey
|
183
|
+
- **Location**: HTTP header
|
184
|
+
|
data/client/Rakefile
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
#
|
3
|
+
=begin
|
4
|
+
#convertapi
|
5
|
+
|
6
|
+
#Convert API lets you effortlessly convert file formats and types.
|
7
|
+
|
8
|
+
OpenAPI spec version: v1
|
9
|
+
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
+
Swagger Codegen version: unset
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "cloudmersive-convert-api-client/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "cloudmersive-convert-api-client"
|
20
|
+
s.version = CloudmersiveConvertApiClient::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["Cloudmersive"]
|
23
|
+
s.email = [""]
|
24
|
+
s.homepage = "https://www.cloudmersive.com/convert-api"
|
25
|
+
s.summary = "Convert API lets you effortlessly convert file formats and types."
|
26
|
+
s.description = "Convert files and content between file formats. Convert data between file formats. Instantly."
|
27
|
+
s.license = "Apache 2.0"
|
28
|
+
s.required_ruby_version = ">= 1.9"
|
29
|
+
|
30
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
|
+
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
|
+
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
|
+
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
35
|
+
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
36
|
+
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
37
|
+
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
38
|
+
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
39
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
40
|
+
|
41
|
+
s.files = Dir['./**/*']
|
42
|
+
s.test_files = `find spec/*`.split("\n")
|
43
|
+
s.executables = []
|
44
|
+
s.require_paths = ["lib"]
|
45
|
+
end
|