aspose_html_cloud 22.9.1 → 22.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aspose_html_cloud/api/html_api.rb +64 -71
- data/lib/aspose_html_cloud/api_client.rb +1 -1
- data/spec/api/html_api_spec.rb +168 -0
- data/spec/spec_helper.rb +8 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7135c0c7df6333484c04dea4f15aa948f4a4988015eee7cbac931941ffe8fb6a
|
4
|
+
data.tar.gz: 96dfb00ce014ab9b3ac72f170f4b8f6629cef2314fe78a811b7e56e8eb3022b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d1a073130cb87d6b26b1e72646adc7f2d012f080df138235f95cbb01cfcbce254c5312844f622780542caab750c7e1df591dc235ac539b342b6574bb132e994
|
7
|
+
data.tar.gz: aa892430a7b25fa79b7d0f6de6aa44adc8c50b4e6c9cff499d4d0682816b341c0097440813c66e01c735ebbd2ecd5c3d63314251cca9953bff72ad1bcfb2f4f6
|
@@ -43,17 +43,16 @@ module AsposeHtml
|
|
43
43
|
#
|
44
44
|
# @param src Full path to source file.
|
45
45
|
# @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
|
46
|
-
# @param [Hash] options the optional parameters
|
47
|
-
# @option options [
|
48
|
-
# @option
|
49
|
-
# @option
|
50
|
-
# @option
|
51
|
-
# @option
|
52
|
-
# @option
|
53
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
46
|
+
# @param [Hash, nil] options the optional parameters
|
47
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
48
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
49
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
50
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
51
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
52
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
54
53
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
55
54
|
def convert_local_to_local(src, dst, options = nil)
|
56
|
-
|
55
|
+
convert(src, dst, true, true, false, options)
|
57
56
|
end
|
58
57
|
|
59
58
|
# Converting the HTML, EPUB document from the local file and putting the result in the storage
|
@@ -61,17 +60,16 @@ module AsposeHtml
|
|
61
60
|
# @param src Full path to source file.
|
62
61
|
# @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
|
63
62
|
# @param storage Storage name. Default storage is nil.
|
64
|
-
# @param [Hash] options the optional parameters
|
65
|
-
# @option options [
|
66
|
-
# @option
|
67
|
-
# @option
|
68
|
-
# @option
|
69
|
-
# @option
|
70
|
-
# @option
|
71
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
63
|
+
# @param [Hash, nil] options the optional parameters
|
64
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
65
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
66
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
67
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
68
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
69
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
72
70
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
73
71
|
def convert_local_to_storage(src, dst, storage, options=nil)
|
74
|
-
|
72
|
+
convert(src, dst, true, false, false, options, storage)
|
75
73
|
end
|
76
74
|
|
77
75
|
# Converting the HTML, EPUB document from the storage and putting the result in the local file
|
@@ -79,17 +77,16 @@ module AsposeHtml
|
|
79
77
|
# @param src Full path to source file.
|
80
78
|
# @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
|
81
79
|
# @param storage Storage name. Default storage is nil.
|
82
|
-
# @param [Hash] options the optional parameters
|
83
|
-
# @option options [
|
84
|
-
# @option
|
85
|
-
# @option
|
86
|
-
# @option
|
87
|
-
# @option
|
88
|
-
# @option
|
89
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
80
|
+
# @param [Hash, nil] options the optional parameters
|
81
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
82
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
83
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
84
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
85
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
86
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
90
87
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
91
88
|
def convert_storage_to_local(src, dst, storage, options=nil)
|
92
|
-
|
89
|
+
convert(src, dst, false, true, false, options, storage)
|
93
90
|
end
|
94
91
|
|
95
92
|
# Converting the HTML, EPUB document from the storage and putting the result in the storage
|
@@ -97,34 +94,32 @@ module AsposeHtml
|
|
97
94
|
# @param src Full path to source file.
|
98
95
|
# @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
|
99
96
|
# @param storage Storage name. Default storage is nil.
|
100
|
-
# @param [Hash] options the optional parameters
|
101
|
-
# @option options [
|
102
|
-
# @option
|
103
|
-
# @option
|
104
|
-
# @option
|
105
|
-
# @option
|
106
|
-
# @option
|
107
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
97
|
+
# @param [Hash, nil] options the optional parameters
|
98
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
99
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
100
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
101
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
102
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
103
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
108
104
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
109
105
|
def convert_storage_to_storage(src, dst, storage, options=nil)
|
110
|
-
|
106
|
+
convert(src, dst, false, false, false, options, storage)
|
111
107
|
end
|
112
108
|
|
113
109
|
# Converting the HTML page from URL and putting the result in the local file
|
114
110
|
#
|
115
111
|
# @param src URI of the website.
|
116
112
|
# @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
|
117
|
-
# @param [Hash] options the optional parameters
|
118
|
-
# @option options [
|
119
|
-
# @option
|
120
|
-
# @option
|
121
|
-
# @option
|
122
|
-
# @option
|
123
|
-
# @option
|
124
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
113
|
+
# @param [Hash, nil] options the optional parameters
|
114
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
115
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
116
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
117
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
118
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
119
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
125
120
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
126
121
|
def convert_url_to_local(src, dst, options=nil)
|
127
|
-
|
122
|
+
convert(src, dst, false, true, true, options)
|
128
123
|
end
|
129
124
|
|
130
125
|
# Converting the HTML page from URL and putting the result in the storage
|
@@ -132,17 +127,16 @@ module AsposeHtml
|
|
132
127
|
# @param src URI of the website.
|
133
128
|
# @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
|
134
129
|
# @param storage Storage name. Default storage is nil.
|
135
|
-
# @param [Hash] options the optional parameters
|
136
|
-
# @option options [
|
137
|
-
# @option
|
138
|
-
# @option
|
139
|
-
# @option
|
140
|
-
# @option
|
141
|
-
# @option
|
142
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
130
|
+
# @param [Hash, nil] options the optional parameters
|
131
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
132
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
133
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
134
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
135
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
136
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
143
137
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
144
138
|
def convert_url_to_storage(src, dst, storage, options=nil)
|
145
|
-
|
139
|
+
convert(src, dst, false, false, true, options, storage)
|
146
140
|
end
|
147
141
|
|
148
142
|
# Converting the HTML document to various formats
|
@@ -152,14 +146,13 @@ module AsposeHtml
|
|
152
146
|
# @param src_in_local Flag, true if source in the local file.
|
153
147
|
# @param dst_in_local Flag, true if result in the local file.
|
154
148
|
# @param is_url Flag, true if source is website.
|
155
|
-
# @param [Hash] options the optional parameters
|
156
|
-
# @option options [
|
157
|
-
# @option
|
158
|
-
# @option
|
159
|
-
# @option
|
160
|
-
# @option
|
161
|
-
# @option
|
162
|
-
# @option opts [Integer] :resolution Resolution of resulting image.
|
149
|
+
# @param [Hash, nil] options the optional parameters
|
150
|
+
# @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
|
151
|
+
# @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
|
152
|
+
# @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
153
|
+
# @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
154
|
+
# @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
155
|
+
# @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
|
163
156
|
# @param storage_name Storage name. Default storage is nil.
|
164
157
|
# @return [ConversionResult] Result of conversion. See ConversionResult object.
|
165
158
|
def convert(src, dst, src_in_local, dst_in_local, is_url, options=nil, storage_name=nil)
|
@@ -196,15 +189,15 @@ module AsposeHtml
|
|
196
189
|
post_body[:'outputFile'] = out_file.to_s
|
197
190
|
post_body[:'storageName'] = storage_name.to_s
|
198
191
|
|
199
|
-
|
192
|
+
unless options.nil?
|
200
193
|
post_body[:'options'] = {}
|
201
|
-
post_body[:'options'][:'width'] = options[:'width']
|
202
|
-
post_body[:'options'][:'height'] = options[:'height']
|
203
|
-
post_body[:'options'][:'leftMargin'] = options[:'left_margin']
|
204
|
-
post_body[:'options'][:'rightMargin'] = options[:'right_margin']
|
205
|
-
post_body[:'options'][:'topMargin'] = options[:'top_margin']
|
206
|
-
post_body[:'options'][:'bottomMargin'] = options[:'bottom_margin']
|
207
|
-
post_body[:'options'][:'resolution'] = options[:'resolution']
|
194
|
+
post_body[:'options'][:'width'] = options[:'width'] unless options[:'width'].nil?
|
195
|
+
post_body[:'options'][:'height'] = options[:'height'] unless options[:'height'].nil?
|
196
|
+
post_body[:'options'][:'leftMargin'] = options[:'left_margin'] unless options[:'left_margin'].nil?
|
197
|
+
post_body[:'options'][:'rightMargin'] = options[:'right_margin'] unless options[:'right_margin'].nil?
|
198
|
+
post_body[:'options'][:'topMargin'] = options[:'top_margin'] unless options[:'top_margin'].nil?
|
199
|
+
post_body[:'options'][:'bottomMargin'] = options[:'bottom_margin'] unless options[:'bottom_margin'].nil?
|
200
|
+
post_body[:'options'][:'resolution'] = options[:'resolution'] unless options[:'resolution'].nil?
|
208
201
|
end
|
209
202
|
|
210
203
|
query_params = {}
|
@@ -280,7 +273,7 @@ module AsposeHtml
|
|
280
273
|
when '.HTML', '.HTM'
|
281
274
|
return 'html'
|
282
275
|
when '.MHT', '.MHTML'
|
283
|
-
return '
|
276
|
+
return 'mhtml'
|
284
277
|
when '.XHTML', '.XML'
|
285
278
|
return 'xhtml'
|
286
279
|
when '.EPUB'
|
data/spec/api/html_api_spec.rb
CHANGED
@@ -411,4 +411,172 @@ describe 'Test html_api_V4' do
|
|
411
411
|
}
|
412
412
|
end
|
413
413
|
end
|
414
|
+
|
415
|
+
describe 'convert markdown local to local' do
|
416
|
+
|
417
|
+
src = File.realpath(__dir__ + '/../../testdata') + '/README.md'
|
418
|
+
dst_dir = File.realpath(__dir__ + '/../../testresult') + '/'
|
419
|
+
|
420
|
+
describe 'convert local to local markdown to doc' do
|
421
|
+
|
422
|
+
%w[pdf xps docx html mhtml mht].each { |ext|
|
423
|
+
it "Convert markdown to " + ext do
|
424
|
+
|
425
|
+
dst = dst_dir + 'locToLocDocMD.' + ext
|
426
|
+
answer = @html_api.convert_local_to_local(src, dst)
|
427
|
+
|
428
|
+
expect(answer.code).to eql(200)
|
429
|
+
expect(answer.status).to eql('completed')
|
430
|
+
expect(File.exist?(answer.file)).to be_truthy
|
431
|
+
end
|
432
|
+
}
|
433
|
+
end
|
434
|
+
|
435
|
+
describe 'convert local to local markdown to doc with options' do
|
436
|
+
|
437
|
+
%w[pdf xps docx].each { |ext|
|
438
|
+
it "Convert markdown to " + ext do
|
439
|
+
|
440
|
+
options_A4 = {
|
441
|
+
width: 8.3,
|
442
|
+
height: 11.7,
|
443
|
+
top_margin: 0.5,
|
444
|
+
bottom_margin: 0.5,
|
445
|
+
left_margin: 0.5,
|
446
|
+
right_margin: 0.5
|
447
|
+
}
|
448
|
+
|
449
|
+
dst = dst_dir + 'locToLocDocMDWithOpts.' + ext
|
450
|
+
answer = @html_api.convert_local_to_local(src, dst, options_A4)
|
451
|
+
|
452
|
+
expect(answer.code).to eql(200)
|
453
|
+
expect(answer.status).to eql('completed')
|
454
|
+
expect(File.exist?(answer.file)).to be_truthy
|
455
|
+
end
|
456
|
+
}
|
457
|
+
end
|
458
|
+
|
459
|
+
describe 'convert local to local markdown to image' do
|
460
|
+
|
461
|
+
%w[jpeg jpg bmp png tiff tif gif].each { |ext|
|
462
|
+
it "Convert markdown to " + ext do
|
463
|
+
|
464
|
+
dst = dst_dir + 'locToLocMDImg.' + ext
|
465
|
+
answer = @html_api.convert_local_to_local(src, dst)
|
466
|
+
|
467
|
+
expect(answer.code).to eql(200)
|
468
|
+
expect(answer.status).to eql('completed')
|
469
|
+
expect(File.exist?(answer.file)).to be_truthy
|
470
|
+
end
|
471
|
+
}
|
472
|
+
end
|
473
|
+
|
474
|
+
describe 'convert local to local markdown to image with options' do
|
475
|
+
|
476
|
+
opts = {
|
477
|
+
width: 800,
|
478
|
+
height: 1000,
|
479
|
+
left_margin: 30,
|
480
|
+
right_margin: 30,
|
481
|
+
top_margin: 50,
|
482
|
+
bottom_margin: 50
|
483
|
+
}
|
484
|
+
|
485
|
+
%w[jpeg jpg bmp png tiff tif gif].each { |ext|
|
486
|
+
it "Convert markdown to " + ext do
|
487
|
+
|
488
|
+
dst = dst_dir + 'locToLocMDImgOpt.' + ext
|
489
|
+
answer = @html_api.convert_local_to_local(src, dst, opts)
|
490
|
+
|
491
|
+
expect(answer.code).to eql(200)
|
492
|
+
expect(answer.status).to eql('completed')
|
493
|
+
expect(File.exist?(answer.file)).to be_truthy
|
494
|
+
end
|
495
|
+
}
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
describe 'convert MHTML local to local' do
|
500
|
+
|
501
|
+
src = File.realpath(__dir__ + '/../../testdata') + '/fileformatinfo.mht'
|
502
|
+
dst_dir = File.realpath(__dir__ + '/../../testresult') + '/'
|
503
|
+
|
504
|
+
describe 'convert local to local MHTML to doc' do
|
505
|
+
|
506
|
+
%w[pdf xps docx].each { |ext|
|
507
|
+
it "Convert MHTML to " + ext do
|
508
|
+
|
509
|
+
dst = dst_dir + 'locToLocDocMHTML.' + ext
|
510
|
+
answer = @html_api.convert_local_to_local(src, dst)
|
511
|
+
|
512
|
+
expect(answer.code).to eql(200)
|
513
|
+
expect(answer.status).to eql('completed')
|
514
|
+
expect(File.exist?(answer.file)).to be_truthy
|
515
|
+
end
|
516
|
+
}
|
517
|
+
end
|
518
|
+
|
519
|
+
describe 'convert local to local MHTML to doc with options' do
|
520
|
+
|
521
|
+
%w[pdf xps docx].each { |ext|
|
522
|
+
it "Convert MHTML to " + ext do
|
523
|
+
|
524
|
+
options_A4 = {
|
525
|
+
width: 8.3,
|
526
|
+
height: 11.7,
|
527
|
+
top_margin: 0.5,
|
528
|
+
bottom_margin: 0.5,
|
529
|
+
left_margin: 0.5,
|
530
|
+
right_margin: 0.5
|
531
|
+
}
|
532
|
+
|
533
|
+
dst = dst_dir + 'locToLocDocMHTMLWithOpts.' + ext
|
534
|
+
answer = @html_api.convert_local_to_local(src, dst, options_A4)
|
535
|
+
|
536
|
+
expect(answer.code).to eql(200)
|
537
|
+
expect(answer.status).to eql('completed')
|
538
|
+
expect(File.exist?(answer.file)).to be_truthy
|
539
|
+
end
|
540
|
+
}
|
541
|
+
end
|
542
|
+
|
543
|
+
describe 'convert local to local MHTML to image' do
|
544
|
+
|
545
|
+
%w[jpeg jpg bmp png tiff tif gif].each { |ext|
|
546
|
+
it "Convert MHTML to " + ext do
|
547
|
+
|
548
|
+
dst = dst_dir + 'locToLocMHTMLImg.' + ext
|
549
|
+
answer = @html_api.convert_local_to_local(src, dst)
|
550
|
+
|
551
|
+
expect(answer.code).to eql(200)
|
552
|
+
expect(answer.status).to eql('completed')
|
553
|
+
expect(File.exist?(answer.file)).to be_truthy
|
554
|
+
end
|
555
|
+
}
|
556
|
+
end
|
557
|
+
|
558
|
+
describe 'convert local to local MHTML to image with options' do
|
559
|
+
|
560
|
+
opts = {
|
561
|
+
width: 800,
|
562
|
+
height: 1000,
|
563
|
+
left_margin: 30,
|
564
|
+
right_margin: 30,
|
565
|
+
top_margin: 50,
|
566
|
+
bottom_margin: 50
|
567
|
+
}
|
568
|
+
|
569
|
+
%w[jpeg jpg bmp png tiff tif gif].each { |ext|
|
570
|
+
it "Convert MHTML to " + ext do
|
571
|
+
|
572
|
+
dst = dst_dir + 'locToLocMHTMLImgOpt.' + ext
|
573
|
+
answer = @html_api.convert_local_to_local(src, dst, opts)
|
574
|
+
|
575
|
+
expect(answer.code).to eql(200)
|
576
|
+
expect(answer.status).to eql('completed')
|
577
|
+
expect(File.exist?(answer.file)).to be_truthy
|
578
|
+
end
|
579
|
+
}
|
580
|
+
end
|
581
|
+
end
|
414
582
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -30,10 +30,14 @@
|
|
30
30
|
require 'aspose_html_cloud'
|
31
31
|
|
32
32
|
CONFIG = {
|
33
|
-
"basePath": "https://api.aspose.cloud/v4.0",
|
34
|
-
"authPath": "https://api.aspose.cloud/connect/token",
|
35
|
-
"apiKey": "c8dda7d6445d82635b8797d1c8edd153",
|
36
|
-
"appSID": "2225baa2-097b-4731-9831-d0d56c28230f",
|
33
|
+
# "basePath": "https://api.aspose.cloud/v4.0",
|
34
|
+
# "authPath": "https://api.aspose.cloud/connect/token",
|
35
|
+
# "apiKey": "c8dda7d6445d82635b8797d1c8edd153",
|
36
|
+
# "appSID": "2225baa2-097b-4731-9831-d0d56c28230f",
|
37
|
+
"basePath": "http://localhost:5000/v4.0",
|
38
|
+
"authPath": "https://api-qa.aspose.cloud/connect/token",
|
39
|
+
"apiKey": "html.cloud",
|
40
|
+
"appSID": "html.cloud",
|
37
41
|
"debug": true
|
38
42
|
}
|
39
43
|
# from storage api
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_html_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 22.
|
4
|
+
version: 22.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Makogon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|