aspose_cells_cloud 26.8 → 26.9

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.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -39
  3. data/lib/aspose_cells_cloud/requests/smart_marker_template_request.rb +30 -0
  4. data/lib/aspose_cells_cloud/requests/translate_spreadsheet_request.rb +24 -0
  5. data/lib/aspose_cells_cloud/requests/translate_text_file_request.rb +24 -0
  6. data/lib/aspose_cells_cloud/version.rb +1 -1
  7. data/spec/client_spec.rb +114 -0
  8. data/spec/configuration_spec.rb +61 -0
  9. data/spec/form_file_spec.rb +47 -0
  10. data/spec/model_spec.rb +73 -0
  11. data/spec/request_spec.rb +87 -0
  12. data/spec/rich_response_spec.rb +46 -0
  13. data/spec/sdk_error_spec.rb +27 -0
  14. data/spec/spec_helper.rb +21 -134
  15. metadata +9 -78
  16. data/spec/TestData/AggregateCellsByColor.xlsx +0 -0
  17. data/spec/TestData/Book1.xlsx +0 -0
  18. data/spec/TestData/BookCsvDuplicateData.csv +0 -21
  19. data/spec/TestData/BookDuplicateData.xlsx +0 -0
  20. data/spec/TestData/BookFormula.xlsx +0 -0
  21. data/spec/TestData/BookTableL2W.xlsx +0 -0
  22. data/spec/TestData/BookText.xlsx +0 -0
  23. data/spec/TestData/CompanySales.xlsx +0 -0
  24. data/spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx +0 -0
  25. data/spec/TestData/EmployeeSalesSummary.xlsx +0 -0
  26. data/spec/TestData/EmployeeSalesSummary_Locked.xlsx +0 -0
  27. data/spec/TestData/Formula tutorial.xlsx +0 -0
  28. data/spec/TestData/Group.xlsx +0 -0
  29. data/spec/TestData/Home inventory.xlsx +0 -0
  30. data/spec/TestData/LockedEmployeeSalesSummary.xlsx +0 -0
  31. data/spec/TestData/OLEDoc.docx +0 -0
  32. data/spec/TestData/ReportData.xml +0 -1
  33. data/spec/TestData/Simple invoice.xlsx +0 -0
  34. data/spec/TestData/Template.xlsx +0 -0
  35. data/spec/TestData/TestCase.xlsx +0 -0
  36. data/spec/TestData/TestTables.xlsx +0 -0
  37. data/spec/TestData/WaterMark.png +0 -0
  38. data/spec/TestData/assemblytest.xlsx +0 -0
  39. data/spec/TestData/data.xml +0 -1
  40. data/spec/TestData/datasource.xlsx +0 -0
  41. data/spec/TestData/myDocument.xlsx +0 -0
  42. data/spec/TestData/needUnlock.xlsx +0 -0
  43. data/spec/TestData/needlock.xlsx +0 -0
  44. data/spec/TestData/roywang.pfx +0 -0
  45. data/spec/TestData/word.jpg +0 -0
  46. data/spec/calculate/calculate_spec.rb +0 -29
  47. data/spec/cells_cloud30/auto_filter_controller_spec.rb +0 -211
  48. data/spec/cells_cloud30/batch_controller_spec.rb +0 -113
  49. data/spec/cells_cloud30/cells_controller_spec.rb +0 -627
  50. data/spec/cells_cloud30/cells_status_controller_spec.rb +0 -43
  51. data/spec/cells_cloud30/chart_area_controller_spec.rb +0 -58
  52. data/spec/cells_cloud30/charts_controller_spec.rb +0 -227
  53. data/spec/cells_cloud30/conditional_formattings_controller_spec.rb +0 -149
  54. data/spec/cells_cloud30/conversion30_spec.rb +0 -1112
  55. data/spec/cells_cloud30/data_processing_controller_spec.rb +0 -97
  56. data/spec/cells_cloud30/hypelinks_controller_spec.rb +0 -104
  57. data/spec/cells_cloud30/light_cells_spec.rb +0 -1059
  58. data/spec/cells_cloud30/list_objects_controller_spec.rb +0 -225
  59. data/spec/cells_cloud30/ole_objects_controller_spec.rb +0 -108
  60. data/spec/cells_cloud30/page_breaks_controller_spec.rb +0 -163
  61. data/spec/cells_cloud30/page_setup_controller_spec.rb +0 -149
  62. data/spec/cells_cloud30/pictures_controller_spec.rb +0 -106
  63. data/spec/cells_cloud30/pivot_tables_controller_spec.rb +0 -312
  64. data/spec/cells_cloud30/properties_controller_spec.rb +0 -89
  65. data/spec/cells_cloud30/ranges_controller_spec.rb +0 -227
  66. data/spec/cells_cloud30/shapes_controller_spec.rb +0 -139
  67. data/spec/cells_cloud30/sparkline_groups_controller_spec.rb +0 -104
  68. data/spec/cells_cloud30/text_processing_controller_spec.rb +0 -67
  69. data/spec/cells_cloud30/workbook_controller_spec.rb +0 -519
  70. data/spec/cells_cloud30/worksheet_controller_spec.rb +0 -609
  71. data/spec/cells_cloud30/worksheet_validations_controller_spec.rb +0 -104
  72. data/spec/cells_cloud30/xml_controller_spec.rb +0 -48
  73. data/spec/data_processing/conversion_spec.rb +0 -428
  74. data/spec/data_processing/import_data_spec.rb +0 -24
  75. data/spec/data_processing/merger_spec.rb +0 -28
  76. data/spec/data_processing/protection_spec.rb +0 -29
  77. data/spec/data_processing/splitter_spec.rb +0 -47
  78. data/spec/data_processing/transform_spec.rb +0 -43
  79. data/spec/dynabic/file_controller_spec.rb +0 -60
  80. data/spec/dynabic/folder_controller_spec.rb +0 -88
  81. data/spec/dynabic/storage_controller_spec.rb +0 -73
  82. data/spec/management/management_spec.rb +0 -111
  83. data/spec/search2_replace/replacer_spec.rb +0 -46
  84. data/spec/search2_replace/searcher_spec.rb +0 -131
  85. data/spec/text_processing/add_text_spec.rb +0 -45
  86. data/spec/text_processing/convert_text_spec.rb +0 -37
  87. data/spec/text_processing/extract_text_spec.rb +0 -37
  88. data/spec/text_processing/remove_characters_spec.rb +0 -53
  89. data/spec/text_processing/split_text_spec.rb +0 -21
  90. data/spec/text_processing/trim_spreadsheet_spec.rb +0 -29
  91. data/spec/text_processing/update_word_case_spec.rb +0 -37
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13d19b5e0c547c565fac11b876bdb6c768324632725b8d30b51be773f042810b
4
- data.tar.gz: f7c965908b88b104d173424fe0673f19e4d87b167cdd8e0f8928725cd0ac6150
3
+ metadata.gz: c3a93c5cf4fbd2fdf9e183adcd1b10c23d7e49ed855a730ea4b6632d10fc224b
4
+ data.tar.gz: 1b21a4a28448838101ed9276f7c082359c97e58dd4306ea50151b80a2299e046
5
5
  SHA512:
6
- metadata.gz: f9e37646a2351e3abfc3dd3b4ab2709ebd53e875da90827060488db6c64dd1f8b440191f0231e1acc8b07de94fad679ae330f9b218e401114071722f6908e4f4
7
- data.tar.gz: dc141c8f264e2f79d9e27ef08ac9f017f6fda33538f3cec16f30d75af0f727326ba1a56dd70a76309ed1a6047a141cd54a51a7745bd958fafcfbb914164e9262
6
+ metadata.gz: 51f6623c1b4b3ae94ccaee70c9b11998c24097266105c5b0998015c14f8e05dcc7308e5ff2c35a27a5a56bd1880bcc3b4cc3b29ef7b706570484e6575bc9bb1a
7
+ data.tar.gz: e68f7f49551a1088c4416f909c6f15d5819efdd2fa5ccb4607d3ca8d8af5835788df40609b08acd48b67c442a9ee48a6cfa3692089827d22ebad213b02ed0520
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-26.8.0-green?style=for-the-badge&logo=ruby) [![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/ruby/) [![Documentation](https://img.shields.io/badge/Documentation-388e3c?style=for-the-badge&logo=Hugo&logoColor=white)](https://docs.aspose.cloud/cells/) [![API Ref](https://img.shields.io/badge/Reference-f39c12?style=for-the-badge&logo=html5&logoColor=white)](https://reference.aspose.cloud/cells/) [![Examples](https://img.shields.io/badge/Examples-1565c0?style=for-the-badge&logo=Github&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/tree/master/Examples) [![Blog](https://img.shields.io/badge/Blog-d32f2f?style=for-the-badge&logo=WordPress&logoColor=white)](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [![Support](https://img.shields.io/badge/Support-7b1fa2?style=for-the-badge&logo=Discourse&logoColor=white)](https://forum.aspose.cloud/c/cells/7) [![Gem](https://img.shields.io/gem/v/aspose_cells_cloud?style=for-the-badge)](https://rubygems.org/gems/aspose_cells_cloud) [![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud?style=for-the-badge)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/archive/refs/heads/master.zip) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby?style=for-the-badge)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/26.8.0?style=for-the-badge)
1
+ ![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-26.9.0-green?style=for-the-badge&logo=ruby) [![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/ruby/) [![Documentation](https://img.shields.io/badge/Documentation-388e3c?style=for-the-badge&logo=Hugo&logoColor=white)](https://docs.aspose.cloud/cells/) [![API Ref](https://img.shields.io/badge/Reference-f39c12?style=for-the-badge&logo=html5&logoColor=white)](https://reference.aspose.cloud/cells/) [![Examples](https://img.shields.io/badge/Examples-1565c0?style=for-the-badge&logo=Github&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/tree/master/Examples) [![Blog](https://img.shields.io/badge/Blog-d32f2f?style=for-the-badge&logo=WordPress&logoColor=white)](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [![Support](https://img.shields.io/badge/Support-7b1fa2?style=for-the-badge&logo=Discourse&logoColor=white)](https://forum.aspose.cloud/c/cells/7) [![Gem](https://img.shields.io/gem/v/aspose_cells_cloud?style=for-the-badge)](https://rubygems.org/gems/aspose_cells_cloud) [![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud?style=for-the-badge)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/archive/refs/heads/master.zip) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby?style=for-the-badge)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/26.9.0?style=for-the-badge)
2
2
 
3
3
  # Aspose.Cells Cloud SDK for Ruby
4
4
 
@@ -24,7 +24,7 @@ To get started with Aspose.Cells Cloud, here's what you need to do:
24
24
  - Execute the following command to get the latest Gem package.
25
25
 
26
26
  ```console
27
- gem 'aspose_cells_cloud', '~> 26.8.0'
27
+ gem 'aspose_cells_cloud', '~> 26.9.0'
28
28
  ```
29
29
 
30
30
  Or install directly:
@@ -157,14 +157,14 @@ graph TB
157
157
  - Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
158
158
  - Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
159
159
 
160
- ## Features & Enhancements in Version 26.8
160
+ ## Features & Enhancements in Version 26.9
161
161
 
162
162
  Full list of issues covering all changes in this release:
163
163
 
164
- | **Summary** | **Category** |
165
- | :---------------------------------------- | :----------- |
166
- | Enchent smart template feature. | Improvement |
167
- | A new AI data analysis API has been added.| New Feature |
164
+ | **Summary** | **Category** |
165
+ | :------------------------------------------------------------------------------------------------------------ | :----------- |
166
+ | Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
167
+ | Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
168
168
 
169
169
  ## Available SDKs
170
170
 
@@ -214,7 +214,7 @@ The Aspose.Cells Cloud SDK is available in multiple popular programming language
214
214
  - 执行以下命令获取最新的 Gem 包。
215
215
 
216
216
  ```console
217
- gem 'aspose_cells_cloud', '~> 26.8.0'
217
+ gem 'aspose_cells_cloud', '~> 26.9.0'
218
218
  ```
219
219
 
220
220
  或直接安装:
@@ -273,10 +273,10 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
273
273
  | [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML 文件。 | √ | √ |
274
274
  | [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS(OpenDocument 电子表格)。 | √ | √ |
275
275
  | [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | 由 Apple "Numbers" 应用程序创建的文档,属于 Apple iWork 办公套件,运行于 macOS 和 iOS。 | √ | |
276
- | [JSON](https://docs.fileformat.com/web/json/) | JavaScript 对象表示法 | √ | √ |
276
+ | [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
277
277
  | [DIF](https://docs.fileformat.com/spreadsheet/dif/) | 数据交换格式。 | | √ |
278
- | [PDF](https://docs.fileformat.com/pdf/) | Adobe 便携式文档格式。 | | √ |
279
- | [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML 纸张规范格式。 | | √ |
278
+ | [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
279
+ | [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML Paper Specification Format. | | √ |
280
280
  | [SVG](https://docs.fileformat.com/page-description-language/svg/) | 可缩放矢量图形格式。 | | √ |
281
281
  | [TIFF](https://docs.fileformat.com/image/tiff/) | 标记图像文件格式 | | √ |
282
282
  | [PNG](https://docs.fileformat.com/image/png/) | 便携式网络图形格式 | | √ |
@@ -338,23 +338,23 @@ graph TB
338
338
 
339
339
  - 文件操作:用户可以上传、下载、删除和管理存储在云端的 Excel 文件。
340
340
  - 格式化:支持对 Excel 文件中的单元格、字体、颜色和对齐模式进行格式化,以满足用户的特定需求。
341
- - 数据处理:强大的数据处理功能,包括读取、写入、修改单元格数据,执行公式计算以及格式化数据。
341
+ - 数据处理:强大的数据处理功能,包括读取、写入、修改单元格数据、执行公式计算以及格式化数据。
342
342
  - 公式计算:内置公式引擎处理 Excel 中的复杂公式计算并返回准确结果。
343
343
  - 图表操作:用户可以创建、编辑和删除 Excel 文件中的图表,以满足数据分析和可视化需求。
344
344
  - 表格处理:为各种表单操作(如创建、编辑、格式化、转换)提供强大的处理能力,满足多样化的表单处理需求。
345
345
  - 数据验证:包含数据验证功能,可设置单元格数据类型、范围和唯一性,确保数据的准确性和完整性。
346
346
  - 批量处理:支持批量处理多个 Excel 文档,如批量格式转换、数据提取和样式应用。
347
- - 导入/导出:支持从各种数据源导入数据到电子表格,以及将电子表格数据导出到其他格式。
347
+ - 导入/导出:支持从各种数据源导入数据到电子表格,并将电子表格数据导出到其他格式。
348
348
  - 安全管理:提供数据加密、访问控制、权限管理等一系列安全功能,保障电子表格数据的安全性和完整性。
349
349
 
350
- ## 版本 26.8 的功能与增强
350
+ ## 版本 26.9 的功能与增强
351
351
 
352
352
  涵盖此版本所有更改的完整问题列表:
353
353
 
354
- | **摘要** | **类别** |
355
- | :------------------------------------- | :------- |
356
- | Enchent smart template feature. | Improvement |
357
- | A new AI data analysis API has been added.| New Feature |
354
+ | **摘要** | **类别** |
355
+ | :-------------------------------------------------------------------------------------------------------- | :------- |
356
+ | Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
357
+ | Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
358
358
 
359
359
  ## 可用的 SDK
360
360
 
@@ -404,7 +404,7 @@ Aspose.Cells Cloud を始めるには、以下の手順に従ってください
404
404
  - 以下のコマンドを実行して最新の Gem パッケージを取得します。
405
405
 
406
406
  ```console
407
- gem 'aspose_cells_cloud', '~> 26.8.0'
407
+ gem 'aspose_cells_cloud', '~> 26.9.0'
408
408
  ```
409
409
 
410
410
  または直接インストール:
@@ -476,7 +476,7 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
476
476
  | [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
477
477
  | [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Markdown ドキュメントを表します。 | | √ |
478
478
  | [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | OpenOffice および StarOffice で使用される XML ベースの形式 | √ | √ |
479
- | [FODS](https://docs.fileformat.com/spreadsheet/fods/) | フラット XML として保存された Open Document 形式。 | √ | √ |
479
+ | [FODS](https://docs.fileformat.com/spreadsheet/fods/) | フラット XML として保存された Open Document 形式 | √ | √ |
480
480
  | [DOCX](https://docs.fileformat.com/word-processing/docx/) | Microsoft Word ドキュメントの有名な形式,XML とバイナリファイルを組み合わせています。 | | √ |
481
481
  | [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML プレゼンテーションファイル形式。 | | √ |
482
482
  | [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS(OpenDocument スプレッドシートテンプレート)。 | √ | √ |
@@ -534,17 +534,17 @@ graph TB
534
534
  - テーブル処理:作成、編集、書式設定、変換など、さまざまなフォーム操作に対して堅牢な処理機能を提供し、多様なフォーム処理のニーズに対応します。
535
535
  - データ検証:セルのデータ型、範囲、一意性を設定するデータ検証機能を含み、データの正確性と整合性を確保します。
536
536
  - バッチ処理:バッチ形式変換、データ抽出、スタイル適用など、複数の Excel ドキュメントのバッチ処理をサポートします。
537
- - インポート/エクスポート:さまざまなソースからスプレッドシートへのデータのインポート、およびスプレッドシートデータの他の形式へのエクスポートを容易にします。
537
+ - インポート/エクスポート:さまざまなデータソースからスプレッドシートへのデータのインポート、およびスプレッドシートデータの他の形式へのエクスポートを容易にします。
538
538
  - セキュリティ管理:データ暗号化、アクセス制御、権限管理などのさまざまなセキュリティ機能を提供し、スプレッドシートデータのセキュリティと整合性を保護します。
539
539
 
540
- ## バージョン 26.8 の機能と拡張
540
+ ## バージョン 26.9 の機能と拡張
541
541
 
542
542
  このリリースのすべての変更を含む問題の完全なリスト:
543
543
 
544
- | **概要** | **カテゴリ** |
545
- | :------------------------------------- | :----------- |
546
- | Enchent smart template feature. | Improvement |
547
- | A new AI data analysis API has been added.| New Feature |
544
+ | **概要** | **カテゴリ** |
545
+ | :-------------------------------------------------------------------------------------------------------- | :----------- |
546
+ | Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
547
+ | Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
548
548
 
549
549
  ## 利用可能な SDK
550
550
 
@@ -594,7 +594,7 @@ Um mit Aspose.Cells Cloud zu beginnen, müssen Sie Folgendes tun:
594
594
  - Führen Sie den folgenden Befehl aus, um das neueste Gem-Paket zu erhalten.
595
595
 
596
596
  ```console
597
- gem 'aspose_cells_cloud', '~> 26.8.0'
597
+ gem 'aspose_cells_cloud', '~> 26.9.0'
598
598
  ```
599
599
 
600
600
  Oder direkt installieren:
@@ -621,6 +621,16 @@ FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
621
621
 
622
622
  4. So laden Sie eine Datei in den Cloud-Speicher hoch.
623
623
 
624
+ ```console
625
+ gem 'aspose_cells_cloud', '~> 26.9.0'
626
+ ```
627
+
628
+ oder direkt:
629
+
630
+ ```console
631
+ gem install aspose_cells_cloud
632
+ ```
633
+
624
634
  ```ruby
625
635
  require 'openssl'
626
636
  require 'bundler'
@@ -646,13 +656,13 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
646
656
  | [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel-Vorlage. | √ | √ |
647
657
  | [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel-Vorlage mit Makros. | √ | √ |
648
658
  | [XLAM](https://docs.fileformat.com/spreadsheet/xlam/) | Eine Excel-Add-In-Datei mit Makros, die zum Hinzufügen neuer Funktionen zu Excel verwendet wird. | | √ |
649
- | [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV (durch Kommas getrennte Werte) Datei. | √ | √ |
650
- | [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (durch Tabulatoren getrennte Werte) Datei. | √ | √ |
659
+ | [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV (Durch Kommas getrennte Werte) Datei. | √ | √ |
660
+ | [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (Durch Tabulatoren getrennte Werte) Datei. | √ | √ |
651
661
  | [TXT](https://docs.fileformat.com/word-processing/txt/) | Begrenzte reine Textdatei. | √ | √ |
652
662
  | [HTML](https://docs.fileformat.com/web/html/) | HTML-Format. | √ | √ |
653
663
  | [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML-Datei. | √ | √ |
654
664
  | [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS (OpenDocument Spreadsheet). | √ | √ |
655
- | [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | Dokument, das mit Apples „Numbers“-Anwendung erstellt wurde, Teil von Apples iWork-Bürosoftware, die unter macOS und iOS läuft. | √ | |
665
+ | [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | Dokument, das mit Apples „Numbers“ Anwendung erstellt wurde, Teil von Apples iWork‑Bürosoftware, die unter macOS und iOS läuft. | √ | |
656
666
  | [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
657
667
  | [DIF](https://docs.fileformat.com/spreadsheet/dif/) | Data Interchange Format. | | √ |
658
668
  | [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
@@ -662,19 +672,19 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
662
672
  | [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics Format | | √ |
663
673
  | [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap Image Format | | √ |
664
674
  | [EMF](https://docs.fileformat.com/image/emf/) | Enhanced Metafile Format | | √ |
665
- | [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG ist ein Bildformat, das mit verlustbehafteter Komprimierung gespeichert wird. | | √ |
675
+ | [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG ist ein Bildformat, das mit verlustbehafteter Komprimierung gespeichert wird. | | √ |
666
676
  | [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
667
677
  | [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Stellt ein Markdown-Dokument dar. | | √ |
668
- | [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | Ein XML-basiertes Format, das von OpenOffice und StarOffice verwendet wird | √ | √ |
678
+ | [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | Ein XML-basierter Format, das von OpenOffice und StarOffice verwendet wird | √ | √ |
669
679
  | [FODS](https://docs.fileformat.com/spreadsheet/fods/) | Ein Open Document-Format, das als flaches XML gespeichert wird. | √ | √ |
670
- | [DOCX](https://docs.fileformat.com/word-processing/docx/) | Ein bekanntes Format für Microsoft Word-Dokumente, das XML und Binärdateien kombiniert. | | √ |
680
+ | [DOCX](https://docs.fileformat.com/word-processing/docx/) | Ein bekanntes Format für Microsoft Word-Dokumente, das XML und Binärdateien kombiniert. | | √ |
671
681
  | [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML Präsentationsdateiformat. | | √ |
672
682
  | [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS (OpenDocument Spreadsheet-Vorlage). | √ | √ |
673
- | [XML](https://docs.fileformat.com/web/xml/) | XML-Datei. | √ | √ |
674
- | [HTM](https://docs.fileformat.com/web/htm/) | HTM-Datei. | √ | √ |
683
+ | [XML](https://docs.fileformat.com/web/xml/) | XML-Datei. | √ | √ |
684
+ | [HTM](https://docs.fileformat.com/web/htm/) | HTM-Datei. | √ | √ |
675
685
  | [TIF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
676
686
  | [WMF](https://docs.fileformat.com/image/wmf/) | WMF Image Format | | √ |
677
- | [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format | | √ |
687
+ | [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format | | √ |
678
688
  | [AZW3](https://docs.fileformat.com/ebook/azw3/) | AZW3/KF8 File Format | | √ |
679
689
  | [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB File Format | | √ |
680
690
  | [DBF](https://docs.fileformat.com/database/dbf/) | DBF File Format | | √ |
@@ -727,14 +737,14 @@ graph TB
727
737
  - Import/Export: Ermöglicht den Import von Daten aus verschiedenen Quellen in Tabellen und den Export von Tabellendaten in andere Formate.
728
738
  - Sicherheitsverwaltung: Bietet eine Reihe von Sicherheitsfunktionen wie Datenverschlüsselung, Zugriffskontrolle und Berechtigungsverwaltung zum Schutz der Sicherheit und Integrität von Tabellendaten.
729
739
 
730
- ## Funktionen & Erweiterungen in Version 26.8
740
+ ## Funktionen & Erweiterungen in Version 26.9
731
741
 
732
742
  Vollständige Liste der Probleme, die alle Änderungen in dieser Version abdecken:
733
743
 
734
744
  | **Zusammenfassung** | **Kategorie** |
735
745
  | :--------------------------------------------------------------------------- | :------------ |
736
- | Enchent smart template feature. | Improvement |
737
- | A new AI data analysis API has been added. | New Feature |
746
+ | Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
747
+ | Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
738
748
 
739
749
  ## Verfügbare SDK
740
750
 
@@ -31,6 +31,8 @@ require "uri"
31
31
  module AsposeCellsCloud
32
32
  class SmartMarkerTemplateRequest
33
33
 
34
+ attr_accessor :datafile
35
+ attr_accessor :templatefile
34
36
  attr_accessor :region
35
37
  attr_accessor :password
36
38
 
@@ -40,6 +42,14 @@ module AsposeCellsCloud
40
42
  # convert string to symbol for hash key
41
43
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
42
44
 
45
+ if attributes.has_key?(:'datafile')
46
+ self.datafile = attributes[:'datafile']
47
+ end
48
+
49
+ if attributes.has_key?(:'templatefile')
50
+ self.templatefile = attributes[:'templatefile']
51
+ end
52
+
43
53
  if attributes.has_key?(:'region')
44
54
  self.region = attributes[:'region']
45
55
  end
@@ -52,6 +62,8 @@ module AsposeCellsCloud
52
62
  # Attribute mapping from ruby-style variable name to JSON key.
53
63
  def self.attribute_map
54
64
  {
65
+ :'datafile' => :'datafile',
66
+ :'templatefile' => :'templatefile',
55
67
  :'region' => :'region',
56
68
  :'password' => :'password'
57
69
  }
@@ -60,6 +72,8 @@ module AsposeCellsCloud
60
72
  # Attribute type mapping.
61
73
  def self.swagger_types
62
74
  {
75
+ :'datafile' => :'String',
76
+ :'templatefile' => :'String',
63
77
  :'region' => :'String',
64
78
  :'password' => :'String'
65
79
  }
@@ -70,6 +84,14 @@ module AsposeCellsCloud
70
84
  api_client.config.logger.debug "Calling API: CellsApi.smart_marker_template ..."
71
85
  end
72
86
  api_client.request_token_if_needed
87
+ # verify the required parameter 'datafile' is set
88
+ if api_client.config.client_side_validation && datafile.nil?
89
+ fail ArgumentError, "Missing the required parameter 'datafile' when calling CellsApi.smart_marker_template "
90
+ end
91
+ # verify the required parameter 'templatefile' is set
92
+ if api_client.config.client_side_validation && templatefile.nil?
93
+ fail ArgumentError, "Missing the required parameter 'templatefile' when calling CellsApi.smart_marker_template "
94
+ end
73
95
 
74
96
  # resource path
75
97
  local_var_path = "v4.0/cells/report/smart/template"
@@ -89,6 +111,14 @@ module AsposeCellsCloud
89
111
  form_params = {}
90
112
  post_body = nil
91
113
 
114
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
115
+ if !datafile.empty? && File.exist?(datafile )
116
+ form_params[File.basename(datafile)] = ::File.open(datafile,"r")
117
+ end
118
+ if !templatefile.empty? && File.exist?(templatefile )
119
+ form_params[File.basename(templatefile)] = ::File.open(templatefile,"r")
120
+ end
121
+
92
122
  #auth_names = []
93
123
  auth_names = ['JWT']
94
124
  data, status_code, headers = api_client.call_api(:PUT, local_var_path,
@@ -33,6 +33,9 @@ module AsposeCellsCloud
33
33
 
34
34
  attr_accessor :spreadsheet
35
35
  attr_accessor :target_language
36
+ attr_accessor :custom_endpoint
37
+ attr_accessor :custom_api_key
38
+ attr_accessor :custom_model
36
39
  attr_accessor :region
37
40
  attr_accessor :password
38
41
 
@@ -50,6 +53,18 @@ module AsposeCellsCloud
50
53
  self.target_language = attributes[:'targetLanguage']
51
54
  end
52
55
 
56
+ if attributes.has_key?(:'customEndpoint')
57
+ self.custom_endpoint = attributes[:'customEndpoint']
58
+ end
59
+
60
+ if attributes.has_key?(:'customApiKey')
61
+ self.custom_api_key = attributes[:'customApiKey']
62
+ end
63
+
64
+ if attributes.has_key?(:'customModel')
65
+ self.custom_model = attributes[:'customModel']
66
+ end
67
+
53
68
  if attributes.has_key?(:'region')
54
69
  self.region = attributes[:'region']
55
70
  end
@@ -64,6 +79,9 @@ module AsposeCellsCloud
64
79
  {
65
80
  :'spreadsheet' => :'Spreadsheet',
66
81
  :'target_language' => :'targetLanguage',
82
+ :'custom_endpoint' => :'customEndpoint',
83
+ :'custom_api_key' => :'customApiKey',
84
+ :'custom_model' => :'customModel',
67
85
  :'region' => :'region',
68
86
  :'password' => :'password'
69
87
  }
@@ -74,6 +92,9 @@ module AsposeCellsCloud
74
92
  {
75
93
  :'spreadsheet' => :'String',
76
94
  :'target_language' => :'String',
95
+ :'custom_endpoint' => :'String',
96
+ :'custom_api_key' => :'String',
97
+ :'custom_model' => :'String',
77
98
  :'region' => :'String',
78
99
  :'password' => :'String'
79
100
  }
@@ -98,6 +119,9 @@ module AsposeCellsCloud
98
119
  # query parameters
99
120
  query_params = {}
100
121
  query_params[:'targetLanguage'] = self.target_language if !self.target_language.nil?
122
+ query_params[:'customEndpoint'] = self.custom_endpoint if !self.custom_endpoint.nil?
123
+ query_params[:'customApiKey'] = self.custom_api_key if !self.custom_api_key.nil?
124
+ query_params[:'customModel'] = self.custom_model if !self.custom_model.nil?
101
125
  query_params[:'region'] = self.region if !self.region.nil?
102
126
  query_params[:'password'] = self.password if !self.password.nil?
103
127
 
@@ -33,6 +33,9 @@ module AsposeCellsCloud
33
33
 
34
34
  attr_accessor :spreadsheet
35
35
  attr_accessor :target_language
36
+ attr_accessor :custom_endpoint
37
+ attr_accessor :custom_api_key
38
+ attr_accessor :custom_model
36
39
  attr_accessor :region
37
40
  attr_accessor :password
38
41
 
@@ -50,6 +53,18 @@ module AsposeCellsCloud
50
53
  self.target_language = attributes[:'targetLanguage']
51
54
  end
52
55
 
56
+ if attributes.has_key?(:'customEndpoint')
57
+ self.custom_endpoint = attributes[:'customEndpoint']
58
+ end
59
+
60
+ if attributes.has_key?(:'customApiKey')
61
+ self.custom_api_key = attributes[:'customApiKey']
62
+ end
63
+
64
+ if attributes.has_key?(:'customModel')
65
+ self.custom_model = attributes[:'customModel']
66
+ end
67
+
53
68
  if attributes.has_key?(:'region')
54
69
  self.region = attributes[:'region']
55
70
  end
@@ -64,6 +79,9 @@ module AsposeCellsCloud
64
79
  {
65
80
  :'spreadsheet' => :'Spreadsheet',
66
81
  :'target_language' => :'targetLanguage',
82
+ :'custom_endpoint' => :'customEndpoint',
83
+ :'custom_api_key' => :'customApiKey',
84
+ :'custom_model' => :'customModel',
67
85
  :'region' => :'region',
68
86
  :'password' => :'password'
69
87
  }
@@ -74,6 +92,9 @@ module AsposeCellsCloud
74
92
  {
75
93
  :'spreadsheet' => :'String',
76
94
  :'target_language' => :'String',
95
+ :'custom_endpoint' => :'String',
96
+ :'custom_api_key' => :'String',
97
+ :'custom_model' => :'String',
77
98
  :'region' => :'String',
78
99
  :'password' => :'String'
79
100
  }
@@ -98,6 +119,9 @@ module AsposeCellsCloud
98
119
  # query parameters
99
120
  query_params = {}
100
121
  query_params[:'targetLanguage'] = self.target_language if !self.target_language.nil?
122
+ query_params[:'customEndpoint'] = self.custom_endpoint if !self.custom_endpoint.nil?
123
+ query_params[:'customApiKey'] = self.custom_api_key if !self.custom_api_key.nil?
124
+ query_params[:'customModel'] = self.custom_model if !self.custom_model.nil?
101
125
  query_params[:'region'] = self.region if !self.region.nil?
102
126
  query_params[:'password'] = self.password if !self.password.nil?
103
127
 
@@ -27,5 +27,5 @@
27
27
 
28
28
 
29
29
  module AsposeCellsCloud
30
- VERSION = "26.8"
30
+ VERSION = "26.9"
31
31
  end
@@ -0,0 +1,114 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tempfile'
4
+
5
+ RSpec.describe Aspose::Cells::Cloud::AsposeCellsCloudClient do
6
+ subject(:client) { described_class.new('client-id', 'client-secret') }
7
+
8
+ describe 'construction' do
9
+ it 'builds a Configuration with the supplied credentials and default base_url' do
10
+ expect(client.configuration.client_id).to eq('client-id')
11
+ expect(client.configuration.client_secret).to eq('client-secret')
12
+ expect(client.configuration.base_url).to eq('https://api.aspose.cloud')
13
+ end
14
+
15
+ it 'accepts a custom base_url and options' do
16
+ custom = described_class.new('id', 'secret', 'https://example.com', timeout: 10, retries: 2)
17
+ expect(custom.configuration.base_url).to eq('https://example.com')
18
+ expect(custom.configuration.timeout).to eq(10)
19
+ expect(custom.configuration.retries).to eq(2)
20
+ end
21
+
22
+ it 'exposes configuration via #get_configuration' do
23
+ expect(client.get_configuration).to be(client.configuration)
24
+ end
25
+ end
26
+
27
+ describe '#build_multipart (private)' do
28
+ it 'embeds a file as a multipart part with its basename' do
29
+ Tempfile.create('book') do |file|
30
+ file.write('spreadsheet-bytes')
31
+ file.flush
32
+ content_type, body = client.send(:build_multipart, 'File' => file.path)
33
+ expect(content_type).to match(%r{^multipart/form-data; boundary=})
34
+ expect(body).to include('name="File"')
35
+ expect(body).to include("filename=\"#{File.basename(file.path)}\"")
36
+ expect(body).to include('spreadsheet-bytes')
37
+ end
38
+ end
39
+
40
+ it 'sends a plain value as a text field' do
41
+ _content_type, body = client.send(:build_multipart, 'note' => 'hello')
42
+ expect(body).to include('name="note"')
43
+ expect(body).to include('hello')
44
+ end
45
+
46
+ it 'accepts an open IO object (File/Tempfile) as a file part' do
47
+ Tempfile.create('book') do |file|
48
+ file.write('from-io')
49
+ file.flush
50
+ _content_type, body = client.send(:build_multipart, 'File' => file)
51
+ expect(body).to include("filename=\"#{File.basename(file.path)}\"")
52
+ expect(body).to include('from-io')
53
+ end
54
+ end
55
+
56
+ it 'accepts a FormFile.from_bytes binary array as a file part' do
57
+ form_file = Aspose::Cells::Cloud::FormFile.from_bytes([0x00, 0x48, 0x49], filename: 'raw.bin')
58
+ _content_type, body = client.send(:build_multipart, 'File' => form_file)
59
+ expect(body).to include('filename="raw.bin"')
60
+ expect(body).to include("\x00HI".b)
61
+ end
62
+
63
+ it 'uses a FormFile content_type when provided' do
64
+ form_file = Aspose::Cells::Cloud::FormFile.from_bytes([0x50, 0x4B], filename: 'a.xlsx',
65
+ content_type: 'application/vnd.ms-excel')
66
+ content_type, body = client.send(:build_multipart, 'File' => form_file)
67
+ expect(content_type).to match(%r{^multipart/form-data; boundary=})
68
+ expect(body).to include('Content-Type: application/vnd.ms-excel')
69
+ end
70
+
71
+ it 'sends a bare integer array as a binary text field' do
72
+ _content_type, body = client.send(:build_multipart, 'blob' => [0x01, 0x02, 0x03])
73
+ expect(body).to include("name=\"blob\"")
74
+ expect(body).to include("\x01\x02\x03".b)
75
+ expect(body).not_to include('filename=')
76
+ end
77
+ end
78
+
79
+ describe '#build_request (private)' do
80
+ let(:uri) { URI.parse('https://api.aspose.cloud/v4.0/cells/convert') }
81
+
82
+ it 'builds a GET request with no body' do
83
+ req = client.send(:build_request, 'GET', uri, {}, nil, nil)
84
+ expect(req).to be_a(Net::HTTP::Get)
85
+ expect(req.body).to be_nil
86
+ end
87
+
88
+ it 'serializes a JSON body' do
89
+ req = client.send(:build_request, 'POST', uri, { 'Content-Type' => 'application/json' },
90
+ { 'Name' => 'x' }, nil)
91
+ expect(req.body).to eq('{"Name":"x"}')
92
+ expect(req['Content-Type']).to eq('application/json')
93
+ end
94
+
95
+ it 'rejects an unsupported HTTP method' do
96
+ expect { client.send(:build_request, 'PATCH', uri, {}, nil, nil) }
97
+ .to raise_error(Aspose::Cells::Cloud::SDKError, /Unsupported HTTP method/)
98
+ end
99
+ end
100
+
101
+ describe '#upload_file / #download_file' do
102
+ it 'upload_file builds and executes an UploadFileRequest' do
103
+ response = double('response', success?: true)
104
+ allow(client).to receive(:execute).and_return(response)
105
+ expect(client.upload_file('TestData/In/a.xlsx', 'testdata/a.xlsx')).to be(response)
106
+ end
107
+
108
+ it 'download_file returns the response bytes' do
109
+ response = double('response', to_bytes: 'CONTENT')
110
+ allow(client).to receive(:execute).and_return(response)
111
+ expect(client.download_file('TestData/In/a.xlsx')).to eq('CONTENT')
112
+ end
113
+ end
114
+ end
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ RSpec.describe Aspose::Cells::Cloud::Configuration do
4
+ describe 'defaults' do
5
+ subject(:config) { described_class.new }
6
+
7
+ it 'defaults base_url to the production endpoint' do
8
+ expect(config.base_url).to eq('https://api.aspose.cloud')
9
+ end
10
+
11
+ it 'defaults timeout to 30 seconds' do
12
+ expect(config.timeout).to eq(30)
13
+ end
14
+
15
+ it 'defaults retries to 0' do
16
+ expect(config.retries).to eq(0)
17
+ end
18
+
19
+ it 'defaults api_version to v4.0' do
20
+ expect(config.api_version).to eq('v4.0')
21
+ end
22
+
23
+ it 'leaves credentials nil (no fake defaults)' do
24
+ expect(config.client_id).to be_nil
25
+ expect(config.client_secret).to be_nil
26
+ end
27
+
28
+ it 'starts with an empty header map' do
29
+ expect(config.header_parameters).to eq({})
30
+ end
31
+ end
32
+
33
+ describe '#token_url' do
34
+ it 'derives the OAuth2 endpoint from api_version (v4.0) by default' do
35
+ expect(described_class.new.token_url).to eq('https://api.aspose.cloud/v4.0/cells/connect/token')
36
+ end
37
+
38
+ it 'uses /v3.0/cells/connect/token when api_version is v3.0' do
39
+ config = described_class.new(api_version: 'v3.0')
40
+ expect(config.token_url).to eq('https://api.aspose.cloud/v3.0/cells/connect/token')
41
+ end
42
+
43
+ it 'honours an explicit auth_url override' do
44
+ config = described_class.new(auth_url: 'https://example.com/oauth2/token')
45
+ expect(config.token_url).to eq('https://example.com/oauth2/token')
46
+ end
47
+
48
+ it 'strips a trailing slash from base_url' do
49
+ config = described_class.new(base_url: 'https://api.aspose.cloud/')
50
+ expect(config.token_url).to eq('https://api.aspose.cloud/v4.0/cells/connect/token')
51
+ end
52
+ end
53
+
54
+ describe '#add_default_header' do
55
+ it 'adds a header to the map' do
56
+ config = described_class.new
57
+ config.add_default_header('X-Custom', 'value')
58
+ expect(config.header_parameters['X-Custom']).to eq('value')
59
+ end
60
+ end
61
+ end