aspose_slides_cloud 22.3.0 → 22.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -7
- data/LICENSE +20 -20
- data/README.md +20 -0
- data/Rakefile +8 -8
- data/aspose_slides_cloud.gemspec +56 -56
- data/lib/aspose_slides_cloud/api_error.rb +48 -48
- data/lib/aspose_slides_cloud/configuration.rb +188 -188
- data/lib/aspose_slides_cloud/models/access_permissions.rb +321 -0
- data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -3
- data/lib/aspose_slides_cloud/models/chart.rb +1 -2
- data/lib/aspose_slides_cloud/models/connector.rb +1 -2
- data/lib/aspose_slides_cloud/models/export_options.rb +1 -21
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +1 -2
- data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -4
- data/lib/aspose_slides_cloud/models/graphical_object.rb +1 -2
- data/lib/aspose_slides_cloud/models/group_shape.rb +12 -3
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/html_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -4
- data/lib/aspose_slides_cloud/models/image_export_options_base.rb +222 -0
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +72 -3
- data/lib/aspose_slides_cloud/models/paragraph.rb +12 -2
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -16
- data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -2
- data/lib/aspose_slides_cloud/models/portion_format.rb +633 -0
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -2
- data/lib/aspose_slides_cloud/models/shape.rb +1 -2
- data/lib/aspose_slides_cloud/models/shape_base.rb +1 -11
- data/lib/aspose_slides_cloud/models/smart_art.rb +1 -2
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -2
- data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -2
- data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -2
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/table.rb +1 -2
- data/lib/aspose_slides_cloud/models/table_cell.rb +22 -2
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -4
- data/lib/aspose_slides_cloud/models/video_export_options.rb +34 -4
- data/lib/aspose_slides_cloud/models/video_frame.rb +1 -2
- data/lib/aspose_slides_cloud/models/xaml_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +1 -3
- data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -2
- data/lib/aspose_slides_cloud/models/zoom_object.rb +1 -2
- data/lib/aspose_slides_cloud/type_registry.rb +10 -6
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +6 -3
- data/spec/spec_helper.rb +122 -122
- metadata +5 -4
- data/Dockerfile +0 -16
- data/docker-entrypoint.sh +0 -7
data/spec/spec_helper.rb
CHANGED
@@ -1,122 +1,122 @@
|
|
1
|
-
=begin
|
2
|
-
Copyright (c) 2019 Aspose Pty Ltd
|
3
|
-
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be included in all
|
12
|
-
copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
20
|
-
SOFTWARE.
|
21
|
-
=end
|
22
|
-
|
23
|
-
# load the gem
|
24
|
-
require 'aspose_slides_cloud'
|
25
|
-
require 'spec_utils'
|
26
|
-
|
27
|
-
# The following was generated by the `rspec --init` command. Conventionally, all
|
28
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
29
|
-
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
30
|
-
# this file to always be loaded, without a need to explicitly require it in any
|
31
|
-
# files.
|
32
|
-
#
|
33
|
-
# Given that it is always loaded, you are encouraged to keep this file as
|
34
|
-
# light-weight as possible. Requiring heavyweight dependencies from this file
|
35
|
-
# will add to the boot time of your test suite on EVERY test run, even for an
|
36
|
-
# individual file that may not need all of that loaded. Instead, consider making
|
37
|
-
# a separate helper file that requires the additional dependencies and performs
|
38
|
-
# the additional setup, and require it from the spec files that actually need
|
39
|
-
# it.
|
40
|
-
#
|
41
|
-
# The `.rspec` file also contains a few flags that are not defaults but that
|
42
|
-
# users commonly want.
|
43
|
-
#
|
44
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
45
|
-
RSpec.configure do |config|
|
46
|
-
# rspec-expectations config goes here. You can use an alternate
|
47
|
-
# assertion/expectation library such as wrong or the stdlib/minitest
|
48
|
-
# assertions if you prefer.
|
49
|
-
config.expect_with :rspec do |expectations|
|
50
|
-
# This option will default to `true` in RSpec 4. It makes the `description`
|
51
|
-
# and `failure_message` of custom matchers include text for helper methods
|
52
|
-
# defined using `chain`, e.g.:
|
53
|
-
# be_bigger_than(2).and_smaller_than(4).description
|
54
|
-
# # => "be bigger than 2 and smaller than 4"
|
55
|
-
# ...rather than:
|
56
|
-
# # => "be bigger than 2"
|
57
|
-
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
58
|
-
end
|
59
|
-
|
60
|
-
# rspec-mocks config goes here. You can use an alternate test double
|
61
|
-
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
62
|
-
config.mock_with :rspec do |mocks|
|
63
|
-
# Prevents you from mocking or stubbing a method that does not exist on
|
64
|
-
# a real object. This is generally recommended, and will default to
|
65
|
-
# `true` in RSpec 4.
|
66
|
-
mocks.verify_partial_doubles = true
|
67
|
-
end
|
68
|
-
|
69
|
-
# The settings below are suggested to provide a good initial experience
|
70
|
-
# with RSpec, but feel free to customize to your heart's content.
|
71
|
-
=begin
|
72
|
-
# These two settings work together to allow you to limit a spec run
|
73
|
-
# to individual examples or groups you care about by tagging them with
|
74
|
-
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
75
|
-
# get run.
|
76
|
-
config.filter_run :focus
|
77
|
-
config.run_all_when_everything_filtered = true
|
78
|
-
|
79
|
-
# Allows RSpec to persist some state between runs in order to support
|
80
|
-
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
81
|
-
# you configure your source control system to ignore this file.
|
82
|
-
config.example_status_persistence_file_path = "spec/examples.txt"
|
83
|
-
|
84
|
-
# Limits the available syntax to the non-monkey patched syntax that is
|
85
|
-
# recommended. For more details, see:
|
86
|
-
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
87
|
-
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
88
|
-
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
89
|
-
config.disable_monkey_patching!
|
90
|
-
|
91
|
-
# This setting enables warnings. It's recommended, but in some cases may
|
92
|
-
# be too noisy due to issues in dependencies.
|
93
|
-
config.warnings = true
|
94
|
-
|
95
|
-
# Many RSpec users commonly either run the entire suite or an individual
|
96
|
-
# file, and it's useful to allow more verbose output when running an
|
97
|
-
# individual spec file.
|
98
|
-
if config.files_to_run.one?
|
99
|
-
# Use the documentation formatter for detailed output,
|
100
|
-
# unless a formatter has already been configured
|
101
|
-
# (e.g. via a command-line flag).
|
102
|
-
config.default_formatter = 'doc'
|
103
|
-
end
|
104
|
-
|
105
|
-
# Print the 10 slowest examples and example groups at the
|
106
|
-
# end of the spec run, to help surface which specs are running
|
107
|
-
# particularly slow.
|
108
|
-
config.profile_examples = 10
|
109
|
-
|
110
|
-
# Run specs in random order to surface order dependencies. If you find an
|
111
|
-
# order dependency and want to debug it, you can fix the order by providing
|
112
|
-
# the seed, which is printed after each run.
|
113
|
-
# --seed 1234
|
114
|
-
config.order = :random
|
115
|
-
|
116
|
-
# Seed global randomization in this process using the `--seed` CLI option.
|
117
|
-
# Setting this allows you to use `--seed` to deterministically reproduce
|
118
|
-
# test failures related to randomization by passing the same `--seed` value
|
119
|
-
# as the one that triggered the failure.
|
120
|
-
Kernel.srand config.seed
|
121
|
-
=end
|
122
|
-
end
|
1
|
+
=begin
|
2
|
+
Copyright (c) 2019 Aspose Pty Ltd
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
12
|
+
copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
20
|
+
SOFTWARE.
|
21
|
+
=end
|
22
|
+
|
23
|
+
# load the gem
|
24
|
+
require 'aspose_slides_cloud'
|
25
|
+
require 'spec_utils'
|
26
|
+
|
27
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
28
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
29
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
30
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
31
|
+
# files.
|
32
|
+
#
|
33
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
34
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
35
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
36
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
37
|
+
# a separate helper file that requires the additional dependencies and performs
|
38
|
+
# the additional setup, and require it from the spec files that actually need
|
39
|
+
# it.
|
40
|
+
#
|
41
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
42
|
+
# users commonly want.
|
43
|
+
#
|
44
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
45
|
+
RSpec.configure do |config|
|
46
|
+
# rspec-expectations config goes here. You can use an alternate
|
47
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
48
|
+
# assertions if you prefer.
|
49
|
+
config.expect_with :rspec do |expectations|
|
50
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
51
|
+
# and `failure_message` of custom matchers include text for helper methods
|
52
|
+
# defined using `chain`, e.g.:
|
53
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
54
|
+
# # => "be bigger than 2 and smaller than 4"
|
55
|
+
# ...rather than:
|
56
|
+
# # => "be bigger than 2"
|
57
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
58
|
+
end
|
59
|
+
|
60
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
61
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
62
|
+
config.mock_with :rspec do |mocks|
|
63
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
64
|
+
# a real object. This is generally recommended, and will default to
|
65
|
+
# `true` in RSpec 4.
|
66
|
+
mocks.verify_partial_doubles = true
|
67
|
+
end
|
68
|
+
|
69
|
+
# The settings below are suggested to provide a good initial experience
|
70
|
+
# with RSpec, but feel free to customize to your heart's content.
|
71
|
+
=begin
|
72
|
+
# These two settings work together to allow you to limit a spec run
|
73
|
+
# to individual examples or groups you care about by tagging them with
|
74
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
75
|
+
# get run.
|
76
|
+
config.filter_run :focus
|
77
|
+
config.run_all_when_everything_filtered = true
|
78
|
+
|
79
|
+
# Allows RSpec to persist some state between runs in order to support
|
80
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
81
|
+
# you configure your source control system to ignore this file.
|
82
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
83
|
+
|
84
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
85
|
+
# recommended. For more details, see:
|
86
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
87
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
88
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
89
|
+
config.disable_monkey_patching!
|
90
|
+
|
91
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
92
|
+
# be too noisy due to issues in dependencies.
|
93
|
+
config.warnings = true
|
94
|
+
|
95
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
96
|
+
# file, and it's useful to allow more verbose output when running an
|
97
|
+
# individual spec file.
|
98
|
+
if config.files_to_run.one?
|
99
|
+
# Use the documentation formatter for detailed output,
|
100
|
+
# unless a formatter has already been configured
|
101
|
+
# (e.g. via a command-line flag).
|
102
|
+
config.default_formatter = 'doc'
|
103
|
+
end
|
104
|
+
|
105
|
+
# Print the 10 slowest examples and example groups at the
|
106
|
+
# end of the spec run, to help surface which specs are running
|
107
|
+
# particularly slow.
|
108
|
+
config.profile_examples = 10
|
109
|
+
|
110
|
+
# Run specs in random order to surface order dependencies. If you find an
|
111
|
+
# order dependency and want to debug it, you can fix the order by providing
|
112
|
+
# the seed, which is printed after each run.
|
113
|
+
# --seed 1234
|
114
|
+
config.order = :random
|
115
|
+
|
116
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
117
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
118
|
+
# test failures related to randomization by passing the same `--seed` value
|
119
|
+
# as the one that triggered the failure.
|
120
|
+
Kernel.srand config.seed
|
121
|
+
=end
|
122
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_slides_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 22.
|
4
|
+
version: 22.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Putrov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -238,7 +238,6 @@ extensions: []
|
|
238
238
|
extra_rdoc_files: []
|
239
239
|
files:
|
240
240
|
- ".gitignore"
|
241
|
-
- Dockerfile
|
242
241
|
- Gemfile
|
243
242
|
- LICENSE
|
244
243
|
- README.md
|
@@ -250,13 +249,13 @@ files:
|
|
250
249
|
- TestData/test.pptx
|
251
250
|
- TestData/watermark.png
|
252
251
|
- aspose_slides_cloud.gemspec
|
253
|
-
- docker-entrypoint.sh
|
254
252
|
- lib/aspose_slides_cloud.rb
|
255
253
|
- lib/aspose_slides_cloud/api/slides_api.rb
|
256
254
|
- lib/aspose_slides_cloud/api_client.rb
|
257
255
|
- lib/aspose_slides_cloud/api_error.rb
|
258
256
|
- lib/aspose_slides_cloud/configuration.rb
|
259
257
|
- lib/aspose_slides_cloud/models/accent_element.rb
|
258
|
+
- lib/aspose_slides_cloud/models/access_permissions.rb
|
260
259
|
- lib/aspose_slides_cloud/models/add_layout_slide.rb
|
261
260
|
- lib/aspose_slides_cloud/models/add_master_slide.rb
|
262
261
|
- lib/aspose_slides_cloud/models/add_shape.rb
|
@@ -333,6 +332,7 @@ files:
|
|
333
332
|
- lib/aspose_slides_cloud/models/image.rb
|
334
333
|
- lib/aspose_slides_cloud/models/image_export_format.rb
|
335
334
|
- lib/aspose_slides_cloud/models/image_export_options.rb
|
335
|
+
- lib/aspose_slides_cloud/models/image_export_options_base.rb
|
336
336
|
- lib/aspose_slides_cloud/models/images.rb
|
337
337
|
- lib/aspose_slides_cloud/models/inner_shadow_effect.rb
|
338
338
|
- lib/aspose_slides_cloud/models/input.rb
|
@@ -381,6 +381,7 @@ files:
|
|
381
381
|
- lib/aspose_slides_cloud/models/placeholders.rb
|
382
382
|
- lib/aspose_slides_cloud/models/plot_area.rb
|
383
383
|
- lib/aspose_slides_cloud/models/portion.rb
|
384
|
+
- lib/aspose_slides_cloud/models/portion_format.rb
|
384
385
|
- lib/aspose_slides_cloud/models/portions.rb
|
385
386
|
- lib/aspose_slides_cloud/models/pptx_export_options.rb
|
386
387
|
- lib/aspose_slides_cloud/models/presentation_to_merge.rb
|
data/Dockerfile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
FROM ruby:3.0
|
2
|
-
|
3
|
-
ARG VERSION
|
4
|
-
|
5
|
-
COPY . sdk
|
6
|
-
|
7
|
-
WORKDIR /sdk
|
8
|
-
|
9
|
-
RUN gem build aspose_slides_cloud.gemspec
|
10
|
-
RUN cp *.gem build
|
11
|
-
|
12
|
-
RUN bundle install
|
13
|
-
|
14
|
-
RUN ["chmod", "+x", "./docker-entrypoint.sh"]
|
15
|
-
|
16
|
-
ENTRYPOINT ["./docker-entrypoint.sh"]
|
data/docker-entrypoint.sh
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
sed -i "s/@your_client_id@/${CLIENT_ID}/g" testConfig.json
|
4
|
-
sed -i "s/@your_client_secret@/${CLIENT_SECRET}/g" testConfig.json
|
5
|
-
if [ -n "$BASE_URL" ] ; then sed -i "s+https://api-qa.aspose.cloud+${BASE_URL}+g" testConfig.json ; fi
|
6
|
-
|
7
|
-
rspec spec --format RspecJunitFormatter --out testResults/rspec.xml
|