aspose_cells_cloud 26.7 → 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.
- checksums.yaml +4 -4
- data/README.md +656 -76
- data/lib/aspose_cells_cloud/api/cells_api.rb +8 -0
- data/lib/aspose_cells_cloud/requests/categorize_spreadsheet_request.rb +151 -0
- data/lib/aspose_cells_cloud/requests/smart_marker_template_request.rb +30 -0
- data/lib/aspose_cells_cloud/requests/translate_spreadsheet_request.rb +24 -0
- data/lib/aspose_cells_cloud/requests/translate_text_file_request.rb +24 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +1 -0
- data/spec/client_spec.rb +114 -0
- data/spec/configuration_spec.rb +61 -0
- data/spec/form_file_spec.rb +47 -0
- data/spec/model_spec.rb +73 -0
- data/spec/request_spec.rb +87 -0
- data/spec/rich_response_spec.rb +46 -0
- data/spec/sdk_error_spec.rb +27 -0
- data/spec/spec_helper.rb +21 -134
- metadata +10 -78
- data/spec/TestData/AggregateCellsByColor.xlsx +0 -0
- data/spec/TestData/Book1.xlsx +0 -0
- data/spec/TestData/BookCsvDuplicateData.csv +0 -21
- data/spec/TestData/BookDuplicateData.xlsx +0 -0
- data/spec/TestData/BookFormula.xlsx +0 -0
- data/spec/TestData/BookTableL2W.xlsx +0 -0
- data/spec/TestData/BookText.xlsx +0 -0
- data/spec/TestData/CompanySales.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary_Locked.xlsx +0 -0
- data/spec/TestData/Formula tutorial.xlsx +0 -0
- data/spec/TestData/Group.xlsx +0 -0
- data/spec/TestData/Home inventory.xlsx +0 -0
- data/spec/TestData/LockedEmployeeSalesSummary.xlsx +0 -0
- data/spec/TestData/OLEDoc.docx +0 -0
- data/spec/TestData/ReportData.xml +0 -1
- data/spec/TestData/Simple invoice.xlsx +0 -0
- data/spec/TestData/Template.xlsx +0 -0
- data/spec/TestData/TestCase.xlsx +0 -0
- data/spec/TestData/TestTables.xlsx +0 -0
- data/spec/TestData/WaterMark.png +0 -0
- data/spec/TestData/assemblytest.xlsx +0 -0
- data/spec/TestData/data.xml +0 -1
- data/spec/TestData/datasource.xlsx +0 -0
- data/spec/TestData/myDocument.xlsx +0 -0
- data/spec/TestData/needUnlock.xlsx +0 -0
- data/spec/TestData/needlock.xlsx +0 -0
- data/spec/TestData/roywang.pfx +0 -0
- data/spec/TestData/word.jpg +0 -0
- data/spec/calculate/calculate_spec.rb +0 -29
- data/spec/cells_cloud30/auto_filter_controller_spec.rb +0 -211
- data/spec/cells_cloud30/batch_controller_spec.rb +0 -113
- data/spec/cells_cloud30/cells_controller_spec.rb +0 -627
- data/spec/cells_cloud30/cells_status_controller_spec.rb +0 -43
- data/spec/cells_cloud30/chart_area_controller_spec.rb +0 -58
- data/spec/cells_cloud30/charts_controller_spec.rb +0 -227
- data/spec/cells_cloud30/conditional_formattings_controller_spec.rb +0 -149
- data/spec/cells_cloud30/conversion30_spec.rb +0 -1112
- data/spec/cells_cloud30/data_processing_controller_spec.rb +0 -97
- data/spec/cells_cloud30/hypelinks_controller_spec.rb +0 -104
- data/spec/cells_cloud30/light_cells_spec.rb +0 -1059
- data/spec/cells_cloud30/list_objects_controller_spec.rb +0 -225
- data/spec/cells_cloud30/ole_objects_controller_spec.rb +0 -108
- data/spec/cells_cloud30/page_breaks_controller_spec.rb +0 -163
- data/spec/cells_cloud30/page_setup_controller_spec.rb +0 -149
- data/spec/cells_cloud30/pictures_controller_spec.rb +0 -106
- data/spec/cells_cloud30/pivot_tables_controller_spec.rb +0 -312
- data/spec/cells_cloud30/properties_controller_spec.rb +0 -89
- data/spec/cells_cloud30/ranges_controller_spec.rb +0 -227
- data/spec/cells_cloud30/shapes_controller_spec.rb +0 -139
- data/spec/cells_cloud30/sparkline_groups_controller_spec.rb +0 -104
- data/spec/cells_cloud30/text_processing_controller_spec.rb +0 -67
- data/spec/cells_cloud30/workbook_controller_spec.rb +0 -519
- data/spec/cells_cloud30/worksheet_controller_spec.rb +0 -609
- data/spec/cells_cloud30/worksheet_validations_controller_spec.rb +0 -104
- data/spec/cells_cloud30/xml_controller_spec.rb +0 -48
- data/spec/data_processing/conversion_spec.rb +0 -428
- data/spec/data_processing/import_data_spec.rb +0 -24
- data/spec/data_processing/merger_spec.rb +0 -28
- data/spec/data_processing/protection_spec.rb +0 -29
- data/spec/data_processing/splitter_spec.rb +0 -47
- data/spec/data_processing/transform_spec.rb +0 -43
- data/spec/dynabic/file_controller_spec.rb +0 -60
- data/spec/dynabic/folder_controller_spec.rb +0 -88
- data/spec/dynabic/storage_controller_spec.rb +0 -73
- data/spec/management/management_spec.rb +0 -111
- data/spec/search2_replace/replacer_spec.rb +0 -46
- data/spec/search2_replace/searcher_spec.rb +0 -131
- data/spec/text_processing/add_text_spec.rb +0 -45
- data/spec/text_processing/convert_text_spec.rb +0 -37
- data/spec/text_processing/extract_text_spec.rb +0 -37
- data/spec/text_processing/remove_characters_spec.rb +0 -53
- data/spec/text_processing/split_text_spec.rb +0 -21
- data/spec/text_processing/trim_spreadsheet_spec.rb +0 -29
- data/spec/text_processing/update_word_case_spec.rb +0 -37
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
RSpec.describe 'generated requests' do
|
|
4
|
+
describe Aspose::Cells::Cloud::Request::PostClearContentsRequest do
|
|
5
|
+
subject(:request) do
|
|
6
|
+
described_class.new(name: 'Book 1.xlsx', sheet_name: 'Sheet1', range: 'A1:C10',
|
|
7
|
+
folder: 'TestData/In')
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
it 'returns the HTTP verb' do
|
|
11
|
+
expect(request.get_method).to eq('POST')
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
it 'substitutes and URL-encodes path placeholders' do
|
|
15
|
+
expect(request.get_path).to eq('/v3.0/cells/Book%201.xlsx/worksheets/Sheet1/cells/clearcontents')
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
it 'includes required + present optional query parameters' do
|
|
19
|
+
expect(request.get_query_parameters).to eq('range' => 'A1:C10', 'folder' => 'TestData/In')
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
it 'raises ArgumentError when a required parameter is empty' do
|
|
23
|
+
expect { described_class.new(name: '', sheet_name: 'Sheet1') }
|
|
24
|
+
.to raise_error(ArgumentError, /name is required/)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
it 'enforces a required keyword argument' do
|
|
28
|
+
expect { described_class.new(sheet_name: 'Sheet1') }
|
|
29
|
+
.to raise_error(ArgumentError, /missing keyword/)
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe Aspose::Cells::Cloud::Request::PutConvertWorkbookRequest do
|
|
34
|
+
subject(:request) { described_class.new(format_: 'pdf', file: 'testdata/Book1.xlsx') }
|
|
35
|
+
|
|
36
|
+
it 'maps the format_ attribute to the format wire key' do
|
|
37
|
+
expect(request.get_query_parameters).to eq('format' => 'pdf')
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
it 'exposes the file as a multipart form field' do
|
|
41
|
+
expect(request.get_multipart_form).to eq('File' => 'testdata/Book1.xlsx')
|
|
42
|
+
expect(request.get_header_parameters).to eq('Content-Type' => 'multipart/form-data')
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe Aspose::Cells::Cloud::Request::UploadFileRequest do
|
|
47
|
+
it 'uses the UploadFiles form field name' do
|
|
48
|
+
request = described_class.new(path: 'TestData/In/Book1.xlsx',
|
|
49
|
+
upload_files: 'testdata/Book1.xlsx')
|
|
50
|
+
expect(request.get_multipart_form).to eq('UploadFiles' => 'testdata/Book1.xlsx')
|
|
51
|
+
expect(request.get_path).to eq('/v4.0/cells/storage/file/TestData%2FIn%2FBook1.xlsx')
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
describe Aspose::Cells::Cloud::Request::PutWorksheetColorFilterRequest do
|
|
56
|
+
it 'serializes a body model to a Hash and sets JSON content type' do
|
|
57
|
+
request = described_class.new(
|
|
58
|
+
name: 'Book1.xlsx', sheet_name: 'Sheet1', range: 'A1:C10', field_index: 0,
|
|
59
|
+
color_filter: Aspose::Cells::Cloud::Model::ColorFilterRequest.new(pattern: 'Solid')
|
|
60
|
+
)
|
|
61
|
+
expect(request.get_json_body).to eq('Pattern' => 'Solid')
|
|
62
|
+
expect(request.get_header_parameters).to eq('Content-Type' => 'application/json')
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'full generation' do
|
|
67
|
+
it 'generates 457 request classes (461 operations minus 4 ignored)' do
|
|
68
|
+
files = Dir[File.join(__dir__, '..', 'lib', 'aspose', 'cells', 'cloud', 'request', '*_request.rb')]
|
|
69
|
+
expect(files.length).to eq(457)
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
it 'every request is well-formed (verb, no leftover placeholders, Hash query)' do
|
|
73
|
+
Aspose::Cells::Cloud::Request.constants.each do |const|
|
|
74
|
+
klass = Aspose::Cells::Cloud::Request.const_get(const)
|
|
75
|
+
next unless klass.is_a?(Class) && klass < Aspose::Cells::Cloud::RequestOption
|
|
76
|
+
|
|
77
|
+
required = klass.instance_method(:initialize).parameters
|
|
78
|
+
.select { |type, _| type == :keyreq }.map { |_, name| name }
|
|
79
|
+
request = klass.new(**required.to_h { |name| [name, 'test'] })
|
|
80
|
+
|
|
81
|
+
expect(request.get_method).to match(/\A(GET|POST|PUT|DELETE)\z/)
|
|
82
|
+
expect(request.get_path).not_to include('{', '}')
|
|
83
|
+
expect(request.get_query_parameters).to be_a(Hash)
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
RSpec.describe Aspose::Cells::Cloud::RichResponse do
|
|
4
|
+
subject(:response) do
|
|
5
|
+
described_class.new(200, { 'Content-Type' => 'application/json' }, '{"Name":"Book1.xlsx"}')
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
it 'exposes status_code, headers, and body' do
|
|
9
|
+
expect(response.status_code).to eq(200)
|
|
10
|
+
expect(response.headers['Content-Type']).to eq('application/json')
|
|
11
|
+
expect(response.body).to eq('{"Name":"Book1.xlsx"}')
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
describe '#to_s' do
|
|
15
|
+
it 'decodes the body as UTF-8' do
|
|
16
|
+
expect(response.to_s).to eq('{"Name":"Book1.xlsx"}')
|
|
17
|
+
expect(response.to_s.encoding).to eq(Encoding::UTF_8)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
it 'returns empty string for a nil body' do
|
|
21
|
+
expect(described_class.new(204, {}, nil).to_s).to eq('')
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
describe '#to_bytes' do
|
|
26
|
+
it 'returns a binary-encoded body' do
|
|
27
|
+
bytes = response.to_bytes
|
|
28
|
+
expect(bytes).to eq('{"Name":"Book1.xlsx"}')
|
|
29
|
+
expect(bytes.encoding).to eq(Encoding::BINARY)
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe '#get_json' do
|
|
34
|
+
it 'parses the body into a Hash' do
|
|
35
|
+
expect(response.get_json).to eq('Name' => 'Book1.xlsx')
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
it 'hydrates a model when a class is given' do
|
|
39
|
+
hydrated = described_class.new(200, {}, '{"UsedSize":1,"TotalSize":2}')
|
|
40
|
+
.get_json(Aspose::Cells::Cloud::Model::DiscUsage)
|
|
41
|
+
expect(hydrated).to be_a(Aspose::Cells::Cloud::Model::DiscUsage)
|
|
42
|
+
expect(hydrated.used_size).to eq(1)
|
|
43
|
+
expect(hydrated.total_size).to eq(2)
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
RSpec.describe Aspose::Cells::Cloud::SDKError do
|
|
4
|
+
it 'is a StandardError' do
|
|
5
|
+
expect(described_class.superclass).to eq(StandardError)
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
it 'carries a message' do
|
|
9
|
+
error = described_class.new('boom')
|
|
10
|
+
expect(error.message).to eq('boom')
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
it 'carries an optional HTTP code and body' do
|
|
14
|
+
error = described_class.new('boom', code: 401, response_body: '{"error":"denied"}')
|
|
15
|
+
expect(error.code).to eq(401)
|
|
16
|
+
expect(error.response_body).to eq('{"error":"denied"}')
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
it 'can be rescued via the class name' do
|
|
20
|
+
raised = begin
|
|
21
|
+
raise described_class, 'x'
|
|
22
|
+
rescue described_class => e
|
|
23
|
+
e
|
|
24
|
+
end
|
|
25
|
+
expect(raised).to be_a(described_class)
|
|
26
|
+
end
|
|
27
|
+
end
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,134 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
-
SOFTWARE.
|
|
24
|
-
</summary>
|
|
25
|
-
--------------------------------------------------------------------------------------------------------------------
|
|
26
|
-
=end
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
require 'openssl'
|
|
30
|
-
require 'bundler'
|
|
31
|
-
# OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
|
32
|
-
# load the gem
|
|
33
|
-
require 'aspose_cells_cloud'
|
|
34
|
-
$grant_type = 'client_credentials' # replace NULL with a proper value
|
|
35
|
-
$client_id = ENV['CellsCloudClientId'] # # replace NULL with a proper value
|
|
36
|
-
$client_secret = ENV['CellsCloudClientSecret'] # # replace NULL with a proper value
|
|
37
|
-
$baseurl=ENV['CellsCloudApiBaseUrl']
|
|
38
|
-
$api_version='v3.0'
|
|
39
|
-
# The following was generated by the `rspec --init` command. Conventionally, all
|
|
40
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
|
41
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
|
42
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
|
43
|
-
# files.
|
|
44
|
-
#
|
|
45
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
|
46
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
|
47
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
|
48
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
|
49
|
-
# a separate helper file that requires the additional dependencies and performs
|
|
50
|
-
# the additional setup, and require it from the spec files that actually need
|
|
51
|
-
# it.
|
|
52
|
-
#
|
|
53
|
-
# The `.rspec` file also contains a few flags that are not defaults but that
|
|
54
|
-
# users commonly want.
|
|
55
|
-
#
|
|
56
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
|
57
|
-
RSpec.configure do |config|
|
|
58
|
-
# rspec-expectations config goes here. You can use an alternate
|
|
59
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
|
60
|
-
# assertions if you prefer.
|
|
61
|
-
config.expect_with :rspec do |expectations|
|
|
62
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
|
63
|
-
# and `failure_message` of custom matchers include text for helper methods
|
|
64
|
-
# defined using `chain`, e.g.:
|
|
65
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
|
66
|
-
# # => "be bigger than 2 and smaller than 4"
|
|
67
|
-
# ...rather than:
|
|
68
|
-
# # => "be bigger than 2"
|
|
69
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
|
73
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
|
74
|
-
config.mock_with :rspec do |mocks|
|
|
75
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
|
76
|
-
# a real object. This is generally recommended, and will default to
|
|
77
|
-
# `true` in RSpec 4.
|
|
78
|
-
mocks.verify_partial_doubles = true
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
# The settings below are suggested to provide a good initial experience
|
|
82
|
-
# with RSpec, but feel free to customize to your heart's content.
|
|
83
|
-
=begin
|
|
84
|
-
# These two settings work together to allow you to limit a spec run
|
|
85
|
-
# to individual examples or groups you care about by tagging them with
|
|
86
|
-
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
|
87
|
-
# get run.
|
|
88
|
-
config.filter_run :focus
|
|
89
|
-
config.run_all_when_everything_filtered = true
|
|
90
|
-
|
|
91
|
-
# Allows RSpec to persist some state between runs in order to support
|
|
92
|
-
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
|
93
|
-
# you configure your source control system to ignore this file.
|
|
94
|
-
config.example_status_persistence_file_path = "spec/examples.txt"
|
|
95
|
-
|
|
96
|
-
# Limits the available syntax to the non-monkey patched syntax that is
|
|
97
|
-
# recommended. For more details, see:
|
|
98
|
-
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
|
99
|
-
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
|
100
|
-
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
|
101
|
-
config.disable_monkey_patching!
|
|
102
|
-
|
|
103
|
-
# This setting enables warnings. It's recommended, but in some cases may
|
|
104
|
-
# be too noisy due to issues in dependencies.
|
|
105
|
-
config.warnings = true
|
|
106
|
-
|
|
107
|
-
# Many RSpec users commonly either run the entire suite or an individual
|
|
108
|
-
# file, and it's useful to allow more verbose output when running an
|
|
109
|
-
# individual spec file.
|
|
110
|
-
if config.files_to_run.one?
|
|
111
|
-
# Use the documentation formatter for detailed output,
|
|
112
|
-
# unless a formatter has already been configured
|
|
113
|
-
# (e.g. via a command-line flag).
|
|
114
|
-
config.default_formatter = 'doc'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
# Print the 10 slowest examples and example groups at the
|
|
118
|
-
# end of the spec run, to help surface which specs are running
|
|
119
|
-
# particularly slow.
|
|
120
|
-
config.profile_examples = 10
|
|
121
|
-
|
|
122
|
-
# Run specs in random order to surface order dependencies. If you find an
|
|
123
|
-
# order dependency and want to debug it, you can fix the order by providing
|
|
124
|
-
# the seed, which is printed after each run.
|
|
125
|
-
# --seed 1234
|
|
126
|
-
config.order = :random
|
|
127
|
-
|
|
128
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
|
129
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
|
130
|
-
# test failures related to randomization by passing the same `--seed` value
|
|
131
|
-
# as the one that triggered the failure.
|
|
132
|
-
Kernel.srand config.seed
|
|
133
|
-
=end
|
|
134
|
-
end
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Makes the SDK available to every spec without requiring Bundler.
|
|
4
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
|
5
|
+
|
|
6
|
+
require 'aspose/cells/cloud'
|
|
7
|
+
|
|
8
|
+
RSpec.configure do |config|
|
|
9
|
+
config.expect_with :rspec do |expectations|
|
|
10
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
config.mock_with :rspec do |mocks|
|
|
14
|
+
mocks.verify_partial_doubles = true
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
|
18
|
+
config.disable_monkey_patching!
|
|
19
|
+
config.order = :random
|
|
20
|
+
Kernel.srand config.seed
|
|
21
|
+
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: '26.
|
|
4
|
+
version: '26.9'
|
|
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: 2026-
|
|
11
|
+
date: 2026-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -698,6 +698,7 @@ files:
|
|
|
698
698
|
- lib/aspose_cells_cloud/requests/add_worksheet_to_spreadsheet_request.rb
|
|
699
699
|
- lib/aspose_cells_cloud/requests/aggregate_cells_by_color_request.rb
|
|
700
700
|
- lib/aspose_cells_cloud/requests/calculation_formula_request.rb
|
|
701
|
+
- lib/aspose_cells_cloud/requests/categorize_spreadsheet_request.rb
|
|
701
702
|
- lib/aspose_cells_cloud/requests/check_cloud_service_health_request.rb
|
|
702
703
|
- lib/aspose_cells_cloud/requests/check_workbook_formula_errors_request.rb
|
|
703
704
|
- lib/aspose_cells_cloud/requests/check_wrokbook_external_reference_request.rb
|
|
@@ -1154,83 +1155,14 @@ files:
|
|
|
1154
1155
|
- lib/aspose_cells_cloud/requests/update_word_case_request.rb
|
|
1155
1156
|
- lib/aspose_cells_cloud/requests/upload_file_request.rb
|
|
1156
1157
|
- lib/aspose_cells_cloud/version.rb
|
|
1157
|
-
- spec/
|
|
1158
|
-
- spec/
|
|
1159
|
-
- spec/
|
|
1160
|
-
- spec/
|
|
1161
|
-
- spec/
|
|
1162
|
-
- spec/
|
|
1163
|
-
- spec/
|
|
1164
|
-
- spec/TestData/CompanySales.xlsx
|
|
1165
|
-
- spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx
|
|
1166
|
-
- spec/TestData/EmployeeSalesSummary.xlsx
|
|
1167
|
-
- spec/TestData/EmployeeSalesSummary_Locked.xlsx
|
|
1168
|
-
- spec/TestData/Formula tutorial.xlsx
|
|
1169
|
-
- spec/TestData/Group.xlsx
|
|
1170
|
-
- spec/TestData/Home inventory.xlsx
|
|
1171
|
-
- spec/TestData/LockedEmployeeSalesSummary.xlsx
|
|
1172
|
-
- spec/TestData/OLEDoc.docx
|
|
1173
|
-
- spec/TestData/ReportData.xml
|
|
1174
|
-
- spec/TestData/Simple invoice.xlsx
|
|
1175
|
-
- spec/TestData/Template.xlsx
|
|
1176
|
-
- spec/TestData/TestCase.xlsx
|
|
1177
|
-
- spec/TestData/TestTables.xlsx
|
|
1178
|
-
- spec/TestData/WaterMark.png
|
|
1179
|
-
- spec/TestData/assemblytest.xlsx
|
|
1180
|
-
- spec/TestData/data.xml
|
|
1181
|
-
- spec/TestData/datasource.xlsx
|
|
1182
|
-
- spec/TestData/myDocument.xlsx
|
|
1183
|
-
- spec/TestData/needUnlock.xlsx
|
|
1184
|
-
- spec/TestData/needlock.xlsx
|
|
1185
|
-
- spec/TestData/roywang.pfx
|
|
1186
|
-
- spec/TestData/word.jpg
|
|
1187
|
-
- spec/calculate/calculate_spec.rb
|
|
1188
|
-
- spec/cells_cloud30/auto_filter_controller_spec.rb
|
|
1189
|
-
- spec/cells_cloud30/batch_controller_spec.rb
|
|
1190
|
-
- spec/cells_cloud30/cells_controller_spec.rb
|
|
1191
|
-
- spec/cells_cloud30/cells_status_controller_spec.rb
|
|
1192
|
-
- spec/cells_cloud30/chart_area_controller_spec.rb
|
|
1193
|
-
- spec/cells_cloud30/charts_controller_spec.rb
|
|
1194
|
-
- spec/cells_cloud30/conditional_formattings_controller_spec.rb
|
|
1195
|
-
- spec/cells_cloud30/conversion30_spec.rb
|
|
1196
|
-
- spec/cells_cloud30/data_processing_controller_spec.rb
|
|
1197
|
-
- spec/cells_cloud30/hypelinks_controller_spec.rb
|
|
1198
|
-
- spec/cells_cloud30/light_cells_spec.rb
|
|
1199
|
-
- spec/cells_cloud30/list_objects_controller_spec.rb
|
|
1200
|
-
- spec/cells_cloud30/ole_objects_controller_spec.rb
|
|
1201
|
-
- spec/cells_cloud30/page_breaks_controller_spec.rb
|
|
1202
|
-
- spec/cells_cloud30/page_setup_controller_spec.rb
|
|
1203
|
-
- spec/cells_cloud30/pictures_controller_spec.rb
|
|
1204
|
-
- spec/cells_cloud30/pivot_tables_controller_spec.rb
|
|
1205
|
-
- spec/cells_cloud30/properties_controller_spec.rb
|
|
1206
|
-
- spec/cells_cloud30/ranges_controller_spec.rb
|
|
1207
|
-
- spec/cells_cloud30/shapes_controller_spec.rb
|
|
1208
|
-
- spec/cells_cloud30/sparkline_groups_controller_spec.rb
|
|
1209
|
-
- spec/cells_cloud30/text_processing_controller_spec.rb
|
|
1210
|
-
- spec/cells_cloud30/workbook_controller_spec.rb
|
|
1211
|
-
- spec/cells_cloud30/worksheet_controller_spec.rb
|
|
1212
|
-
- spec/cells_cloud30/worksheet_validations_controller_spec.rb
|
|
1213
|
-
- spec/cells_cloud30/xml_controller_spec.rb
|
|
1214
|
-
- spec/data_processing/conversion_spec.rb
|
|
1215
|
-
- spec/data_processing/import_data_spec.rb
|
|
1216
|
-
- spec/data_processing/merger_spec.rb
|
|
1217
|
-
- spec/data_processing/protection_spec.rb
|
|
1218
|
-
- spec/data_processing/splitter_spec.rb
|
|
1219
|
-
- spec/data_processing/transform_spec.rb
|
|
1220
|
-
- spec/dynabic/file_controller_spec.rb
|
|
1221
|
-
- spec/dynabic/folder_controller_spec.rb
|
|
1222
|
-
- spec/dynabic/storage_controller_spec.rb
|
|
1223
|
-
- spec/management/management_spec.rb
|
|
1224
|
-
- spec/search2_replace/replacer_spec.rb
|
|
1225
|
-
- spec/search2_replace/searcher_spec.rb
|
|
1158
|
+
- spec/client_spec.rb
|
|
1159
|
+
- spec/configuration_spec.rb
|
|
1160
|
+
- spec/form_file_spec.rb
|
|
1161
|
+
- spec/model_spec.rb
|
|
1162
|
+
- spec/request_spec.rb
|
|
1163
|
+
- spec/rich_response_spec.rb
|
|
1164
|
+
- spec/sdk_error_spec.rb
|
|
1226
1165
|
- spec/spec_helper.rb
|
|
1227
|
-
- spec/text_processing/add_text_spec.rb
|
|
1228
|
-
- spec/text_processing/convert_text_spec.rb
|
|
1229
|
-
- spec/text_processing/extract_text_spec.rb
|
|
1230
|
-
- spec/text_processing/remove_characters_spec.rb
|
|
1231
|
-
- spec/text_processing/split_text_spec.rb
|
|
1232
|
-
- spec/text_processing/trim_spreadsheet_spec.rb
|
|
1233
|
-
- spec/text_processing/update_word_case_spec.rb
|
|
1234
1166
|
homepage: https://products.aspose.cloud/cells/ruby
|
|
1235
1167
|
licenses:
|
|
1236
1168
|
- MIT
|
|
Binary file
|
data/spec/TestData/Book1.xlsx
DELETED
|
Binary file
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
1,1,1,1,1,1,1
|
|
2
|
-
2,2,2,2,2,2,2
|
|
3
|
-
3,3,3,3,3,3,3
|
|
4
|
-
4,4,4,4,4,4,4
|
|
5
|
-
5,5,5,5,5,5,5
|
|
6
|
-
6,6,6,6,6,6,6
|
|
7
|
-
7,7,7,7,7,7,7
|
|
8
|
-
8,8,8,8,8,8,8
|
|
9
|
-
1,1,1,1,1,1,1
|
|
10
|
-
10,10,10,10,,10,10
|
|
11
|
-
11,11,,11,11,11,11
|
|
12
|
-
12,12,12,12,12,12,12
|
|
13
|
-
13,13,,13,13,13,13
|
|
14
|
-
14,14,14,14,14,14,14
|
|
15
|
-
15,15,15,15,15,15,15
|
|
16
|
-
16,16,16,16,16,16,16
|
|
17
|
-
17,17,17,17,17,17,17
|
|
18
|
-
18,18,18,18,18,18,18
|
|
19
|
-
19,19,19,19,19,19,19
|
|
20
|
-
1,1,1,1,1,1,1
|
|
21
|
-
7,7,7,7,7,7,7
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/spec/TestData/BookText.xlsx
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/spec/TestData/Group.xlsx
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/spec/TestData/OLEDoc.docx
DELETED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<ReportData><Person><Name>a</Name><Age>1</Age></Person><Person><Name>b</Name><Age>2</Age></Person></ReportData>
|
|
Binary file
|
data/spec/TestData/Template.xlsx
DELETED
|
Binary file
|
data/spec/TestData/TestCase.xlsx
DELETED
|
Binary file
|
|
Binary file
|
data/spec/TestData/WaterMark.png
DELETED
|
Binary file
|
|
Binary file
|
data/spec/TestData/data.xml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<ImportBatchDataOption><DestinationWorksheet>Master Sheet</DestinationWorksheet><IsInsert>false</IsInsert><BatchData><CellValue><rowIndex>0</rowIndex><columnIndex>1</columnIndex><type>string</type><value>Abengoa Solar - TEST</value></CellValue><CellValue><rowIndex>1</rowIndex><columnIndex>1</columnIndex><type>string</type><value>ISO 9001:2008</value></CellValue><CellValue><rowIndex>2</rowIndex><columnIndex>1</columnIndex><type>string</type><value>7.3, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.5.2, 7.5.4, 7.5.5, 7.6</value></CellValue><CellValue><rowIndex>3</rowIndex><columnIndex>1</columnIndex><type>string</type><value>03-Feb-2016</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>3</columnIndex><type>string</type><value>Business Strategy & Marketing</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>4</columnIndex><type>string</type><value>Continuous Improvement, Corrective & Preventive Action</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>5</columnIndex><type>string</type><value>Customer Satisfaction and Objectives</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>6</columnIndex><type>string</type><value>Design</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>7</columnIndex><type>string</type><value>Document & Records Control</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>8</columnIndex><type>string</type><value>Exclusions</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>9</columnIndex><type>string</type><value>Exclusions - AZ</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>10</columnIndex><type>string</type><value>Exclusions - OAK</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>11</columnIndex><type>string</type><value>Exclusions - Victorville</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>12</columnIndex><type>string</type><value>Internal Auditing</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>13</columnIndex><type>string</type><value>Manaement Review</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>14</columnIndex><type>string</type><value>Management</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>15</columnIndex><type>string</type><value>Platinum Contractual/Surveillance</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>16</columnIndex><type>string</type><value>Project Delivery</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>17</columnIndex><type>string</type><value>Project Management</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>18</columnIndex><type>string</type><value>Purchasing</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>19</columnIndex><type>string</type><value>Receiving</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>20</columnIndex><type>string</type><value>Sales & contract review</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>21</columnIndex><type>string</type><value>Training</value></CellValue><CellValue><rowIndex>5</rowIndex><columnIndex>0</columnIndex><type>string</type><value>14-Feb-2011</value></CellValue><CellValue><rowIndex>5</rowIndex><columnIndex>1</columnIndex><type>string</type><value>IA</value></CellValue><CellValue><rowIndex>5</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>0</columnIndex><type>string</type><value>12-Jan-2012</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>4</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>5</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>6</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>7</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>8</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>0</columnIndex><type>string</type><value>01-Oct-2013</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>3</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>10</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>11</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>12</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>14</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>15</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>16</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>17</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>18</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>19</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>20</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>21</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>8</rowIndex><columnIndex>0</columnIndex><type>string</type><value>30-Jan-2014</value></CellValue><CellValue><rowIndex>8</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>8</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>9</rowIndex><columnIndex>0</columnIndex><type>string</type><value>15-Apr-2014</value></CellValue><CellValue><rowIndex>9</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>9</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>10</rowIndex><columnIndex>0</columnIndex><type>string</type><value>09-Jun-2014</value></CellValue><CellValue><rowIndex>10</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>10</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>11</rowIndex><columnIndex>0</columnIndex><type>string</type><value>25-Jun-2014</value></CellValue><CellValue><rowIndex>11</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>11</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>12</rowIndex><columnIndex>0</columnIndex><type>string</type><value>17-Sep-2014</value></CellValue><CellValue><rowIndex>12</rowIndex><columnIndex>1</columnIndex><type>string</type><value>IA</value></CellValue><CellValue><rowIndex>12</rowIndex><columnIndex>2</columnIndex><type>string</type><value>3.00</value></CellValue><CellValue><rowIndex>13</rowIndex><columnIndex>0</columnIndex><type>string</type><value>01-Oct-2014</value></CellValue><CellValue><rowIndex>13</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>13</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>0</columnIndex><type>string</type><value>14-Oct-2014</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>1</columnIndex><type>string</type><value>IA</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>2</columnIndex><type>string</type><value>3.00</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>15</rowIndex><columnIndex>0</columnIndex><type>string</type><value>15-Oct-2014</value></CellValue><CellValue><rowIndex>15</rowIndex><columnIndex>1</columnIndex><type>string</type><value>SP</value></CellValue><CellValue><rowIndex>15</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>0</columnIndex><type>string</type><value>01-Dec-2014</value></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>0</columnIndex><type>string</type><value>03-Feb-2015</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>0</columnIndex><type>string</type><value>19-Feb-2015</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>19</rowIndex><columnIndex>0</columnIndex><type>string</type><value>12-Mar-2015</value></CellValue><CellValue><rowIndex>19</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>19</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>20</rowIndex><columnIndex>0</columnIndex><type>string</type><value>09-Jun-2015</value></CellValue><CellValue><rowIndex>20</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>20</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>22</rowIndex><columnIndex>0</columnIndex><type>string</type><value>Surveillance/Contract Requirement</value></CellValue><CellValue><rowIndex>23</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4 Quality management system</value></CellValue><CellValue><rowIndex>24</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.1 General requirements</value></CellValue><CellValue><rowIndex>25</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2 Documentation requirements</value></CellValue><CellValue><rowIndex>26</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.1 General</value></CellValue><CellValue><rowIndex>27</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.2 Quality manual</value></CellValue><CellValue><rowIndex>28</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.3 Control of documents</value></CellValue><CellValue><rowIndex>29</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.4 Control of quality records</value></CellValue><CellValue><rowIndex>30</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5 Management responsibility</value></CellValue><CellValue><rowIndex>31</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.1 Management commitment</value></CellValue><CellValue><rowIndex>32</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.2 Customer focus</value></CellValue><CellValue><rowIndex>33</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.3 Quality policy</value></CellValue><CellValue><rowIndex>34</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.4 Planning</value></CellValue><CellValue><rowIndex>35</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.4.1 Quality objectives</value></CellValue><CellValue><rowIndex>35</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>35</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>36</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.4.2 Quality management system planning</value></CellValue><CellValue><rowIndex>37</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5 Responsibility, authority and communication</value></CellValue><CellValue><rowIndex>38</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5.1 Responsibility and authority</value></CellValue><CellValue><rowIndex>39</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5.2 Management representative</value></CellValue><CellValue><rowIndex>40</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5.3 Internal communication</value></CellValue><CellValue><rowIndex>41</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6 Management review</value></CellValue><CellValue><rowIndex>41</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>42</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6.1 General</value></CellValue><CellValue><rowIndex>42</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>42</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>43</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6.2 Review input</value></CellValue><CellValue><rowIndex>43</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>43</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>44</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6.3 Review output</value></CellValue><CellValue><rowIndex>44</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>44</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>45</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6 Resource management</value></CellValue><CellValue><rowIndex>46</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.1 Provision of resources</value></CellValue><CellValue><rowIndex>47</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.2 Human resources</value></CellValue><CellValue><rowIndex>48</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.2.1 General</value></CellValue><CellValue><rowIndex>49</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.2.2 Competence, training and awareness</value></CellValue><CellValue><rowIndex>50</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.3 Infrastructure</value></CellValue><CellValue><rowIndex>51</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.4 Work environment</value></CellValue><CellValue><rowIndex>52</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7 Product realization</value></CellValue><CellValue><rowIndex>53</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.1 Planning of product realization</value></CellValue><CellValue><rowIndex>54</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2 Customer-related processes</value></CellValue><CellValue><rowIndex>55</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2.1 Determination of requirements related to the product</value></CellValue><CellValue><rowIndex>56</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2.2 Review of requirements related to the product</value></CellValue><CellValue><rowIndex>57</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2.3 Customer communication</value></CellValue><CellValue><rowIndex>58</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3 Design and development</value></CellValue><CellValue><rowIndex>59</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.1 Design and development planning</value></CellValue><CellValue><rowIndex>60</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.2 Design and development inputs</value></CellValue><CellValue><rowIndex>61</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.3 Design and development outputs</value></CellValue><CellValue><rowIndex>62</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.4 Design and development review</value></CellValue><CellValue><rowIndex>63</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.5 Design and development verification</value></CellValue><CellValue><rowIndex>64</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.6 Design and development validation</value></CellValue><CellValue><rowIndex>65</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.7 Control of design and development changes</value></CellValue><CellValue><rowIndex>66</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4 Purchasing</value></CellValue><CellValue><rowIndex>67</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4.1 Purchasing processes</value></CellValue><CellValue><rowIndex>68</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4.2 Purchasing information</value></CellValue><CellValue><rowIndex>69</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4.3 Verification of purchased product</value></CellValue><CellValue><rowIndex>70</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5 Production and service provision</value></CellValue><CellValue><rowIndex>71</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.1 Control of production and service provision</value></CellValue><CellValue><rowIndex>71</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>72</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.2 Validation of processes for production and service provision</value></CellValue><CellValue><rowIndex>73</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.3 Identification and traceability</value></CellValue><CellValue><rowIndex>74</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.4 Customer property</value></CellValue><CellValue><rowIndex>75</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.5 Preservation of product</value></CellValue><CellValue><rowIndex>76</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.6 Control of monitoring and measuring equipment</value></CellValue><CellValue><rowIndex>77</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8 Measurement, analysis and improvement</value></CellValue><CellValue><rowIndex>78</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.1 General</value></CellValue><CellValue><rowIndex>79</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2 Measurement and monitoring</value></CellValue><CellValue><rowIndex>80</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.1 Customer satisfaction</value></CellValue><CellValue><rowIndex>80</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>81</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.2 Internal audit</value></CellValue><CellValue><rowIndex>81</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>82</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.3 Monitoring and measurement of processes</value></CellValue><CellValue><rowIndex>83</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.4 Monitoring and measurement of product</value></CellValue><CellValue><rowIndex>84</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.3 Control of nonconforming product</value></CellValue><CellValue><rowIndex>85</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.4 Analysis of data</value></CellValue><CellValue><rowIndex>85</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>86</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.5.1 Continual improvement</value></CellValue><CellValue><rowIndex>86</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>87</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.5.2 Corrective action</value></CellValue><CellValue><rowIndex>87</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>88</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.5.3 Preventive action</value></CellValue></BatchData></ImportBatchDataOption>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/spec/TestData/needlock.xlsx
DELETED
|
Binary file
|
data/spec/TestData/roywang.pfx
DELETED
|
Binary file
|
data/spec/TestData/word.jpg
DELETED
|
Binary file
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
require 'spec_helper'
|
|
2
|
-
require 'json'
|
|
3
|
-
|
|
4
|
-
describe 'CellsApi' do
|
|
5
|
-
before do
|
|
6
|
-
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
|
|
7
|
-
$VERBOSE = nil
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
after do
|
|
11
|
-
# run after each test
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
describe 'aggregate_cells_by_color test' do
|
|
15
|
-
it "should work" do
|
|
16
|
-
|
|
17
|
-
request = AsposeCellsCloud::AggregateCellsByColorRequest.new(:Spreadsheet=>'TestData/AggregateCellsByColor.xlsx',:worksheet=>'Sheet1');
|
|
18
|
-
@instance.aggregate_cells_by_color(request);
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
describe 'math_calculate test' do
|
|
23
|
-
it "should work" do
|
|
24
|
-
|
|
25
|
-
request = AsposeCellsCloud::MathCalculateRequest.new(:Spreadsheet=>'TestData/EmployeeSalesSummary-BlankWorksheet.xlsx',:operation=>'add',:value=>'12.3');
|
|
26
|
-
@instance.math_calculate(request);
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|