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.
Files changed (245) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +16 -0
  3. data/README.md +14 -3
  4. data/TestData/test.pptx +0 -0
  5. data/aspose_slides_cloud.gemspec +3 -1
  6. data/docker-entrypoint.sh +7 -0
  7. data/lib/aspose_slides_cloud/api/slides_api.rb +946 -654
  8. data/lib/aspose_slides_cloud/api_client.rb +11 -0
  9. data/lib/aspose_slides_cloud/models/accent_element.rb +4 -0
  10. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +4 -0
  11. data/lib/aspose_slides_cloud/models/add_master_slide.rb +4 -0
  12. data/lib/aspose_slides_cloud/models/add_shape.rb +4 -0
  13. data/lib/aspose_slides_cloud/models/add_slide.rb +4 -0
  14. data/lib/aspose_slides_cloud/models/api_info.rb +4 -0
  15. data/lib/aspose_slides_cloud/models/arc_to_path_segment.rb +4 -0
  16. data/lib/aspose_slides_cloud/models/array_element.rb +4 -0
  17. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +4 -0
  18. data/lib/aspose_slides_cloud/models/audio_frame.rb +4 -0
  19. data/lib/aspose_slides_cloud/models/axes.rb +4 -0
  20. data/lib/aspose_slides_cloud/models/axis.rb +10 -6
  21. data/lib/aspose_slides_cloud/models/bar_element.rb +4 -0
  22. data/lib/aspose_slides_cloud/models/base64_input_file.rb +4 -0
  23. data/lib/aspose_slides_cloud/models/block_element.rb +4 -0
  24. data/lib/aspose_slides_cloud/models/blur_effect.rb +4 -0
  25. data/lib/aspose_slides_cloud/models/border_box_element.rb +4 -0
  26. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +6 -5
  27. data/lib/aspose_slides_cloud/models/box_element.rb +4 -0
  28. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +4 -0
  29. data/lib/aspose_slides_cloud/models/bubble_series.rb +19 -7
  30. data/lib/aspose_slides_cloud/models/camera.rb +4 -0
  31. data/lib/aspose_slides_cloud/models/chart.rb +4 -0
  32. data/lib/aspose_slides_cloud/models/chart_category.rb +4 -0
  33. data/lib/aspose_slides_cloud/models/chart_title.rb +4 -0
  34. data/lib/aspose_slides_cloud/models/chart_wall.rb +4 -0
  35. data/lib/aspose_slides_cloud/models/close_path_segment.rb +4 -0
  36. data/lib/aspose_slides_cloud/models/color_scheme.rb +4 -0
  37. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +4 -0
  38. data/lib/aspose_slides_cloud/models/connector.rb +4 -0
  39. data/lib/aspose_slides_cloud/models/cubic_bezier_to_path_segment.rb +4 -0
  40. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +4 -0
  41. data/lib/aspose_slides_cloud/models/data_point.rb +4 -0
  42. data/lib/aspose_slides_cloud/models/delimiter_element.rb +4 -0
  43. data/lib/aspose_slides_cloud/models/disc_usage.rb +4 -0
  44. data/lib/aspose_slides_cloud/models/document.rb +4 -0
  45. data/lib/aspose_slides_cloud/models/document_properties.rb +4 -0
  46. data/lib/aspose_slides_cloud/models/document_property.rb +4 -0
  47. data/lib/aspose_slides_cloud/models/document_replace_result.rb +4 -0
  48. data/lib/aspose_slides_cloud/models/effect.rb +4 -0
  49. data/lib/aspose_slides_cloud/models/effect_format.rb +4 -0
  50. data/lib/aspose_slides_cloud/models/entity_exists.rb +4 -0
  51. data/lib/aspose_slides_cloud/models/error.rb +4 -0
  52. data/lib/aspose_slides_cloud/models/error_details.rb +4 -0
  53. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  54. data/lib/aspose_slides_cloud/models/export_options.rb +4 -0
  55. data/lib/aspose_slides_cloud/models/file_version.rb +4 -0
  56. data/lib/aspose_slides_cloud/models/file_versions.rb +4 -0
  57. data/lib/aspose_slides_cloud/models/files_list.rb +4 -0
  58. data/lib/aspose_slides_cloud/models/files_upload_result.rb +4 -0
  59. data/lib/aspose_slides_cloud/models/fill_format.rb +4 -0
  60. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +4 -0
  61. data/lib/aspose_slides_cloud/models/font_scheme.rb +4 -0
  62. data/lib/aspose_slides_cloud/models/font_set.rb +4 -0
  63. data/lib/aspose_slides_cloud/models/format_scheme.rb +4 -0
  64. data/lib/aspose_slides_cloud/models/fraction_element.rb +4 -0
  65. data/lib/aspose_slides_cloud/models/function_element.rb +4 -0
  66. data/lib/aspose_slides_cloud/models/geometry_path.rb +4 -0
  67. data/lib/aspose_slides_cloud/models/geometry_paths.rb +4 -0
  68. data/lib/aspose_slides_cloud/models/geometry_shape.rb +4 -0
  69. data/lib/aspose_slides_cloud/models/gif_export_options.rb +4 -0
  70. data/lib/aspose_slides_cloud/models/glow_effect.rb +4 -0
  71. data/lib/aspose_slides_cloud/models/gradient_fill.rb +4 -0
  72. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +4 -0
  73. data/lib/aspose_slides_cloud/models/graphical_object.rb +4 -0
  74. data/lib/aspose_slides_cloud/models/group_shape.rb +4 -0
  75. data/lib/aspose_slides_cloud/models/grouping_character_element.rb +4 -0
  76. data/lib/aspose_slides_cloud/models/header_footer.rb +4 -0
  77. data/lib/aspose_slides_cloud/models/html5_export_options.rb +4 -0
  78. data/lib/aspose_slides_cloud/models/html_export_options.rb +4 -0
  79. data/lib/aspose_slides_cloud/models/hyperlink.rb +4 -0
  80. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +4 -0
  81. data/lib/aspose_slides_cloud/models/image.rb +4 -0
  82. data/lib/aspose_slides_cloud/models/image_export_options.rb +4 -0
  83. data/lib/aspose_slides_cloud/models/images.rb +4 -0
  84. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +4 -0
  85. data/lib/aspose_slides_cloud/models/input.rb +4 -0
  86. data/lib/aspose_slides_cloud/models/input_file.rb +4 -0
  87. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +4 -0
  88. data/lib/aspose_slides_cloud/models/layout_slide.rb +4 -0
  89. data/lib/aspose_slides_cloud/models/layout_slides.rb +4 -0
  90. data/lib/aspose_slides_cloud/models/left_sub_superscript_element.rb +4 -0
  91. data/lib/aspose_slides_cloud/models/legend.rb +4 -0
  92. data/lib/aspose_slides_cloud/models/light_rig.rb +4 -0
  93. data/lib/aspose_slides_cloud/models/limit_element.rb +4 -0
  94. data/lib/aspose_slides_cloud/models/line_format.rb +4 -0
  95. data/lib/aspose_slides_cloud/models/line_to_path_segment.rb +4 -0
  96. data/lib/aspose_slides_cloud/models/master_slide.rb +4 -0
  97. data/lib/aspose_slides_cloud/models/master_slides.rb +4 -0
  98. data/lib/aspose_slides_cloud/models/math_element.rb +4 -0
  99. data/lib/aspose_slides_cloud/models/math_paragraph.rb +4 -0
  100. data/lib/aspose_slides_cloud/models/matrix_element.rb +4 -0
  101. data/lib/aspose_slides_cloud/models/merge.rb +4 -0
  102. data/lib/aspose_slides_cloud/models/merging_source.rb +4 -0
  103. data/lib/aspose_slides_cloud/models/move_to_path_segment.rb +4 -0
  104. data/lib/aspose_slides_cloud/models/nary_operator_element.rb +4 -0
  105. data/lib/aspose_slides_cloud/models/no_fill.rb +4 -0
  106. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +4 -0
  107. data/lib/aspose_slides_cloud/models/notes_slide.rb +4 -0
  108. data/lib/aspose_slides_cloud/models/notes_slide_header_footer.rb +4 -0
  109. data/lib/aspose_slides_cloud/models/object_exist.rb +4 -0
  110. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +4 -0
  111. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +4 -0
  112. data/lib/aspose_slides_cloud/models/one_value_series.rb +16 -6
  113. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +4 -0
  114. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +4 -0
  115. data/lib/aspose_slides_cloud/models/output_file.rb +4 -0
  116. data/lib/aspose_slides_cloud/models/paragraph.rb +4 -0
  117. data/lib/aspose_slides_cloud/models/paragraphs.rb +4 -0
  118. data/lib/aspose_slides_cloud/models/path_input_file.rb +4 -0
  119. data/lib/aspose_slides_cloud/models/path_output_file.rb +4 -0
  120. data/lib/aspose_slides_cloud/models/path_segment.rb +4 -0
  121. data/lib/aspose_slides_cloud/models/pattern_fill.rb +4 -0
  122. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +4 -0
  123. data/lib/aspose_slides_cloud/models/picture_fill.rb +4 -0
  124. data/lib/aspose_slides_cloud/models/picture_frame.rb +4 -0
  125. data/lib/aspose_slides_cloud/models/pipeline.rb +4 -0
  126. data/lib/aspose_slides_cloud/models/placeholder.rb +4 -0
  127. data/lib/aspose_slides_cloud/models/placeholders.rb +4 -0
  128. data/lib/aspose_slides_cloud/models/plot_area.rb +4 -0
  129. data/lib/aspose_slides_cloud/models/portion.rb +4 -0
  130. data/lib/aspose_slides_cloud/models/portions.rb +4 -0
  131. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +4 -0
  132. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +4 -0
  133. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +4 -0
  134. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +4 -0
  135. data/lib/aspose_slides_cloud/models/protection_properties.rb +4 -0
  136. data/lib/aspose_slides_cloud/models/quadratic_bezier_to_path_segment.rb +4 -0
  137. data/lib/aspose_slides_cloud/models/radical_element.rb +4 -0
  138. data/lib/aspose_slides_cloud/models/reflection_effect.rb +4 -0
  139. data/lib/aspose_slides_cloud/models/remove_shape.rb +4 -0
  140. data/lib/aspose_slides_cloud/models/remove_slide.rb +4 -0
  141. data/lib/aspose_slides_cloud/models/reorder_slide.rb +4 -0
  142. data/lib/aspose_slides_cloud/models/replace_text.rb +4 -0
  143. data/lib/aspose_slides_cloud/models/request_input_file.rb +4 -0
  144. data/lib/aspose_slides_cloud/models/reset_slide.rb +4 -0
  145. data/lib/aspose_slides_cloud/models/resource_base.rb +4 -0
  146. data/lib/aspose_slides_cloud/models/resource_uri.rb +4 -0
  147. data/lib/aspose_slides_cloud/models/response_output_file.rb +4 -0
  148. data/lib/aspose_slides_cloud/models/right_sub_superscript_element.rb +4 -0
  149. data/lib/aspose_slides_cloud/models/save.rb +6 -2
  150. data/lib/aspose_slides_cloud/models/save_shape.rb +4 -0
  151. data/lib/aspose_slides_cloud/models/save_slide.rb +4 -0
  152. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +4 -0
  153. data/lib/aspose_slides_cloud/models/scatter_series.rb +8 -6
  154. data/lib/aspose_slides_cloud/models/section.rb +4 -0
  155. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +256 -0
  156. data/lib/aspose_slides_cloud/models/sections.rb +4 -0
  157. data/lib/aspose_slides_cloud/models/series.rb +5 -41
  158. data/lib/aspose_slides_cloud/models/series_marker.rb +4 -0
  159. data/lib/aspose_slides_cloud/models/shape.rb +16 -2
  160. data/lib/aspose_slides_cloud/models/shape_base.rb +6 -2
  161. data/lib/aspose_slides_cloud/models/shape_bevel.rb +4 -0
  162. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +4 -0
  163. data/lib/aspose_slides_cloud/models/shapes.rb +4 -0
  164. data/lib/aspose_slides_cloud/models/slide.rb +4 -0
  165. data/lib/aspose_slides_cloud/models/slide_animation.rb +4 -0
  166. data/lib/aspose_slides_cloud/models/slide_background.rb +4 -0
  167. data/lib/aspose_slides_cloud/models/slide_comment.rb +4 -0
  168. data/lib/aspose_slides_cloud/models/slide_comments.rb +4 -0
  169. data/lib/aspose_slides_cloud/models/slide_properties.rb +4 -0
  170. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +4 -0
  171. data/lib/aspose_slides_cloud/models/slides.rb +4 -0
  172. data/lib/aspose_slides_cloud/models/smart_art.rb +4 -0
  173. data/lib/aspose_slides_cloud/models/smart_art_node.rb +4 -0
  174. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +4 -0
  175. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +4 -0
  176. data/lib/aspose_slides_cloud/models/solid_fill.rb +4 -0
  177. data/lib/aspose_slides_cloud/models/split_document_result.rb +4 -0
  178. data/lib/aspose_slides_cloud/models/storage_exist.rb +4 -0
  179. data/lib/aspose_slides_cloud/models/storage_file.rb +4 -0
  180. data/lib/aspose_slides_cloud/models/subscript_element.rb +4 -0
  181. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +275 -0
  182. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +267 -0
  183. data/lib/aspose_slides_cloud/models/superscript_element.rb +4 -0
  184. data/lib/aspose_slides_cloud/models/svg_export_options.rb +4 -0
  185. data/lib/aspose_slides_cloud/models/swf_export_options.rb +4 -0
  186. data/lib/aspose_slides_cloud/models/table.rb +4 -0
  187. data/lib/aspose_slides_cloud/models/table_cell.rb +4 -0
  188. data/lib/aspose_slides_cloud/models/table_column.rb +4 -0
  189. data/lib/aspose_slides_cloud/models/table_row.rb +4 -0
  190. data/lib/aspose_slides_cloud/models/task.rb +4 -0
  191. data/lib/aspose_slides_cloud/models/text_element.rb +4 -0
  192. data/lib/aspose_slides_cloud/models/text_frame_format.rb +255 -0
  193. data/lib/aspose_slides_cloud/models/text_item.rb +4 -0
  194. data/lib/aspose_slides_cloud/models/text_items.rb +4 -0
  195. data/lib/aspose_slides_cloud/models/theme.rb +4 -0
  196. data/lib/aspose_slides_cloud/models/three_d_format.rb +4 -0
  197. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +4 -0
  198. data/lib/aspose_slides_cloud/models/update_background.rb +4 -0
  199. data/lib/aspose_slides_cloud/models/update_shape.rb +4 -0
  200. data/lib/aspose_slides_cloud/models/video_export_options.rb +258 -0
  201. data/lib/aspose_slides_cloud/models/video_frame.rb +4 -0
  202. data/lib/aspose_slides_cloud/models/view_properties.rb +4 -0
  203. data/lib/aspose_slides_cloud/models/waterfall_chart_data_point.rb +4 -0
  204. data/lib/aspose_slides_cloud/models/waterfall_series.rb +6 -5
  205. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +4 -0
  206. data/lib/aspose_slides_cloud/models/xps_export_options.rb +4 -0
  207. data/lib/aspose_slides_cloud/models/xy_series.rb +255 -0
  208. data/lib/aspose_slides_cloud/models/zoom_frame.rb +256 -0
  209. data/lib/aspose_slides_cloud/models/zoom_object.rb +301 -0
  210. data/lib/aspose_slides_cloud/type_registry.rb +23 -5
  211. data/lib/aspose_slides_cloud/version.rb +1 -1
  212. data/lib/aspose_slides_cloud.rb +10 -2
  213. data/spec/api/slides_api_spec.rb +822 -0
  214. data/spec/use_cases/abstract_class_spec.rb +38 -0
  215. data/spec/use_cases/animation_spec.rb +193 -0
  216. data/spec/use_cases/auth_spec.rb +91 -0
  217. data/spec/use_cases/chart_spec.rb +291 -0
  218. data/spec/use_cases/convert_spec.rb +154 -0
  219. data/spec/use_cases/create_spec.rb +101 -0
  220. data/spec/use_cases/header_footer_spec.rb +78 -0
  221. data/spec/use_cases/hyperlink_spec.rb +92 -0
  222. data/spec/use_cases/image_spec.rb +102 -0
  223. data/spec/use_cases/layout_slide_spec.rb +190 -0
  224. data/spec/use_cases/master_slide_spec.rb +190 -0
  225. data/spec/use_cases/math_spec.rb +163 -0
  226. data/spec/use_cases/merge_spec.rb +106 -0
  227. data/spec/use_cases/notes_slide_spec.rb +172 -0
  228. data/spec/use_cases/nullable_field_spec.rb +86 -0
  229. data/spec/use_cases/pipeline_spec.rb +61 -0
  230. data/spec/use_cases/property_spec.rb +177 -0
  231. data/spec/use_cases/section_spec.rb +104 -0
  232. data/spec/use_cases/shape_format_spec.rb +126 -0
  233. data/spec/use_cases/shape_spec.rb +399 -0
  234. data/spec/use_cases/split_spec.rb +88 -0
  235. data/spec/use_cases/text_spec.rb +74 -0
  236. data/spec/use_cases/timeout_spec.rb +44 -0
  237. data/spec/use_cases/watermark_spec.rb +158 -0
  238. data/testRules.json +3 -0
  239. metadata +105 -15
  240. data/TestData/ChartTest.pptx +0 -0
  241. data/TestData/Sections.pptx +0 -0
  242. data/TestData/placeholders.pptx +0 -0
  243. data/TestData/test-unprotected.ppt +0 -0
  244. data/TestData/test.ppt +0 -0
  245. data/spec/extra/extra_spec.rb +0 -203
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 475f15ce6468647f25119c198f81dd0df8256a86c0910c2a96506e28d75e79fe
4
- data.tar.gz: 8687e324a468b1e5f3646a2c0a102dc71b28b4ea5afb552bc2727e04e190aec3
3
+ metadata.gz: e883a826b9ad805e25ec620b64ddfe1374953723ce4b90f38628a0942c0b07d5
4
+ data.tar.gz: e5802f2a20ddbc53345befc1408b75850ec8dcb5f487d2b46222bb9ad3cea30d
5
5
  SHA512:
6
- metadata.gz: 457040c4a86624a179c5cc8767e3769e5bcd489fcd0419288c77dbf307a48d8c872931c6bb7be5de327b085253eee42a146ef820cfea123f53ef77e8704e088a
7
- data.tar.gz: 4b65b4efd0e5c594516d30e18e155ccc91a329304d041ae515175a2605c54bcf92aec4c0e0627248d97ae72d6185fb8cefca97687d22c885740bdf285a32ad20
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:** PDF, PDF/A, XPS
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
@@ -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 License"
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