Skip to content

Commit 74eb304

Browse files
committed
Update ruby library structure.
1 parent feaf8da commit 74eb304

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

aspose_cells_cloud.gemspec

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,15 @@ Gem::Specification.new do |s|
2323
s.email = ["aspose.cloud@asposeptyltd.com"]
2424
s.homepage = "https://products.aspose.cloud/cells/ruby"
2525
s.metadata = { "source_code_uri" => "https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby" }
26-
s.summary = "Effortlessly handle Excel and other spreadsheet documents with features like opening, generating, editing, splitting, merging, comparing, and converting. Seamlessly integrate Cloud API into your solutions to efficiently manipulate documents. Convert Excel or other spreadsheets to CSV, PDF, JSON, XML, HTML, images, and more."
26+
s.summary = "Ruby Excel SDK Library – Create, Edit, Save, Export, and Convert Spreadsheets (XLSX, ODS, JSON, PDF, Markdown)"
2727
s.description = "Ruby Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate Microsoft Excel® spreadsheet generation, manipulation, conversion & inspection features into your own applications. Aspose.Cells Cloud for Ruby enables you to handle various aspects of Excel files, including cell data, styles, formulas, charts, pivot tables, data validation, comments, drawing objects, images, hyperlinks, and so on. Additionally, it supports operations such as splitting, merging, repairing, and converting to other compatible file formats."
2828
s.metadata['keywords'] = "excel, spreadsheet, convert, xlsx, pdf, json, cloud, rest api ,merge, split, protect"
29-
# TODO uncommnet and update below with a proper license
3029
s.license = "MIT"
3130
s.required_ruby_version = ">= 1.9"
3231

3332
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
3433
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
3534
s.add_runtime_dependency 'faraday', '~> 0.14.0'
36-
s.add_runtime_dependency 'mimemagic', '~> 0.3.2'
3735

3836
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
3937
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
@@ -43,8 +41,7 @@ Gem::Specification.new do |s|
4341
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
4442
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
4543

46-
s.files = Dir["README.md", "spec/**/*","lib/**/*", "LICENSE"]
47-
s.test_files = Dir["spec/"]
44+
s.files = Dir["README.md", "examples/**/*","lib/**/*", "LICENSE"]
4845
s.executables = []
4946
s.require_paths = ["lib"]
5047
end

examples/CompanySales.xlsx

22.6 KB
Binary file not shown.

examples/EmployeeSalesSummary.xlsx

18.8 KB
Binary file not shown.

examples/Example_QuickStart.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require 'openssl'
2+
require 'bundler'
3+
require 'aspose_cells_cloud'
4+
5+
@instance = AsposeCellsCloud::CellsApi.new(ENV['CellsCloudClientId'], ENV['CellsCloudClientSecret'],'v3.0',ENV['CellsCloudApiBaseUrl'])
6+
@instance.upload_file(uploadrequest)
7+
mapFiles["EmployeeSalesSummary.xlsx"]= ::File.open(File.expand_path("./EmployeeSalesSummary.xlsx"),"r")
8+
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>"pdf");
9+
response = @instance.put_convert_workbook(request);
10+
print response

lib/aspose_cells_cloud/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727

2828

2929
module AsposeCellsCloud
30-
VERSION = "25.4"
30+
VERSION = "25.4.1"
3131
end

0 commit comments

Comments
 (0)