aspose_cells_cloud 22.4 → 22.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -7
- data/lib/aspose_cells_cloud/api/cells_api.rb +74 -0
- data/lib/aspose_cells_cloud/api/light_cells_api.rb +15 -1
- data/lib/aspose_cells_cloud/api_client.rb +1 -1
- data/lib/aspose_cells_cloud/models/barcode_response.rb +215 -0
- data/lib/aspose_cells_cloud/models/barcode_response_list.rb +200 -0
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +265 -0
- data/lib/aspose_cells_cloud/models/json_save_options.rb +301 -0
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +265 -0
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +373 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +2 -0
- data/spec/api/cells_barcode_spec.rb +41 -0
- data/spec/api/cells_one_spec.rb +37 -0
- metadata +10 -2
@@ -0,0 +1,37 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
# Unit tests for AsposeCellsCloud::CellsTaskApi
|
5
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
6
|
+
# Please update as you see appropriate
|
7
|
+
describe 'CellsTaskApi' do
|
8
|
+
before do
|
9
|
+
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,"v3.0",$baseurl)
|
10
|
+
end
|
11
|
+
|
12
|
+
after do
|
13
|
+
# run after each test
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
# unit tests for one case
|
18
|
+
|
19
|
+
describe 'cells_get_worksheet_cell test' do
|
20
|
+
it "should work" do
|
21
|
+
name = $BOOK1
|
22
|
+
sheet_name = $SHEET1
|
23
|
+
cell_or_method_name = 'firstcell'
|
24
|
+
folder = $TEMPFOLDER
|
25
|
+
storage = nil
|
26
|
+
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
27
|
+
expect(result.uploaded.size).to be > 0
|
28
|
+
result = @instance.cells_get_worksheet_cell(name, sheet_name, cell_or_method_name, { :folder=>folder})
|
29
|
+
print(result[0])
|
30
|
+
print(result[1])
|
31
|
+
print(result[2])
|
32
|
+
#expect(result.code).to eql(200)
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_cells_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '22.
|
4
|
+
version: '22.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aspose Cells Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -246,6 +246,8 @@ files:
|
|
246
246
|
- lib/aspose_cells_cloud/models/auto_shape_response.rb
|
247
247
|
- lib/aspose_cells_cloud/models/auto_shapes.rb
|
248
248
|
- lib/aspose_cells_cloud/models/auto_shapes_response.rb
|
249
|
+
- lib/aspose_cells_cloud/models/barcode_response.rb
|
250
|
+
- lib/aspose_cells_cloud/models/barcode_response_list.rb
|
249
251
|
- lib/aspose_cells_cloud/models/batch_convert_request.rb
|
250
252
|
- lib/aspose_cells_cloud/models/border.rb
|
251
253
|
- lib/aspose_cells_cloud/models/calculation_options.rb
|
@@ -300,6 +302,7 @@ files:
|
|
300
302
|
- lib/aspose_cells_cloud/models/data_sorter.rb
|
301
303
|
- lib/aspose_cells_cloud/models/dif_save_options.rb
|
302
304
|
- lib/aspose_cells_cloud/models/disc_usage.rb
|
305
|
+
- lib/aspose_cells_cloud/models/docx_save_options.rb
|
303
306
|
- lib/aspose_cells_cloud/models/dynamic_filter.rb
|
304
307
|
- lib/aspose_cells_cloud/models/error_details.rb
|
305
308
|
- lib/aspose_cells_cloud/models/file_info.rb
|
@@ -337,6 +340,7 @@ files:
|
|
337
340
|
- lib/aspose_cells_cloud/models/import_option.rb
|
338
341
|
- lib/aspose_cells_cloud/models/import_picture_option.rb
|
339
342
|
- lib/aspose_cells_cloud/models/import_string_array_option.rb
|
343
|
+
- lib/aspose_cells_cloud/models/json_save_options.rb
|
340
344
|
- lib/aspose_cells_cloud/models/legend.rb
|
341
345
|
- lib/aspose_cells_cloud/models/legend_response.rb
|
342
346
|
- lib/aspose_cells_cloud/models/line.rb
|
@@ -402,6 +406,7 @@ files:
|
|
402
406
|
- lib/aspose_cells_cloud/models/pivot_table_response.rb
|
403
407
|
- lib/aspose_cells_cloud/models/pivot_tables.rb
|
404
408
|
- lib/aspose_cells_cloud/models/pivot_tables_response.rb
|
409
|
+
- lib/aspose_cells_cloud/models/pptx_save_options.rb
|
405
410
|
- lib/aspose_cells_cloud/models/protect_sheet_parameter.rb
|
406
411
|
- lib/aspose_cells_cloud/models/range.rb
|
407
412
|
- lib/aspose_cells_cloud/models/range_copy_request.rb
|
@@ -440,6 +445,7 @@ files:
|
|
440
445
|
- lib/aspose_cells_cloud/models/split_result_response.rb
|
441
446
|
- lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb
|
442
447
|
- lib/aspose_cells_cloud/models/spreadsheet_ml2003_save_options.rb
|
448
|
+
- lib/aspose_cells_cloud/models/sql_script_save_options.rb
|
443
449
|
- lib/aspose_cells_cloud/models/storage_exist.rb
|
444
450
|
- lib/aspose_cells_cloud/models/storage_file.rb
|
445
451
|
- lib/aspose_cells_cloud/models/style.rb
|
@@ -494,6 +500,7 @@ files:
|
|
494
500
|
- spec/api/cells_api_spec.rb
|
495
501
|
- spec/api/cells_assembly_spec.rb
|
496
502
|
- spec/api/cells_auto_filter_api_spec.rb
|
503
|
+
- spec/api/cells_barcode_spec.rb
|
497
504
|
- spec/api/cells_batch_spec.rb
|
498
505
|
- spec/api/cells_chart_area_api_spec.rb
|
499
506
|
- spec/api/cells_charts_api_spec.rb
|
@@ -507,6 +514,7 @@ files:
|
|
507
514
|
- spec/api/cells_merge_spec.rb
|
508
515
|
- spec/api/cells_metadata_spec.rb
|
509
516
|
- spec/api/cells_ole_objects_api_spec.rb
|
517
|
+
- spec/api/cells_one_spec.rb
|
510
518
|
- spec/api/cells_page_breaks_api_spec.rb
|
511
519
|
- spec/api/cells_page_setup_api_spec.rb
|
512
520
|
- spec/api/cells_pictures_api_spec.rb
|