aspose_slides_cloud 22.1.0 → 22.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +16 -0
- data/README.md +14 -3
- data/TestData/test.pptx +0 -0
- data/aspose_slides_cloud.gemspec +3 -1
- data/docker-entrypoint.sh +7 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +946 -654
- data/lib/aspose_slides_cloud/api_client.rb +11 -0
- data/lib/aspose_slides_cloud/models/accent_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/add_layout_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/add_master_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/add_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/add_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/api_info.rb +4 -0
- data/lib/aspose_slides_cloud/models/arc_to_path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/array_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/audio_frame.rb +4 -0
- data/lib/aspose_slides_cloud/models/axes.rb +4 -0
- data/lib/aspose_slides_cloud/models/axis.rb +10 -6
- data/lib/aspose_slides_cloud/models/bar_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/base64_input_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/block_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/blur_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/border_box_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +6 -5
- data/lib/aspose_slides_cloud/models/box_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +4 -0
- data/lib/aspose_slides_cloud/models/bubble_series.rb +19 -7
- data/lib/aspose_slides_cloud/models/camera.rb +4 -0
- data/lib/aspose_slides_cloud/models/chart.rb +4 -0
- data/lib/aspose_slides_cloud/models/chart_category.rb +4 -0
- data/lib/aspose_slides_cloud/models/chart_title.rb +4 -0
- data/lib/aspose_slides_cloud/models/chart_wall.rb +4 -0
- data/lib/aspose_slides_cloud/models/close_path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/color_scheme.rb +4 -0
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/connector.rb +4 -0
- data/lib/aspose_slides_cloud/models/cubic_bezier_to_path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +4 -0
- data/lib/aspose_slides_cloud/models/data_point.rb +4 -0
- data/lib/aspose_slides_cloud/models/delimiter_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/disc_usage.rb +4 -0
- data/lib/aspose_slides_cloud/models/document.rb +4 -0
- data/lib/aspose_slides_cloud/models/document_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/document_property.rb +4 -0
- data/lib/aspose_slides_cloud/models/document_replace_result.rb +4 -0
- data/lib/aspose_slides_cloud/models/effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/effect_format.rb +4 -0
- data/lib/aspose_slides_cloud/models/entity_exists.rb +4 -0
- data/lib/aspose_slides_cloud/models/error.rb +4 -0
- data/lib/aspose_slides_cloud/models/error_details.rb +4 -0
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/file_version.rb +4 -0
- data/lib/aspose_slides_cloud/models/file_versions.rb +4 -0
- data/lib/aspose_slides_cloud/models/files_list.rb +4 -0
- data/lib/aspose_slides_cloud/models/files_upload_result.rb +4 -0
- data/lib/aspose_slides_cloud/models/fill_format.rb +4 -0
- data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/font_scheme.rb +4 -0
- data/lib/aspose_slides_cloud/models/font_set.rb +4 -0
- data/lib/aspose_slides_cloud/models/format_scheme.rb +4 -0
- data/lib/aspose_slides_cloud/models/fraction_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/function_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/geometry_path.rb +4 -0
- data/lib/aspose_slides_cloud/models/geometry_paths.rb +4 -0
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/glow_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +4 -0
- data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +4 -0
- data/lib/aspose_slides_cloud/models/graphical_object.rb +4 -0
- data/lib/aspose_slides_cloud/models/group_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/grouping_character_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/header_footer.rb +4 -0
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/html_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/hyperlink.rb +4 -0
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/image.rb +4 -0
- data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/images.rb +4 -0
- data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/input.rb +4 -0
- data/lib/aspose_slides_cloud/models/input_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/interactive_sequence.rb +4 -0
- data/lib/aspose_slides_cloud/models/layout_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/layout_slides.rb +4 -0
- data/lib/aspose_slides_cloud/models/left_sub_superscript_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/legend.rb +4 -0
- data/lib/aspose_slides_cloud/models/light_rig.rb +4 -0
- data/lib/aspose_slides_cloud/models/limit_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/line_format.rb +4 -0
- data/lib/aspose_slides_cloud/models/line_to_path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/master_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/master_slides.rb +4 -0
- data/lib/aspose_slides_cloud/models/math_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/math_paragraph.rb +4 -0
- data/lib/aspose_slides_cloud/models/matrix_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/merge.rb +4 -0
- data/lib/aspose_slides_cloud/models/merging_source.rb +4 -0
- data/lib/aspose_slides_cloud/models/move_to_path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/nary_operator_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/no_fill.rb +4 -0
- data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/notes_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/notes_slide_header_footer.rb +4 -0
- data/lib/aspose_slides_cloud/models/object_exist.rb +4 -0
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +4 -0
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +4 -0
- data/lib/aspose_slides_cloud/models/one_value_series.rb +16 -6
- data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +4 -0
- data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/output_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/paragraph.rb +4 -0
- data/lib/aspose_slides_cloud/models/paragraphs.rb +4 -0
- data/lib/aspose_slides_cloud/models/path_input_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/path_output_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/pattern_fill.rb +4 -0
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/picture_fill.rb +4 -0
- data/lib/aspose_slides_cloud/models/picture_frame.rb +4 -0
- data/lib/aspose_slides_cloud/models/pipeline.rb +4 -0
- data/lib/aspose_slides_cloud/models/placeholder.rb +4 -0
- data/lib/aspose_slides_cloud/models/placeholders.rb +4 -0
- data/lib/aspose_slides_cloud/models/plot_area.rb +4 -0
- data/lib/aspose_slides_cloud/models/portion.rb +4 -0
- data/lib/aspose_slides_cloud/models/portions.rb +4 -0
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +4 -0
- data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +4 -0
- data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/protection_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/quadratic_bezier_to_path_segment.rb +4 -0
- data/lib/aspose_slides_cloud/models/radical_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/reflection_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/remove_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/remove_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/reorder_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/replace_text.rb +4 -0
- data/lib/aspose_slides_cloud/models/request_input_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/reset_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/resource_base.rb +4 -0
- data/lib/aspose_slides_cloud/models/resource_uri.rb +4 -0
- data/lib/aspose_slides_cloud/models/response_output_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/right_sub_superscript_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/save.rb +6 -2
- data/lib/aspose_slides_cloud/models/save_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/save_slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +4 -0
- data/lib/aspose_slides_cloud/models/scatter_series.rb +8 -6
- data/lib/aspose_slides_cloud/models/section.rb +4 -0
- data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +256 -0
- data/lib/aspose_slides_cloud/models/sections.rb +4 -0
- data/lib/aspose_slides_cloud/models/series.rb +5 -41
- data/lib/aspose_slides_cloud/models/series_marker.rb +4 -0
- data/lib/aspose_slides_cloud/models/shape.rb +16 -2
- data/lib/aspose_slides_cloud/models/shape_base.rb +6 -2
- data/lib/aspose_slides_cloud/models/shape_bevel.rb +4 -0
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/shapes.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide_animation.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide_background.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide_comment.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide_comments.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/slide_replace_result.rb +4 -0
- data/lib/aspose_slides_cloud/models/slides.rb +4 -0
- data/lib/aspose_slides_cloud/models/smart_art.rb +4 -0
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +4 -0
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +4 -0
- data/lib/aspose_slides_cloud/models/solid_fill.rb +4 -0
- data/lib/aspose_slides_cloud/models/split_document_result.rb +4 -0
- data/lib/aspose_slides_cloud/models/storage_exist.rb +4 -0
- data/lib/aspose_slides_cloud/models/storage_file.rb +4 -0
- data/lib/aspose_slides_cloud/models/subscript_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +275 -0
- data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +267 -0
- data/lib/aspose_slides_cloud/models/superscript_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/table.rb +4 -0
- data/lib/aspose_slides_cloud/models/table_cell.rb +4 -0
- data/lib/aspose_slides_cloud/models/table_column.rb +4 -0
- data/lib/aspose_slides_cloud/models/table_row.rb +4 -0
- data/lib/aspose_slides_cloud/models/task.rb +4 -0
- data/lib/aspose_slides_cloud/models/text_element.rb +4 -0
- data/lib/aspose_slides_cloud/models/text_frame_format.rb +255 -0
- data/lib/aspose_slides_cloud/models/text_item.rb +4 -0
- data/lib/aspose_slides_cloud/models/text_items.rb +4 -0
- data/lib/aspose_slides_cloud/models/theme.rb +4 -0
- data/lib/aspose_slides_cloud/models/three_d_format.rb +4 -0
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/update_background.rb +4 -0
- data/lib/aspose_slides_cloud/models/update_shape.rb +4 -0
- data/lib/aspose_slides_cloud/models/video_export_options.rb +258 -0
- data/lib/aspose_slides_cloud/models/video_frame.rb +4 -0
- data/lib/aspose_slides_cloud/models/view_properties.rb +4 -0
- data/lib/aspose_slides_cloud/models/waterfall_chart_data_point.rb +4 -0
- data/lib/aspose_slides_cloud/models/waterfall_series.rb +6 -5
- data/lib/aspose_slides_cloud/models/xaml_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +4 -0
- data/lib/aspose_slides_cloud/models/xy_series.rb +255 -0
- data/lib/aspose_slides_cloud/models/zoom_frame.rb +256 -0
- data/lib/aspose_slides_cloud/models/zoom_object.rb +301 -0
- data/lib/aspose_slides_cloud/type_registry.rb +23 -5
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +10 -2
- data/spec/api/slides_api_spec.rb +822 -0
- data/spec/use_cases/abstract_class_spec.rb +38 -0
- data/spec/use_cases/animation_spec.rb +193 -0
- data/spec/use_cases/auth_spec.rb +91 -0
- data/spec/use_cases/chart_spec.rb +291 -0
- data/spec/use_cases/convert_spec.rb +154 -0
- data/spec/use_cases/create_spec.rb +101 -0
- data/spec/use_cases/header_footer_spec.rb +78 -0
- data/spec/use_cases/hyperlink_spec.rb +92 -0
- data/spec/use_cases/image_spec.rb +102 -0
- data/spec/use_cases/layout_slide_spec.rb +190 -0
- data/spec/use_cases/master_slide_spec.rb +190 -0
- data/spec/use_cases/math_spec.rb +163 -0
- data/spec/use_cases/merge_spec.rb +106 -0
- data/spec/use_cases/notes_slide_spec.rb +172 -0
- data/spec/use_cases/nullable_field_spec.rb +86 -0
- data/spec/use_cases/pipeline_spec.rb +61 -0
- data/spec/use_cases/property_spec.rb +177 -0
- data/spec/use_cases/section_spec.rb +104 -0
- data/spec/use_cases/shape_format_spec.rb +126 -0
- data/spec/use_cases/shape_spec.rb +399 -0
- data/spec/use_cases/split_spec.rb +88 -0
- data/spec/use_cases/text_spec.rb +74 -0
- data/spec/use_cases/timeout_spec.rb +44 -0
- data/spec/use_cases/watermark_spec.rb +158 -0
- data/testRules.json +3 -0
- metadata +105 -15
- data/TestData/ChartTest.pptx +0 -0
- data/TestData/Sections.pptx +0 -0
- data/TestData/placeholders.pptx +0 -0
- data/TestData/test-unprotected.ppt +0 -0
- data/TestData/test.ppt +0 -0
- data/spec/extra/extra_spec.rb +0 -203
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e883a826b9ad805e25ec620b64ddfe1374953723ce4b90f38628a0942c0b07d5
|
4
|
+
data.tar.gz: e5802f2a20ddbc53345befc1408b75850ec8dcb5f487d2b46222bb9ad3cea30d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2720026450b35f9a5ab9ad792a0bcc9216966f4849601b6589f7e57d7f1a68c6f86d0088a488a408b761f2213c0062e1ea8a92845406a11e2c16c5ef01d31d8a
|
7
|
+
data.tar.gz: 5faaf99eda00e312e3c5384ddcb41d9dd9b7bacd8fa5bc7134ebd9a0e6ea215d80730879702103e626589839718e4dfd071252e058883f682c166be5c10bb478
|
data/Dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
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/README.md
CHANGED
@@ -18,13 +18,24 @@ You may want to check out Aspose free [PPT to PDF](https://products.aspose.app/s
|
|
18
18
|
|
19
19
|
**Microsoft PowerPoint:** PPT, PPTX, PPS, PPSX, PPTM, PPSM, POTX, POTM
|
20
20
|
**OpenOffice:** ODP, OTP, FODP
|
21
|
+
**Other**: PDF, PDF/A
|
21
22
|
|
22
23
|
## Save Presentation As
|
23
24
|
|
24
|
-
**Fixed Layout:**
|
25
|
-
**Images:** JPEG, PNG, BMP, TIFF, SVG
|
25
|
+
**Fixed Layout:** XPS
|
26
|
+
**Images:** JPEG, PNG, BMP, TIFF, GIF, SVG
|
26
27
|
**Web:** HTML/HTML5
|
27
|
-
**Other:** SWF (export whole presentations)
|
28
|
+
**Other:** MPEG4, SWF (export whole presentations)
|
29
|
+
|
30
|
+
## Enhancements in Version 22.2
|
31
|
+
* Added **Mpeg4** to the list of allowed values for **ExportFormat** type. You can now convert presentations to video.
|
32
|
+
* New **HighlightShapeText** and **HighlightShapeRegex** methods.
|
33
|
+
* New **DeleteUnusedLayoutSlides** and **DeleteUnusedLayoutSlides** methods.
|
34
|
+
* New **ZoomFrame** and **ZoomObject** classes with a number of subclasses.
|
35
|
+
* Added **TextFrameFormat** property to **Shape** class to support WordArt.
|
36
|
+
* Added **XYSeries** class as a supercalss for **ScatterSeries** and **BubbleSeries** methods.
|
37
|
+
* Added **None** to the list of allowed values for **TimeUnitType** enum type.
|
38
|
+
* **Level** property of **Category** class is deprecated and will be removed after v22.4.
|
28
39
|
|
29
40
|
## Enhancements in Version 22.1
|
30
41
|
* New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
|
data/TestData/test.pptx
CHANGED
Binary file
|
data/aspose_slides_cloud.gemspec
CHANGED
@@ -34,19 +34,21 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.homepage = "https://github.com/aspose-slides-cloud/aspose-slides-cloud-ruby"
|
35
35
|
s.summary = "Aspose.Slides Cloud SDK"
|
36
36
|
s.description = "SDK for Aspose.Slides Cloud"
|
37
|
-
s.license = "MIT
|
37
|
+
s.license = "MIT"
|
38
38
|
s.required_ruby_version = ">= 1.9"
|
39
39
|
|
40
40
|
s.add_dependency 'faraday', '~> 0.17', '>= 0.17.3'
|
41
41
|
s.add_dependency 'json', '~> 2.1', '>= 2.1.0'
|
42
42
|
|
43
43
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
44
|
+
s.add_development_dependency 'rspec_junit_formatter', '~> 0.5', '>= 0.5.1'
|
44
45
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
45
46
|
s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
|
46
47
|
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
47
48
|
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
48
49
|
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
49
50
|
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
|
51
|
+
s.add_development_dependency 'rubyzip', '~> 2.3', '>= 2.3.0'
|
50
52
|
s.files = `git ls-files -z`.split("\x0").uniq.sort.select { |f| !f.empty? }
|
51
53
|
s.test_files = `git ls-files -z`.split("\x0").uniq.sort.select { |f| !f.empty? && f.start_with?("spec") }
|
52
54
|
s.executables = []
|
@@ -0,0 +1,7 @@
|
|
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
|