Skip to content

Commit 7e522cd

Browse files
committed
ISSUE-CELLSCLOUD-13479: Develop Aspose.Cells Cloud SDK for Ruby 25.10, and add related test cases.
1 parent e3a4a08 commit 7e522cd

36 files changed

+2159
-221
lines changed

HistoryVersion.md renamed to CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Feature & Enhancements in Version 25.9
44

5+
|**Summary**|**Category**|
6+
| :- | :- |
7+
| Support trim spreadsheet content in Cells Cloud 4.0. | Improvement |
8+
| Support trim worksheet range content in Cells Cloud 4.0. | Improvement |
9+
| Fix few issues about spelling error. | Bug |
10+
511
|**Summary**|**Category**|
612
| :- | :- |
713
| Support of Authorization in Aspose.Cells Cloud Docker Container | New Feature |

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-25.9-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/25.9?style=for-the-badge)
1+
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-25.10-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/25.10?style=for-the-badge)
22

3-
Aspose.Cells Cloud SDK for Ruby empowers developers to programmatically manage Excel files with precision. This comprehensive Ruby library supports advanced Excel operations like cell data formatting, dynamic formulas, pivot tables, conditional styling, charts, hyperlinks, comments, and data validation. It also enables seamless Excel file conversion (XLSX, CSV, PDF, ODS), document splitting/merging, and file repair. Designed for cloud integration, this API-first solution accelerates spreadsheet automation while ensuring data integrity across platforms like AWS, Azure, and Google Cloud.
4-
5-
## Ruby SDK package for Aspose.Cells Cloud
6-
7-
Enhance your Ruby applications with [Aspose.Cells Cloud](https://products.aspose.cloud/cells/ruby) – a powerful, cloud-based SDK that enables seamless integration with [Excel, ODS, CSV, Json and other spreadsheet document formats](https://docs.aspose.cloud/cells/supported-file-formats/). Leveraging its robust REST API, developers can effortlessly create, read, edit, convert, and manipulate spreadsheet content programmatically—without requiring any local office software.
3+
[Aspose.Cells Cloud SDK for Ruby](https://products.aspose.cloud/cells/ruby) is a cloud-first REST API that lets Ruby applications create, read, edit, convert, and repair [Excel, ODS, CSV, JSON, and other spreadsheet files](https://docs.aspose.cloud/cells/supported-file-formats/) without installing Microsoft Office. It supports advanced features, including cell formatting, formulas, pivot tables, conditional styling, charts, hyperlinks, comments, data validation, document splitting, and merging, and runs on AWS, Azure, and Google Cloud, while ensuring data integrity.
84

95
## Quick Start Guide
106

@@ -16,7 +12,7 @@ To begin with Aspose.Cells Cloud, here's what you need to do:
1612
- execute the following command to get the latest Gem package.
1713

1814
```console
19-
gem 'aspose_cells_cloud', '~> 25.9'
15+
gem 'aspose_cells_cloud', '~> 25.10'
2016
```
2117

2218
or install directly
@@ -118,15 +114,20 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles=>"EmployeeSales
118114
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
119115
- 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.
120116

121-
## Feature & Enhancements in Version 25.9
117+
## Feature & Enhancements in Version 25.10
122118

123119
Full list of issues covering all changes in this release:
124120

125121
|**Summary**|**Category**|
126122
| :- | :- |
127-
| Support trim spreadsheet content in Cells Cloud 4.0. | Improvement |
128-
| Support trim worksheet range content in Cells Cloud 4.0. | Improvement |
129-
| Fix few issues about spelling error. | Bug |
123+
| Optimize data Transform API: replace delete with remove. | Improvement |
124+
| Support to update the spreadsheet content words case in Cells Cloud 4.0. | Improvement |
125+
| Support to remove characters from spreadsheet content in Cells Cloud 4.0. | Improvement |
126+
| Support to add text for spreadsheet content in Cells Cloud 4.0. | Improvement |
127+
| Support to convert text for spreadsheet content in Cells Cloud 4.0. | Improvement |
128+
| Support to extract text for spreadsheet content in Cells Cloud 4.0. | Improvement |
129+
| Support to extract text for spreadsheet content in Cells Cloud 4.0. | Improvement |
130+
| Support to split text for spreadsheet content in Cells Cloud 4.0. | Improvement |
130131

131132
## Available SDKs
132133

@@ -148,4 +149,4 @@ The Aspose.Cells Cloud SDK is available in multiple popular programming language
148149

149150
[![Ruby](https://img.shields.io/badge/Ruby-CC342D.svg?style=for-the-badge&logo=ruby&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [![Ruby](https://img.shields.io/badge/Gem-aspose__cells__cloud-red?logo=ruby&style=for-the-badge)](https://rubygems.org/gems/aspose_cells_cloud)
150151

151-
## [Release history version](HistoryVersion.md)
152+
## [Release history version](CHANGELOG.md)

docs/api/AddText.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# **Spreadsheet Cloud API: addText**
2+
3+
Specify appending text to multiple cells at once, allowing you to add prefixes, suffixes, labels, or any specific characters. You can choose the exact position of the text—in the beginning, at the end, or before or after certain characters in the cell.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
- **Example**
11+
12+
## **Interface Details**
13+
14+
### **Endpoint**
15+
16+
```
17+
PUT http://api.aspose.cloud/v4.0/cells/content/add/text
18+
```
19+
### **Function Description**
20+
Bulk-inserts the supplied string into every cell of the chosen range at the exact position you specify(prefix, suffix, before/after a given substring, or offset). - **position** enum: None, AtTheBeginning, AtTheEnd, BeforeText, AfterText. - **selectText**: when `BeforeText` or `AfterText` is used, this field supplies the anchor substring; if the anchor is not found the cell is left unchanged.- **skipEmptyCells**: `true` → only non-blank cells are processed; `false` → empty cells receive the new text directly.- **Numeric / boolean / formula cells** are converted to string before insertion; formulas are **dropped** to avoid corruption.- Returns the **count of touched cells** and the updated workbook stream.
21+
22+
### The request parameters of **addText** API are:
23+
24+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
25+
| :- | :- | :- |:- |
26+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
27+
|text|String|Query|Specify the added text content.|
28+
|position|String|Query|Indicates the specific location for adding text content.None, AtTheBeginning, AtTheEnd, BeforeText, AfterText. |
29+
|selectText|String|Query|Indicates selecting the specific position to add text based on the content of the text.|
30+
|skipEmptyCells|Boolean|Query|Indicates skip empty cells.|
31+
|worksheet|String|Query|Specify the worksheet of spreadsheet.|
32+
|range|String|Query|Specify the worksheet range of spreadsheet.|
33+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
34+
|outStorageName|String|Query|Output file Storage Name.|
35+
|region|String|Query|The spreadsheet region setting.|
36+
|password|String|Query|The password for opening spreadsheet file.|
37+
38+
### **Response Description**
39+
```json
40+
{
41+
File
42+
}
43+
```
44+
45+
46+
## OpenAPI Specification
47+
48+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/TextProcessingController/AddText) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
49+
50+

docs/api/ConvertText.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# **Spreadsheet Cloud API: convertText**
2+
3+
Indicates converting the numbers stored as text into the correct number format, replacing unwanted characters and line breaks with the desired characters, and converting accented characters to their equivalent characters without accents.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
- **Example**
11+
12+
## **Interface Details**
13+
14+
### **Endpoint**
15+
16+
```
17+
PUT http://api.aspose.cloud/v4.0/cells/content/convert/text
18+
```
19+
### **Function Description**
20+
- **Convert numbers stored as text to numbers**Transform numeric data stored as text to numbers, ensuring accurate calculations and proper data representation.- **Replace specific characters**Replace all occurrences of specified characters in all the selected cells at once to standardize your information.- **Convert line breaks to space, comma or semicolon**Improve the readability of your sheets by converting line breaks to space, comma, or semicolon, creating a more organized and visually appealing presentation.- **Replace accented characters**If your data is in different languages, you have the option to swap accented characters like "é" or "ü" with their non-accented counterparts. This enhances consistency and clarity in your text.
21+
22+
### The request parameters of **convertText** API are:
23+
24+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
25+
| :- | :- | :- |:- |
26+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
27+
|convertTextType|String|Query|Indicates the conversion of text type.|
28+
|sourceCharacters|String|Query|Indicates the source characters.|
29+
|targetCharacters|String|Query|Indicates the target characters.|
30+
|worksheet|String|Query|Specify the worksheet of spreadsheet.|
31+
|range|String|Query|Specify the worksheet range of spreadsheet.|
32+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
33+
|outStorageName|String|Query|Output file Storage Name.|
34+
|region|String|Query|The spreadsheet region setting.|
35+
|password|String|Query|The password for opening spreadsheet file.|
36+
37+
### **Response Description**
38+
```json
39+
{
40+
File
41+
}
42+
```
43+
44+
45+
## OpenAPI Specification
46+
47+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/TextProcessingController/ConvertText) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
48+
49+

docs/api/ExtractText.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# **Spreadsheet Cloud API: extractText**
2+
3+
Indicates extracting substrings, text characters, and numbers from a spreadsheet cell into another cell without having to use complex FIND, MIN, LEFT, or RIGHT formulas.
4+
5+
6+
## **Quick Start**
7+
8+
- **Base URL**: `http://api.aspose.cloud/v4.0`
9+
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
10+
- **Example**
11+
12+
## **Interface Details**
13+
14+
### **Endpoint**
15+
16+
```
17+
PUT http://api.aspose.cloud/v4.0/cells/content/extract/text
18+
```
19+
### **Function Description**
20+
Extracts substrings, numbers, or fixed-length prefixes/suffixes from the selected range and writes the results directly to the target area—no Excel formulas, no helper columns, no manual copy-paste.The engine works cell-by-cell:- **String cells** are scanned for the requested delimiter or position and the matching fragment is returned.- **Numeric or date cells** are implicitly converted to text(using the workbook’s locale) before the rule is applied, so 123.45 can yield 123 (left 3) or 45 (right 2) without pre-formatting.- **Empty cells** remain blank; cells where the delimiter is not found produce an empty string, giving you a predictable, non-error output.Because the operation is executed inside the streaming reader/writer, no temporary objects are created—memory stays flat even on million-row ranges—and the source formatting, formulas and data-validation are left untouched.Result area can be on the same sheet, another sheet, or even another workbook, making it ideal for preparing clean data feeds for pivot tables, charts or downstream ML pipelines.- **Extract first characters**Get the first character or specified number of characters from the left of each selected cell.Make it easy to capture relevant information at the beginning of your data.- **Extract text before, after or between specified characters** Perform precise information retrieval by extracting text before, after, or between the characters or substrings you specify.- **Get text from any position in a string**Enjoy flexibility in data extraction as you retrieve text from any position within a string. Simply indicate where the first character is located and how many characters to pull.- **Extract last characters**Get the last character or a specified number of characters from the end of your cell values. Extract the desired information from the tail of your data, such as the file extensions from a list of file names.- **Extract all numbers from selected cells**Get all numbers from alphanumeric strings making it easier for you to work with quantitative information in your spreadsheets.- **Have the result as value or formula**Tailor the output of your extraction by choosing whether the result appears as a static value or dynamic formula.
21+
22+
### The request parameters of **extractText** API are:
23+
24+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
25+
| :- | :- | :- |:- |
26+
|Spreadsheet|File|FormData|Upload spreadsheet file.|
27+
|extractTextType|String|Query|Indicates extract text type.|
28+
|beforeText|String|Query|Indicates extracting the text before the specified characters or substrings.|
29+
|afterText|String|Query|Indicates extracting the text after the specified characters or substrings.|
30+
|beforePosition|Integer|Query|Indicates retrieving the first character or a specified number of characters from the left side of the selected cell.|
31+
|afterPosition|Integer|Query|Indicates retrieving the first character or a specified number of characters from the right side of the selected cell.|
32+
|outPositionRange|String|Query|Indicates the output location for the extracted text.|
33+
|worksheet|String|Query|Specify the worksheet of spreadsheet.|
34+
|range|String|Query|Specify the worksheet range of spreadsheet.|
35+
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
36+
|outStorageName|String|Query|Output file Storage Name.|
37+
|region|String|Query|The spreadsheet region setting.|
38+
|password|String|Query|The password for opening spreadsheet file.|
39+
40+
### **Response Description**
41+
```json
42+
{
43+
File
44+
}
45+
```
46+
47+
48+
## OpenAPI Specification
49+
50+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/TextProcessingController/ExtractText) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
51+
52+

0 commit comments

Comments
 (0)