aspose_pdf_cloud 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +41 -0
  4. data/aspose_pdf_cloud.gemspec +26 -0
  5. data/lib/aspose_pdf_cloud.rb +91 -0
  6. data/lib/aspose_pdf_cloud/api/pdf_api.rb +3318 -0
  7. data/lib/aspose_pdf_cloud/api_client.rb +335 -0
  8. data/lib/aspose_pdf_cloud/api_error.rb +24 -0
  9. data/lib/aspose_pdf_cloud/configuration.rb +166 -0
  10. data/lib/aspose_pdf_cloud/models/annotation.rb +87 -0
  11. data/lib/aspose_pdf_cloud/models/annotation_response.rb +61 -0
  12. data/lib/aspose_pdf_cloud/models/annotations.rb +49 -0
  13. data/lib/aspose_pdf_cloud/models/annotations_response.rb +61 -0
  14. data/lib/aspose_pdf_cloud/models/append_document.rb +53 -0
  15. data/lib/aspose_pdf_cloud/models/attachment.rb +95 -0
  16. data/lib/aspose_pdf_cloud/models/attachment_response.rb +61 -0
  17. data/lib/aspose_pdf_cloud/models/attachments.rb +49 -0
  18. data/lib/aspose_pdf_cloud/models/attachments_response.rb +61 -0
  19. data/lib/aspose_pdf_cloud/models/barcode_response_list.rb +45 -0
  20. data/lib/aspose_pdf_cloud/models/base_object.rb +86 -0
  21. data/lib/aspose_pdf_cloud/models/base_response.rb +61 -0
  22. data/lib/aspose_pdf_cloud/models/bookmarks.rb +49 -0
  23. data/lib/aspose_pdf_cloud/models/bookmarks_response.rb +61 -0
  24. data/lib/aspose_pdf_cloud/models/color.rb +61 -0
  25. data/lib/aspose_pdf_cloud/models/document.rb +55 -0
  26. data/lib/aspose_pdf_cloud/models/document_pages_response.rb +61 -0
  27. data/lib/aspose_pdf_cloud/models/document_properties.rb +49 -0
  28. data/lib/aspose_pdf_cloud/models/document_properties_response.rb +61 -0
  29. data/lib/aspose_pdf_cloud/models/document_property.rb +63 -0
  30. data/lib/aspose_pdf_cloud/models/document_property_response.rb +61 -0
  31. data/lib/aspose_pdf_cloud/models/document_response.rb +61 -0
  32. data/lib/aspose_pdf_cloud/models/document_text_replace_response.rb +69 -0
  33. data/lib/aspose_pdf_cloud/models/field.rb +83 -0
  34. data/lib/aspose_pdf_cloud/models/field_response.rb +61 -0
  35. data/lib/aspose_pdf_cloud/models/fields.rb +49 -0
  36. data/lib/aspose_pdf_cloud/models/fields_response.rb +61 -0
  37. data/lib/aspose_pdf_cloud/models/image.rb +55 -0
  38. data/lib/aspose_pdf_cloud/models/image_response.rb +61 -0
  39. data/lib/aspose_pdf_cloud/models/images.rb +49 -0
  40. data/lib/aspose_pdf_cloud/models/images_response.rb +61 -0
  41. data/lib/aspose_pdf_cloud/models/link.rb +61 -0
  42. data/lib/aspose_pdf_cloud/models/link_annotation.rb +71 -0
  43. data/lib/aspose_pdf_cloud/models/link_annotation_response.rb +61 -0
  44. data/lib/aspose_pdf_cloud/models/link_annotations.rb +49 -0
  45. data/lib/aspose_pdf_cloud/models/link_annotations_response.rb +61 -0
  46. data/lib/aspose_pdf_cloud/models/link_element.rb +39 -0
  47. data/lib/aspose_pdf_cloud/models/merge_documents.rb +39 -0
  48. data/lib/aspose_pdf_cloud/models/page.rb +63 -0
  49. data/lib/aspose_pdf_cloud/models/page_response.rb +61 -0
  50. data/lib/aspose_pdf_cloud/models/page_text_replace_response.rb +69 -0
  51. data/lib/aspose_pdf_cloud/models/page_word_count.rb +45 -0
  52. data/lib/aspose_pdf_cloud/models/pages.rb +49 -0
  53. data/lib/aspose_pdf_cloud/models/rectangle.rb +61 -0
  54. data/lib/aspose_pdf_cloud/models/signature.rb +109 -0
  55. data/lib/aspose_pdf_cloud/models/split_result.rb +39 -0
  56. data/lib/aspose_pdf_cloud/models/split_result_document.rb +69 -0
  57. data/lib/aspose_pdf_cloud/models/split_result_response.rb +61 -0
  58. data/lib/aspose_pdf_cloud/models/stamp.rb +205 -0
  59. data/lib/aspose_pdf_cloud/models/text_format.rb +63 -0
  60. data/lib/aspose_pdf_cloud/models/text_format_response.rb +61 -0
  61. data/lib/aspose_pdf_cloud/models/text_item.rb +55 -0
  62. data/lib/aspose_pdf_cloud/models/text_item_response.rb +61 -0
  63. data/lib/aspose_pdf_cloud/models/text_items.rb +49 -0
  64. data/lib/aspose_pdf_cloud/models/text_items_response.rb +61 -0
  65. data/lib/aspose_pdf_cloud/models/text_replace.rb +53 -0
  66. data/lib/aspose_pdf_cloud/models/text_replace_list_request.rb +39 -0
  67. data/lib/aspose_pdf_cloud/models/text_state.rb +69 -0
  68. data/lib/aspose_pdf_cloud/models/tiff_export_options.rb +157 -0
  69. data/lib/aspose_pdf_cloud/models/word_count.rb +39 -0
  70. data/lib/aspose_pdf_cloud/models/word_count_response.rb +61 -0
  71. data/lib/aspose_pdf_cloud/version.rb +3 -0
  72. data/test/data/Sample-Annotation-Property.pdf +0 -0
  73. data/test/data/Sample-Annotation.pdf +0 -0
  74. data/test/data/Sample-Bookmark.pdf +0 -0
  75. data/test/data/Sample.pdf +0 -0
  76. data/test/data/SampleAttachment.pdf +0 -0
  77. data/test/data/SampleBarCodeImage.pdf +0 -0
  78. data/test/data/SampleImage.pdf +0 -0
  79. data/test/data/aspose-cloud.png +0 -0
  80. data/test/data/pkc7-sample.pfx +0 -0
  81. data/test/data/sample-field.pdf +0 -0
  82. data/test/data/sample-home.jpg +0 -0
  83. data/test/data/sample-input-2.pdf +0 -0
  84. data/test/data/sample-input.pdf +0 -0
  85. data/test/data/sample-merged.pdf +0 -0
  86. data/test/data/sample.tiff +0 -0
  87. data/test/pdf_tests.rb +623 -0
  88. metadata +216 -0
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aspose_pdf_cloud
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - M. Sohail Ismail
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: aspose_storage_cloud
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 1.0.0
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '1.0'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 1.0.0
61
+ - !ruby/object:Gem::Dependency
62
+ name: minitest
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '5.8'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '5.8'
75
+ description: 'Aspose.Pdf for Cloud is a REST API for creating and editing PDF files.
76
+ It can also be used to convert PDF files to different formats like DOC, HTML, XPS,
77
+ TIFF and many more. Aspose.Pdf for Cloud gives you control: create PDFs from scratch
78
+ or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats
79
+ such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.Pdf for Cloud helps you
80
+ manipulate elements of a PDF file like text, annotations, watermarks, signatures,
81
+ bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by
82
+ using features like merging, splitting, and inserting. Add images to a PDF file
83
+ or convert PDF pages to images.'
84
+ email:
85
+ - muhammad.sohail@aspose.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - LICENSE
91
+ - README.md
92
+ - aspose_pdf_cloud.gemspec
93
+ - lib/aspose_pdf_cloud.rb
94
+ - lib/aspose_pdf_cloud/api/pdf_api.rb
95
+ - lib/aspose_pdf_cloud/api_client.rb
96
+ - lib/aspose_pdf_cloud/api_error.rb
97
+ - lib/aspose_pdf_cloud/configuration.rb
98
+ - lib/aspose_pdf_cloud/models/annotation.rb
99
+ - lib/aspose_pdf_cloud/models/annotation_response.rb
100
+ - lib/aspose_pdf_cloud/models/annotations.rb
101
+ - lib/aspose_pdf_cloud/models/annotations_response.rb
102
+ - lib/aspose_pdf_cloud/models/append_document.rb
103
+ - lib/aspose_pdf_cloud/models/attachment.rb
104
+ - lib/aspose_pdf_cloud/models/attachment_response.rb
105
+ - lib/aspose_pdf_cloud/models/attachments.rb
106
+ - lib/aspose_pdf_cloud/models/attachments_response.rb
107
+ - lib/aspose_pdf_cloud/models/barcode_response_list.rb
108
+ - lib/aspose_pdf_cloud/models/base_object.rb
109
+ - lib/aspose_pdf_cloud/models/base_response.rb
110
+ - lib/aspose_pdf_cloud/models/bookmarks.rb
111
+ - lib/aspose_pdf_cloud/models/bookmarks_response.rb
112
+ - lib/aspose_pdf_cloud/models/color.rb
113
+ - lib/aspose_pdf_cloud/models/document.rb
114
+ - lib/aspose_pdf_cloud/models/document_pages_response.rb
115
+ - lib/aspose_pdf_cloud/models/document_properties.rb
116
+ - lib/aspose_pdf_cloud/models/document_properties_response.rb
117
+ - lib/aspose_pdf_cloud/models/document_property.rb
118
+ - lib/aspose_pdf_cloud/models/document_property_response.rb
119
+ - lib/aspose_pdf_cloud/models/document_response.rb
120
+ - lib/aspose_pdf_cloud/models/document_text_replace_response.rb
121
+ - lib/aspose_pdf_cloud/models/field.rb
122
+ - lib/aspose_pdf_cloud/models/field_response.rb
123
+ - lib/aspose_pdf_cloud/models/fields.rb
124
+ - lib/aspose_pdf_cloud/models/fields_response.rb
125
+ - lib/aspose_pdf_cloud/models/image.rb
126
+ - lib/aspose_pdf_cloud/models/image_response.rb
127
+ - lib/aspose_pdf_cloud/models/images.rb
128
+ - lib/aspose_pdf_cloud/models/images_response.rb
129
+ - lib/aspose_pdf_cloud/models/link.rb
130
+ - lib/aspose_pdf_cloud/models/link_annotation.rb
131
+ - lib/aspose_pdf_cloud/models/link_annotation_response.rb
132
+ - lib/aspose_pdf_cloud/models/link_annotations.rb
133
+ - lib/aspose_pdf_cloud/models/link_annotations_response.rb
134
+ - lib/aspose_pdf_cloud/models/link_element.rb
135
+ - lib/aspose_pdf_cloud/models/merge_documents.rb
136
+ - lib/aspose_pdf_cloud/models/page.rb
137
+ - lib/aspose_pdf_cloud/models/page_response.rb
138
+ - lib/aspose_pdf_cloud/models/page_text_replace_response.rb
139
+ - lib/aspose_pdf_cloud/models/page_word_count.rb
140
+ - lib/aspose_pdf_cloud/models/pages.rb
141
+ - lib/aspose_pdf_cloud/models/rectangle.rb
142
+ - lib/aspose_pdf_cloud/models/signature.rb
143
+ - lib/aspose_pdf_cloud/models/split_result.rb
144
+ - lib/aspose_pdf_cloud/models/split_result_document.rb
145
+ - lib/aspose_pdf_cloud/models/split_result_response.rb
146
+ - lib/aspose_pdf_cloud/models/stamp.rb
147
+ - lib/aspose_pdf_cloud/models/text_format.rb
148
+ - lib/aspose_pdf_cloud/models/text_format_response.rb
149
+ - lib/aspose_pdf_cloud/models/text_item.rb
150
+ - lib/aspose_pdf_cloud/models/text_item_response.rb
151
+ - lib/aspose_pdf_cloud/models/text_items.rb
152
+ - lib/aspose_pdf_cloud/models/text_items_response.rb
153
+ - lib/aspose_pdf_cloud/models/text_replace.rb
154
+ - lib/aspose_pdf_cloud/models/text_replace_list_request.rb
155
+ - lib/aspose_pdf_cloud/models/text_state.rb
156
+ - lib/aspose_pdf_cloud/models/tiff_export_options.rb
157
+ - lib/aspose_pdf_cloud/models/word_count.rb
158
+ - lib/aspose_pdf_cloud/models/word_count_response.rb
159
+ - lib/aspose_pdf_cloud/version.rb
160
+ - test/data/Sample-Annotation-Property.pdf
161
+ - test/data/Sample-Annotation.pdf
162
+ - test/data/Sample-Bookmark.pdf
163
+ - test/data/Sample.pdf
164
+ - test/data/SampleAttachment.pdf
165
+ - test/data/SampleBarCodeImage.pdf
166
+ - test/data/SampleImage.pdf
167
+ - test/data/aspose-cloud.png
168
+ - test/data/pkc7-sample.pfx
169
+ - test/data/sample-field.pdf
170
+ - test/data/sample-home.jpg
171
+ - test/data/sample-input-2.pdf
172
+ - test/data/sample-input.pdf
173
+ - test/data/sample-merged.pdf
174
+ - test/data/sample.tiff
175
+ - test/pdf_tests.rb
176
+ homepage: http://www.aspose.com/cloud/pdf-api.aspx
177
+ licenses:
178
+ - MIT
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubyforge_project:
196
+ rubygems_version: 2.5.1
197
+ signing_key:
198
+ specification_version: 4
199
+ summary: Aspose.Pdf for Cloud
200
+ test_files:
201
+ - test/data/Sample-Annotation-Property.pdf
202
+ - test/data/Sample-Annotation.pdf
203
+ - test/data/Sample-Bookmark.pdf
204
+ - test/data/Sample.pdf
205
+ - test/data/SampleAttachment.pdf
206
+ - test/data/SampleBarCodeImage.pdf
207
+ - test/data/SampleImage.pdf
208
+ - test/data/aspose-cloud.png
209
+ - test/data/pkc7-sample.pfx
210
+ - test/data/sample-field.pdf
211
+ - test/data/sample-home.jpg
212
+ - test/data/sample-input-2.pdf
213
+ - test/data/sample-input.pdf
214
+ - test/data/sample-merged.pdf
215
+ - test/data/sample.tiff
216
+ - test/pdf_tests.rb