asposecloud 1.0.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +31 -9
- data/Tests/Barcode/builder_tests.rb +95 -0
- data/Tests/Barcode/reader_tests.rb +70 -0
- data/Tests/Cells/charteditor_tests.rb +139 -0
- data/Tests/Cells/converter_tests.rb +83 -0
- data/Tests/Cells/extractor_tests.rb +40 -0
- data/Tests/Cells/texteditor_tests.rb +52 -0
- data/Tests/Cells/workbook_tests.rb +167 -0
- data/Tests/Cells/worksheet_tests.rb +435 -0
- data/Tests/Data/barcodeQR.bmp +0 -0
- data/Tests/Data/barcodeQR.jpg +0 -0
- data/Tests/Data/barcodeQR.tiff +0 -0
- data/Tests/Data/bizcard.psd +0 -0
- data/Tests/Data/macbook.gif +0 -0
- data/Tests/Data/mail_merge_regions.docx +0 -0
- data/Tests/Data/mail_merge_template.docx +0 -0
- data/Tests/Data/test_cells.xlsx +0 -0
- data/Tests/Data/test_multi_pages.docx +0 -0
- data/Tests/Data/test_slides.pptx +0 -0
- data/Tests/Email/converter_tests.rb +30 -0
- data/Tests/Email/document_tests.rb +55 -0
- data/Tests/Imaging/converter_tests.rb +32 -0
- data/Tests/Imaging/document_tests.rb +132 -0
- data/Tests/Imaging/extractor_tests.rb +67 -0
- data/Tests/Imaging/image_tests.rb +55 -0
- data/Tests/Ocr/extractor_tests.rb +34 -0
- data/Tests/Pdf/annotationeditor_tests.rb +128 -0
- data/Tests/Pdf/converter_tests.rb +74 -0
- data/Tests/Pdf/document_tests.rb +285 -0
- data/Tests/Pdf/extractor_tests.rb +37 -0
- data/Tests/Pdf/texteditor_tests.rb +84 -0
- data/Tests/Slides/converter_tests.rb +59 -0
- data/Tests/Slides/document_tests.rb +187 -0
- data/Tests/Slides/extractor_tests.rb +92 -0
- data/Tests/Storage/folder_tests.rb +64 -0
- data/Tests/Tasks/assignments_tests.rb +44 -0
- data/Tests/Tasks/calendar_tests.rb +45 -0
- data/Tests/Tasks/converter_tests.rb +32 -0
- data/Tests/Tasks/document_tests.rb +114 -0
- data/Tests/Tasks/resources_tests.rb +44 -0
- data/Tests/Words/builder_tests.rb +56 -0
- data/Tests/Words/converter_tests.rb +54 -0
- data/Tests/Words/document_tests.rb +208 -0
- data/Tests/Words/extractor_tests.rb +120 -0
- data/Tests/Words/mail_merge_tests.rb +120 -0
- data/Tests/setup.json +6 -0
- data/lib/Barcode/builder.rb +270 -20
- data/lib/Barcode/reader.rb +112 -18
- data/lib/Cells/chart_editor.rb +102 -0
- data/lib/Cells/convertor.rb +22 -2
- data/lib/Cells/text_editor.rb +8 -2
- data/lib/Cells/workbook.rb +63 -3
- data/lib/Cells/worksheet.rb +479 -10
- data/lib/Common/utils.rb +2 -0
- data/lib/Email/converter.rb +2 -18
- data/lib/Email/document.rb +32 -17
- data/lib/Ocr/extractor.rb +26 -20
- data/lib/Pdf/annotation_editor.rb +0 -17
- data/lib/Pdf/converter.rb +25 -17
- data/lib/Pdf/document.rb +167 -23
- data/lib/Pdf/extractor.rb +0 -17
- data/lib/Pdf/text_editor.rb +35 -20
- data/lib/Slides/converter.rb +48 -18
- data/lib/Slides/document.rb +186 -51
- data/lib/Slides/extractor.rb +35 -18
- data/lib/Storage/folder.rb +30 -25
- data/lib/Words/builder.rb +23 -29
- data/lib/Words/converter.rb +30 -17
- data/lib/Words/document.rb +336 -28
- data/lib/Words/extractor.rb +112 -33
- data/lib/Words/mail_merge.rb +2 -20
- data/{Tests/word_tests.rb → lib/aspose_imaging.rb} +5 -17
- data/lib/asposecloud.rb +3 -1
- data/lib/asposecloud/version.rb +1 -1
- data/lib/imaging/converter.rb +55 -0
- data/lib/imaging/document.rb +301 -0
- data/lib/imaging/extractor.rb +165 -0
- data/lib/imaging/image.rb +118 -0
- data/lib/restclient.rb +36 -0
- data/lib/tasks/assignments.rb +19 -19
- data/lib/tasks/calendar.rb +27 -19
- data/lib/tasks/converter.rb +4 -17
- data/lib/tasks/document.rb +79 -22
- data/lib/tasks/resources.rb +18 -18
- metadata +70 -19
- checksums.yaml +0 -7
- data/Tests/barcode_tests.rb +0 -45
- data/Tests/cell_tests.rb +0 -41
- data/Tests/email_tests.rb +0 -43
- data/Tests/pdf_tests.rb +0 -76
- data/Tests/slide_tests.rb +0 -41
- data/Tests/storage_tests.rb +0 -86
- data/Tests/tasks_tests.rb +0 -24
data/lib/tasks/converter.rb
CHANGED
@@ -1,20 +1,3 @@
|
|
1
|
-
# Copyright (c) Aspose 2002-2014. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# LICENSE: This program is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU General Public License
|
5
|
-
# as published by the Free Software Foundation; either version 3
|
6
|
-
# of the License, or (at your option) any later version.
|
7
|
-
# This program is distributed in the hope that it will be useful,
|
8
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
10
|
-
# GNU General Public License for more details.
|
11
|
-
# You should have received a copy of the GNU General Public License
|
12
|
-
# along with this program. If not, see <http://opensource.org/licenses/gpl-3.0.html>;.
|
13
|
-
#
|
14
|
-
# @package Aspose_Cloud_SDK_For_Ruby
|
15
|
-
# @author Assad Mahmood Qazi <assad.mahmood@aspose.com>
|
16
|
-
# @link https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_Ruby/tree/revamp
|
17
|
-
|
18
1
|
module Aspose
|
19
2
|
module Cloud
|
20
3
|
module Tasks
|
@@ -26,6 +9,10 @@ module Aspose
|
|
26
9
|
@base_uri = Aspose::Cloud::Common::Product.product_uri + '/tasks/' + @filename
|
27
10
|
end
|
28
11
|
|
12
|
+
=begin
|
13
|
+
Convert Project Data to Other Formats
|
14
|
+
@param string save_format Format of the document after conversion.
|
15
|
+
=end
|
29
16
|
def convert(save_format, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
30
17
|
raise 'save_format not specified.' if save_format.empty?
|
31
18
|
|
data/lib/tasks/document.rb
CHANGED
@@ -1,20 +1,3 @@
|
|
1
|
-
# Copyright (c) Aspose 2002-2014. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# LICENSE: This program is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU General Public License
|
5
|
-
# as published by the Free Software Foundation; either version 3
|
6
|
-
# of the License, or (at your option) any later version.
|
7
|
-
# This program is distributed in the hope that it will be useful,
|
8
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
10
|
-
# GNU General Public License for more details.
|
11
|
-
# You should have received a copy of the GNU General Public License
|
12
|
-
# along with this program. If not, see <http://opensource.org/licenses/gpl-3.0.html>;.
|
13
|
-
#
|
14
|
-
# @package Aspose_Cloud_SDK_For_Ruby
|
15
|
-
# @author Assad Mahmood Qazi <assad.mahmood@aspose.com>
|
16
|
-
# @link https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_Ruby/tree/revamp
|
17
|
-
|
18
1
|
module Aspose
|
19
2
|
module Cloud
|
20
3
|
module Tasks
|
@@ -25,6 +8,9 @@ module Aspose
|
|
25
8
|
@base_uri = Aspose::Cloud::Common::Product.product_uri + '/tasks/' + @filename
|
26
9
|
end
|
27
10
|
|
11
|
+
=begin
|
12
|
+
Retrieve Project Properties
|
13
|
+
=end
|
28
14
|
def get_properties(folder_name = '', storage_type = 'Aspose', storage_name = '')
|
29
15
|
str_uri = "#{@base_uri}/documentProperties"
|
30
16
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
@@ -32,6 +18,9 @@ module Aspose
|
|
32
18
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['Properties']['List']
|
33
19
|
end
|
34
20
|
|
21
|
+
=begin
|
22
|
+
Retrieve Project Tasks
|
23
|
+
=end
|
35
24
|
def get_tasks(folder_name = '', storage_type = 'Aspose', storage_name = '')
|
36
25
|
str_uri = "#{@base_uri}/tasks"
|
37
26
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
@@ -39,6 +28,10 @@ module Aspose
|
|
39
28
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['Tasks']['TaskItem']
|
40
29
|
end
|
41
30
|
|
31
|
+
=begin
|
32
|
+
Retrieve Task Information
|
33
|
+
@param number task_id The id of the Task.
|
34
|
+
=end
|
42
35
|
def get_task(task_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
43
36
|
raise 'task_id not specified.' if task_id.nil?
|
44
37
|
|
@@ -48,6 +41,11 @@ module Aspose
|
|
48
41
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['Task']
|
49
42
|
end
|
50
43
|
|
44
|
+
=begin
|
45
|
+
Add a Task to Project
|
46
|
+
@param string task_name The name of the Task.
|
47
|
+
@param number before_task_id The id of the task to insert the new task before.
|
48
|
+
=end
|
51
49
|
def add_task(task_name, before_task_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
52
50
|
raise 'task_name not specified.' if task_name.nil?
|
53
51
|
raise 'before_task_id not specified.' if before_task_id.nil?
|
@@ -62,15 +60,23 @@ module Aspose
|
|
62
60
|
JSON.parse(RestClient.post(signed_str_uri, '', {:accept=>'application/json'}))['TaskItem']
|
63
61
|
end
|
64
62
|
|
63
|
+
=begin
|
64
|
+
Delete a Task from Project
|
65
|
+
@param number task_id The id of the Task.
|
66
|
+
=end
|
65
67
|
def delete_task(task_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
66
68
|
raise 'task_id not specified.' if task_id.nil?
|
67
69
|
|
68
70
|
str_uri = "#{@base_uri}/tasks/#{task_id}"
|
69
71
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
70
72
|
signed_str_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
|
71
|
-
JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
73
|
+
json = JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
74
|
+
json['Code'] == 200 ? true : false
|
72
75
|
end
|
73
76
|
|
77
|
+
=begin
|
78
|
+
Retrieve Task Links Information from a Project
|
79
|
+
=end
|
74
80
|
def get_links(folder_name = '', storage_type = 'Aspose', storage_name = '')
|
75
81
|
str_uri = "#{@base_uri}/taskLinks"
|
76
82
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
@@ -78,15 +84,51 @@ module Aspose
|
|
78
84
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['TaskLinks']
|
79
85
|
end
|
80
86
|
|
87
|
+
=begin
|
88
|
+
Add a Task Link to Project
|
89
|
+
@param string link URL of the link.
|
90
|
+
@param number index
|
91
|
+
@param number predecessor_uid Predecessor UID.
|
92
|
+
@param number successor_uid Successor UID.
|
93
|
+
@param string link_type Type of the link.
|
94
|
+
@param number lag
|
95
|
+
@param string lag_format
|
96
|
+
=end
|
97
|
+
def add_link(link, index, predecessor_uid, successor_uid, link_type, lag, lag_format, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
98
|
+
raise 'link not specified.' if link.empty?
|
99
|
+
raise 'index not specified.' if index.nil?
|
100
|
+
raise 'predecessor_uid not specified.' if predecessor_uid.nil?
|
101
|
+
raise 'successor_uid not specified.' if successor_uid.nil?
|
102
|
+
raise 'link_type not specified.' if link_type.empty?
|
103
|
+
raise 'lag not specified.' if lag.nil?
|
104
|
+
raise 'lag_format not specified.' if lag_format.empty?
|
105
|
+
|
106
|
+
data = { :Link=> link, :Index=> index, :PredecessorUid=> predecessor_uid, :SuccessorUid=> successor_uid, :LinkType=> link_type, :Lag=> lag, :LagFormat=> lag_format }
|
107
|
+
json_data = data.to_json
|
108
|
+
|
109
|
+
str_uri = "#{@base_uri}/taskLinks"
|
110
|
+
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
111
|
+
signed_str_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
|
112
|
+
JSON.parse(Aspose::Cloud::Common::Utils.process_command(signed_str_uri,'POST','JSON',json_data))['Code'] == 200 ? true : false
|
113
|
+
end
|
114
|
+
|
115
|
+
=begin
|
116
|
+
Delete a Task from Project
|
117
|
+
@param number link_index The index of the Link.
|
118
|
+
=end
|
81
119
|
def delete_link(link_index, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
82
120
|
raise 'link_index not specified.' if link_index.nil?
|
83
121
|
|
84
122
|
str_uri = "#{@base_uri}/taskLinks/#{link_index}"
|
85
123
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
86
124
|
signed_str_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
|
87
|
-
JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
125
|
+
json = JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
126
|
+
json['Code'] == 200 ? true : false
|
88
127
|
end
|
89
128
|
|
129
|
+
=begin
|
130
|
+
Get all Outline Codes from Project
|
131
|
+
=end
|
90
132
|
def get_outline_codes(folder_name = '', storage_type = 'Aspose', storage_name = '')
|
91
133
|
str_uri = "#{@base_uri}/outlineCodes"
|
92
134
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
@@ -103,15 +145,22 @@ module Aspose
|
|
103
145
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['OutlineCode']
|
104
146
|
end
|
105
147
|
|
148
|
+
=begin
|
149
|
+
Delete a Outline Code from a Project
|
150
|
+
=end
|
106
151
|
def delete_outline_code(outline_code_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
107
152
|
raise 'outline_code_id not specified.' if outline_code_id.nil?
|
108
153
|
|
109
154
|
str_uri = "#{@base_uri}/outlineCodes/#{outline_code_id}"
|
110
155
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
111
156
|
signed_str_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
|
112
|
-
JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
157
|
+
json = JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
158
|
+
json['Code'] == 200 ? true : false
|
113
159
|
end
|
114
160
|
|
161
|
+
=begin
|
162
|
+
Get all Extended Attributes from a Project
|
163
|
+
=end
|
115
164
|
def get_extended_attributes(folder_name = '', storage_type = 'Aspose', storage_name = '')
|
116
165
|
str_uri = "#{@base_uri}/extendedAttributes"
|
117
166
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
@@ -119,6 +168,10 @@ module Aspose
|
|
119
168
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['ExtendedAttributes']
|
120
169
|
end
|
121
170
|
|
171
|
+
=begin
|
172
|
+
Get a Particular Extended Attribute from a Project
|
173
|
+
@param number attribute_id The id of the attribute.
|
174
|
+
=end
|
122
175
|
def get_extended_attribute(attribute_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
123
176
|
raise 'attribute_id not specified.' if attribute_id.nil?
|
124
177
|
|
@@ -128,15 +181,19 @@ module Aspose
|
|
128
181
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['ExtendedAttribute']
|
129
182
|
end
|
130
183
|
|
184
|
+
=begin
|
185
|
+
Delete a Extended Attribute from a Project
|
186
|
+
@param number attribute_id The id of the attribute.
|
187
|
+
=end
|
131
188
|
def delete_extended_attribute(attribute_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
132
189
|
raise 'attribute_id not specified.' if attribute_id.nil?
|
133
190
|
|
134
191
|
str_uri = "#{@base_uri}/extendedAttributes/#{attribute_id}"
|
135
192
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
136
193
|
signed_str_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
|
137
|
-
JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
194
|
+
json = JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
195
|
+
json['Code'] == 200 ? true : false
|
138
196
|
end
|
139
|
-
|
140
197
|
end
|
141
198
|
end
|
142
199
|
end
|
data/lib/tasks/resources.rb
CHANGED
@@ -1,20 +1,3 @@
|
|
1
|
-
# Copyright (c) Aspose 2002-2014. All Rights Reserved.
|
2
|
-
#
|
3
|
-
# LICENSE: This program is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU General Public License
|
5
|
-
# as published by the Free Software Foundation; either version 3
|
6
|
-
# of the License, or (at your option) any later version.
|
7
|
-
# This program is distributed in the hope that it will be useful,
|
8
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
10
|
-
# GNU General Public License for more details.
|
11
|
-
# You should have received a copy of the GNU General Public License
|
12
|
-
# along with this program. If not, see <http://opensource.org/licenses/gpl-3.0.html>;.
|
13
|
-
#
|
14
|
-
# @package Aspose_Cloud_SDK_For_Ruby
|
15
|
-
# @author Assad Mahmood Qazi <assad.mahmood@aspose.com>
|
16
|
-
# @link https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_Ruby/tree/revamp
|
17
|
-
|
18
1
|
module Aspose
|
19
2
|
module Cloud
|
20
3
|
module Tasks
|
@@ -25,6 +8,9 @@ module Aspose
|
|
25
8
|
@base_uri = Aspose::Cloud::Common::Product.product_uri + '/tasks/' + @filename
|
26
9
|
end
|
27
10
|
|
11
|
+
=begin
|
12
|
+
Get all Resources form Project
|
13
|
+
=end
|
28
14
|
def get_resources(folder_name = '', storage_type = 'Aspose', storage_name = '')
|
29
15
|
str_uri = "#{@base_uri}/resources"
|
30
16
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
@@ -32,6 +18,10 @@ module Aspose
|
|
32
18
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['Resources']['ResourceItem']
|
33
19
|
end
|
34
20
|
|
21
|
+
=begin
|
22
|
+
Get a Particular Resource form Project
|
23
|
+
@param number resource_id The id of the resource.
|
24
|
+
=end
|
35
25
|
def get_resource(resource_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
36
26
|
raise 'resource_id not specified.' if resource_id.nil?
|
37
27
|
|
@@ -41,6 +31,11 @@ module Aspose
|
|
41
31
|
JSON.parse(RestClient.get(signed_str_uri, {:accept=>'application/json'}))['Resource']
|
42
32
|
end
|
43
33
|
|
34
|
+
=begin
|
35
|
+
Add a Resource to Project
|
36
|
+
@param number resource_name The Name of the new resource.
|
37
|
+
@param number after_resource_id The id of the resource to insert the new resource after.
|
38
|
+
=end
|
44
39
|
def add_resource(resource_name, after_resource_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
45
40
|
raise 'resource_name not specified.' if resource_name.empty?
|
46
41
|
raise 'after_resource_id not specified.' if after_resource_id.nil?
|
@@ -55,13 +50,18 @@ module Aspose
|
|
55
50
|
JSON.parse(RestClient.post(signed_str_uri, '', {:accept=>'application/json'}))['ResourceItem']
|
56
51
|
end
|
57
52
|
|
53
|
+
=begin
|
54
|
+
Delete Resource form Project
|
55
|
+
@param number resource_id The id of the resource.
|
56
|
+
=end
|
58
57
|
def delete_resource(resource_id, folder_name = '', storage_type = 'Aspose', storage_name = '')
|
59
58
|
raise 'resource_id not specified.' if resource_id.nil?
|
60
59
|
|
61
60
|
str_uri = "#{@base_uri}/resources/#{resource_id}"
|
62
61
|
str_uri = Aspose::Cloud::Common::Utils.append_storage(str_uri,folder_name,storage_name,storage_type)
|
63
62
|
signed_str_uri = Aspose::Cloud::Common::Utils.sign(str_uri)
|
64
|
-
JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
63
|
+
json = JSON.parse(RestClient.delete(signed_str_uri, {:accept=>'application/json'}))
|
64
|
+
json['Code'] == 200 ? true : false
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asposecloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Assad Mahmood Qazi
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,29 +30,33 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rest-client
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- - '>='
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- - '>='
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
description: Aspose Cloud SDK for Ruby allows you to use Aspose API in your Ruby applications
|
@@ -77,17 +84,42 @@ files:
|
|
77
84
|
- Samples/Words/Test_Converter.rb
|
78
85
|
- Samples/tasks/Test_Converter.rb
|
79
86
|
- Samples/tasks/Test_Document.rb
|
87
|
+
- Tests/Barcode/builder_tests.rb
|
88
|
+
- Tests/Barcode/reader_tests.rb
|
89
|
+
- Tests/Cells/charteditor_tests.rb
|
90
|
+
- Tests/Cells/converter_tests.rb
|
91
|
+
- Tests/Cells/extractor_tests.rb
|
92
|
+
- Tests/Cells/texteditor_tests.rb
|
93
|
+
- Tests/Cells/workbook_tests.rb
|
94
|
+
- Tests/Cells/worksheet_tests.rb
|
95
|
+
- Tests/Data/barcodeQR.bmp
|
96
|
+
- Tests/Data/barcodeQR.jpg
|
80
97
|
- Tests/Data/barcodeQR.png
|
98
|
+
- Tests/Data/barcodeQR.tiff
|
99
|
+
- Tests/Data/bizcard.psd
|
81
100
|
- Tests/Data/email_test.eml
|
82
101
|
- Tests/Data/email_test_attach.eml
|
102
|
+
- Tests/Data/macbook.gif
|
103
|
+
- Tests/Data/mail_merge_regions.docx
|
104
|
+
- Tests/Data/mail_merge_template.docx
|
105
|
+
- Tests/Data/test_cells.xlsx
|
83
106
|
- Tests/Data/test_convert_cell.xlsx
|
84
107
|
- Tests/Data/test_convert_slide.pptx
|
85
108
|
- Tests/Data/test_convertlocal.docx
|
86
109
|
- Tests/Data/test_convertlocal.pdf
|
87
110
|
- Tests/Data/test_file_on_storage.pdf
|
111
|
+
- Tests/Data/test_multi_pages.docx
|
88
112
|
- Tests/Data/test_replace_text.pdf
|
113
|
+
- Tests/Data/test_slides.pptx
|
89
114
|
- Tests/Data/test_tasks.mpp
|
90
115
|
- Tests/Data/test_uploadfile.docx
|
116
|
+
- Tests/Email/converter_tests.rb
|
117
|
+
- Tests/Email/document_tests.rb
|
118
|
+
- Tests/Imaging/converter_tests.rb
|
119
|
+
- Tests/Imaging/document_tests.rb
|
120
|
+
- Tests/Imaging/extractor_tests.rb
|
121
|
+
- Tests/Imaging/image_tests.rb
|
122
|
+
- Tests/Ocr/extractor_tests.rb
|
91
123
|
- Tests/Output/barcodeQR.png
|
92
124
|
- Tests/Output/converted_file.doc
|
93
125
|
- Tests/Output/converted_file.pdf
|
@@ -96,14 +128,26 @@ files:
|
|
96
128
|
- Tests/Output/test_convert_slide.png
|
97
129
|
- Tests/Output/test_file_on_storage.doc
|
98
130
|
- Tests/Output/testfile.jpeg
|
99
|
-
- Tests/
|
100
|
-
- Tests/
|
101
|
-
- Tests/
|
102
|
-
- Tests/
|
103
|
-
- Tests/
|
104
|
-
- Tests/
|
105
|
-
- Tests/
|
106
|
-
- Tests/
|
131
|
+
- Tests/Pdf/annotationeditor_tests.rb
|
132
|
+
- Tests/Pdf/converter_tests.rb
|
133
|
+
- Tests/Pdf/document_tests.rb
|
134
|
+
- Tests/Pdf/extractor_tests.rb
|
135
|
+
- Tests/Pdf/texteditor_tests.rb
|
136
|
+
- Tests/Slides/converter_tests.rb
|
137
|
+
- Tests/Slides/document_tests.rb
|
138
|
+
- Tests/Slides/extractor_tests.rb
|
139
|
+
- Tests/Storage/folder_tests.rb
|
140
|
+
- Tests/Tasks/assignments_tests.rb
|
141
|
+
- Tests/Tasks/calendar_tests.rb
|
142
|
+
- Tests/Tasks/converter_tests.rb
|
143
|
+
- Tests/Tasks/document_tests.rb
|
144
|
+
- Tests/Tasks/resources_tests.rb
|
145
|
+
- Tests/Words/builder_tests.rb
|
146
|
+
- Tests/Words/converter_tests.rb
|
147
|
+
- Tests/Words/document_tests.rb
|
148
|
+
- Tests/Words/extractor_tests.rb
|
149
|
+
- Tests/Words/mail_merge_tests.rb
|
150
|
+
- Tests/setup.json
|
107
151
|
- asposecloud.gemspec
|
108
152
|
- lib/Barcode/builder.rb
|
109
153
|
- lib/Barcode/reader.rb
|
@@ -137,6 +181,7 @@ files:
|
|
137
181
|
- lib/aspose_cells.rb
|
138
182
|
- lib/aspose_common.rb
|
139
183
|
- lib/aspose_email.rb
|
184
|
+
- lib/aspose_imaging.rb
|
140
185
|
- lib/aspose_ocr.rb
|
141
186
|
- lib/aspose_pdf.rb
|
142
187
|
- lib/aspose_slides.rb
|
@@ -145,6 +190,11 @@ files:
|
|
145
190
|
- lib/aspose_words.rb
|
146
191
|
- lib/asposecloud.rb
|
147
192
|
- lib/asposecloud/version.rb
|
193
|
+
- lib/imaging/converter.rb
|
194
|
+
- lib/imaging/document.rb
|
195
|
+
- lib/imaging/extractor.rb
|
196
|
+
- lib/imaging/image.rb
|
197
|
+
- lib/restclient.rb
|
148
198
|
- lib/tasks/assignments.rb
|
149
199
|
- lib/tasks/calendar.rb
|
150
200
|
- lib/tasks/converter.rb
|
@@ -153,7 +203,6 @@ files:
|
|
153
203
|
homepage: http://www.aspose.com
|
154
204
|
licenses:
|
155
205
|
- MIT
|
156
|
-
metadata: {}
|
157
206
|
post_install_message:
|
158
207
|
rdoc_options: []
|
159
208
|
require_paths:
|
@@ -169,19 +218,21 @@ require_paths:
|
|
169
218
|
- lib/tasks
|
170
219
|
- lib/Email
|
171
220
|
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
+
none: false
|
172
222
|
requirements:
|
173
|
-
- - '>='
|
223
|
+
- - ! '>='
|
174
224
|
- !ruby/object:Gem::Version
|
175
225
|
version: '0'
|
176
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
none: false
|
177
228
|
requirements:
|
178
|
-
- - '>='
|
229
|
+
- - ! '>='
|
179
230
|
- !ruby/object:Gem::Version
|
180
231
|
version: '0'
|
181
232
|
requirements: []
|
182
233
|
rubyforge_project:
|
183
|
-
rubygems_version:
|
234
|
+
rubygems_version: 1.8.30
|
184
235
|
signing_key:
|
185
|
-
specification_version:
|
236
|
+
specification_version: 3
|
186
237
|
summary: Aspose Cloud SDK for Ruby allows you to use Aspose API in your Ruby applications
|
187
238
|
test_files: []
|