aspose_slides_cloud 21.8.0 → 21.9.0
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/TestData/test-unprotected.pptx +0 -0
- data/TestData/test.pptx +0 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +7690 -4342
- data/lib/aspose_slides_cloud/models/export_options.rb +1 -1
- data/lib/aspose_slides_cloud/type_registry.rb +1 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +1 -0
- data/spec/api/slides_api_spec.rb +29319 -18897
- data/spec/extra/extra_spec.rb +6 -6
- data/testRules.json +46 -5
- metadata +2 -2
    
        data/spec/extra/extra_spec.rb
    CHANGED
    
    | @@ -77,7 +77,7 @@ describe 'SlidesApiExtra' do | |
| 77 77 |  | 
| 78 78 | 
             
                it 'nullable properties' do
         | 
| 79 79 | 
             
                  folderName = "TempSlidesSDK"
         | 
| 80 | 
            -
                  fileName = " | 
| 80 | 
            +
                  fileName = "test.pptx"
         | 
| 81 81 | 
             
                  password = "password"
         | 
| 82 82 | 
             
                  min1  = 44.3
         | 
| 83 83 | 
             
                  min2 = 12
         | 
| @@ -111,7 +111,7 @@ describe 'SlidesApiExtra' do | |
| 111 111 | 
             
                  dto.axes.horizontal_axis.max_value = max1
         | 
| 112 112 | 
             
                  AsposeSlidesCloud::SpecUtils.api.create_shape(fileName, 1, dto, nil, nil, password, folderName)
         | 
| 113 113 |  | 
| 114 | 
            -
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1,  | 
| 114 | 
            +
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 5, password, folderName)
         | 
| 115 115 | 
             
                  expect(result.axes.horizontal_axis.min_value).to eq(min1)
         | 
| 116 116 | 
             
                  expect(result.axes.horizontal_axis.max_value).to eq(max1)
         | 
| 117 117 |  | 
| @@ -119,17 +119,17 @@ describe 'SlidesApiExtra' do | |
| 119 119 | 
             
                  dto.axes = AsposeSlidesCloud::Axes.new
         | 
| 120 120 | 
             
                  dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         | 
| 121 121 | 
             
                  dto.axes.horizontal_axis.min_value = min2
         | 
| 122 | 
            -
                  AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1,  | 
| 122 | 
            +
                  AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1, 5, dto, password, folderName)
         | 
| 123 123 |  | 
| 124 | 
            -
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1,  | 
| 124 | 
            +
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 5, password, folderName)
         | 
| 125 125 | 
             
                  expect(result.axes.horizontal_axis.min_value).to eq(min2)
         | 
| 126 126 | 
             
                  expect(result.axes.horizontal_axis.max_value).to eq(max1)
         | 
| 127 127 |  | 
| 128 128 | 
             
                  dto.axes.horizontal_axis = AsposeSlidesCloud::Axis.new
         | 
| 129 129 | 
             
                  dto.axes.horizontal_axis.max_value = max2
         | 
| 130 | 
            -
                  AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1,  | 
| 130 | 
            +
                  AsposeSlidesCloud::SpecUtils.api.update_shape(fileName, 1, 5, dto, password, folderName)
         | 
| 131 131 |  | 
| 132 | 
            -
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1,  | 
| 132 | 
            +
                  result = AsposeSlidesCloud::SpecUtils.api.get_shape(fileName, 1, 5, password, folderName)
         | 
| 133 133 | 
             
                  expect(result.axes.horizontal_axis.min_value).to eq(min2)
         | 
| 134 134 | 
             
                  expect(result.axes.horizontal_axis.max_value).to eq(max2)
         | 
| 135 135 | 
             
                end
         | 
    
        data/testRules.json
    CHANGED
    
    | @@ -94,6 +94,7 @@ | |
| 94 94 | 
             
            		{ "Value": 1, "Parameter": "ShapeIndex", "Method": "SaveSubshape" },
         | 
| 95 95 | 
             
            		{ "Value": null, "InvalidValue": [1, 593], "Parameter": "Shapes" },
         | 
| 96 96 | 
             
            		{ "Value": null, "InvalidValue": 593, "Parameter": "ShapeToClone" },
         | 
| 97 | 
            +
            		{ "Value": "MasterSlide", "Parameter": "SlideType" },
         | 
| 97 98 | 
             
            		{ "Value": 1, "InvalidValue": 593, "Parameter": "SeriesIndex" },
         | 
| 98 99 | 
             
            		{ "Value": 1, "InvalidValue": 593, "Parameter": "CategoryIndex" },
         | 
| 99 100 | 
             
            		{ "Value": 1, "InvalidValue": 593, "Parameter": "PointIndex" },
         | 
| @@ -118,6 +119,26 @@ | |
| 118 119 | 
             
            		{ "Value": null, "InvalidValue": 593, "Parameter": "From" },
         | 
| 119 120 | 
             
            		{ "Value": null, "InvalidValue": 593, "Parameter": "To" },
         | 
| 120 121 | 
             
            		{ "Value": "4/shapes", "Parameter": "Path" },
         | 
| 122 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "CreateSpecialSlideSubshape" },
         | 
| 123 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "CreateSpecialSlideSubshapeParagraph" },
         | 
| 124 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "CreateSpecialSlideSubshapePortion" },
         | 
| 125 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DeleteSpecialSlideSubshape" },
         | 
| 126 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DeleteSpecialSlideSubshapes" },
         | 
| 127 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DeleteSpecialSlideSubshapeParagraph" },
         | 
| 128 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DeleteSpecialSlideSubshapeParagraphs" },
         | 
| 129 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DeleteSpecialSlideSubshapePortion" },
         | 
| 130 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DeleteSpecialSlideSubshapePortions" },
         | 
| 131 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "DownloadSpecialSlideSubshape" },
         | 
| 132 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "GetSpecialSlideSubshape" },
         | 
| 133 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "GetSpecialSlideSubshapes" },
         | 
| 134 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "GetSpecialSlideSubshapeParagraph" },
         | 
| 135 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "GetSpecialSlideSubshapeParagraphs" },
         | 
| 136 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "GetSpecialSlideSubshapePortion" },
         | 
| 137 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "GetSpecialSlideSubshapePortions" },
         | 
| 138 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "SaveSpecialSlideSubshape" },
         | 
| 139 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "UpdateSpecialSlideSubshape" },
         | 
| 140 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "UpdateSpecialSlideSubshapeParagraph" },
         | 
| 141 | 
            +
            		{ "Value": "6/shapes", "Parameter": "Path", "Method": "UpdateSpecialSlideSubshapePortion" },
         | 
| 121 142 | 
             
            		{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "UploadFile" },
         | 
| 122 143 | 
             
            		{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "DownloadFile" },
         | 
| 123 144 | 
             
            		{ "Value": "TempSlidesSDK/test.pptx", "InvalidValue": "invalid%v", "Parameter": "Path", "Method": "GetFileVersions" },
         | 
| @@ -197,8 +218,10 @@ | |
| 197 218 | 
             
            		{ "Value": "png", "Parameter": "Format", "Method": "SaveShapeOnline" },
         | 
| 198 219 | 
             
            		{ "Value": "png", "Parameter": "Format", "Method": "DownloadSubshape" },
         | 
| 199 220 | 
             
            		{ "Value": "png", "Parameter": "Format", "Method": "SaveSubshape" },
         | 
| 200 | 
            -
            		{ "Value": "png", "Parameter": "Format", "Method": " | 
| 201 | 
            -
            		{ "Value": "png", "Parameter": "Format", "Method": " | 
| 221 | 
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "DownloadSpecialSlideShape" },
         | 
| 222 | 
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "SaveSpecialSlideShape" },
         | 
| 223 | 
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "DownloadSpecialSlideSubshape" },
         | 
| 224 | 
            +
            		{ "Value": "png", "Parameter": "Format", "Method": "SaveSpecialSlideSubshape" },
         | 
| 202 225 | 
             
            		{ "Value": "png", "Parameter": "Format", "Method": "DownloadImage" },
         | 
| 203 226 | 
             
            		{ "Value": "png", "Parameter": "Format", "Method": "DownloadImageOnline" },
         | 
| 204 227 | 
             
            		{ "Value": "png", "Parameter": "Format", "Method": "DownloadImages" },
         | 
| @@ -341,15 +364,21 @@ | |
| 341 364 | 
             
            		{ "Code": 201, "Method": "CreateSubshapeParagraph" },
         | 
| 342 365 | 
             
            		{ "Code": 201, "Method": "CreateSubshapePortion" },
         | 
| 343 366 | 
             
            		{ "Code": 201, "Method": "CreateSubshape" },
         | 
| 367 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideParagraph" },
         | 
| 368 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlidePortion" },
         | 
| 369 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideShape" },
         | 
| 370 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideSubshapeParagraph" },
         | 
| 371 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideSubshapePortion" },
         | 
| 372 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideSubshape" },
         | 
| 344 373 | 
             
            		{ "Code": 201, "Method": "CreateChartSeries" },
         | 
| 345 374 | 
             
            		{ "Code": 201, "Method": "CreateChartCategory" },
         | 
| 346 375 | 
             
            		{ "Code": 201, "Method": "CreateChartDataPoint" },
         | 
| 347 | 
            -
            		{ "Code": 201, "Method": "CreateNotesSlideParagraph" },
         | 
| 348 | 
            -
            		{ "Code": 201, "Method": "CreateNotesSlidePortion" },
         | 
| 349 | 
            -
            		{ "Code": 201, "Method": "CreateNotesSlideShape" },
         | 
| 350 376 | 
             
            		{ "Code": 201, "Method": "CreateAnimationEffect" },
         | 
| 351 377 | 
             
            		{ "Code": 201, "Method": "CreateAnimationInteractiveSequence" },
         | 
| 352 378 | 
             
            		{ "Code": 201, "Method": "CreateAnimationInteractiveSequenceEffect" },
         | 
| 379 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideAnimationEffect" },
         | 
| 380 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideAnimationInteractiveSequence" },
         | 
| 381 | 
            +
            		{ "Code": 201, "Method": "CreateSpecialSlideAnimationInteractiveSequenceEffect" },
         | 
| 353 382 | 
             
            		{ "Code": 201, "Method": "CreateSection" },
         | 
| 354 383 | 
             
            		{ "Code": 400, "Invalid": true },
         | 
| 355 384 | 
             
            		{ "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Name" },
         | 
| @@ -477,6 +506,16 @@ | |
| 477 506 | 
             
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "CPP" },
         | 
| 478 507 | 
             
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "CPP" },
         | 
| 479 508 | 
             
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "CPP" },
         | 
| 509 | 
            +
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSpecialSlideShape" },
         | 
| 510 | 
            +
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSpecialSlideSubshape" },
         | 
| 511 | 
            +
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSpecialSlideShape" },
         | 
| 512 | 
            +
            		{ "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSpecialSlideSubshape" },
         | 
| 513 | 
            +
            		{ "Code": 400, "Message": "is not supported", "Parameter": "Format", "Method": "DownloadSpecialSlideShape", "Language": "Ruby" },
         | 
| 514 | 
            +
            		{ "Code": 400, "Message": "is not supported", "Parameter": "Format", "Method": "DownloadSpecialSlideSubshape", "Language": "Ruby" },
         | 
| 515 | 
            +
            		{ "Code": 400, "Message": "is not supported", "Parameter": "Format", "Method": "SaveSpecialSlideShape", "Language": "Ruby" },
         | 
| 516 | 
            +
            		{ "Code": 400, "Message": "is not supported", "Parameter": "Format", "Method": "SaveSpecialSlideSubshape", "Language": "Ruby" },
         | 
| 517 | 
            +
            		{ "Message": " is not valid", "Parameter": "SlideType" },
         | 
| 518 | 
            +
            		{ "Message": "is not supported", "Parameter": "SlideType", "Language": "Ruby" },
         | 
| 480 519 | 
             
            		{ "Message": " is not supported for this operation", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "CPP" },
         | 
| 481 520 | 
             
            		{ "Message": "Color must be in format #FF000000", "Parameter": "Color" },
         | 
| 482 521 | 
             
            		{ "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
         | 
| @@ -485,6 +524,8 @@ | |
| 485 524 | 
             
            		{ "Message": " required parameter", "Parameter": "DTO" },
         | 
| 486 525 | 
             
            		{ "Message": "DTO expected", "Parameter": "DTO", "Method": "CreateShape" },
         | 
| 487 526 | 
             
            		{ "Message": "DTO expected", "Parameter": "DTO", "Method": "CreateSubshape" },
         | 
| 527 | 
            +
            		{ "Message": "DTO expected", "Parameter": "DTO", "Method": "CreateSpecialSlideShape" },
         | 
| 528 | 
            +
            		{ "Message": "DTO expected", "Parameter": "DTO", "Method": "CreateSpecialSlideSubshape" },
         | 
| 488 529 | 
             
            		{ "Message": " required parameter", "Parameter": "SlideDTO" },
         | 
| 489 530 | 
             
            		{ "Message": " required parameter", "Parameter": "Background" },
         | 
| 490 531 | 
             
            		{ "Message": " required parameter", "Parameter": "Pipeline" },
         | 
    
        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: 21. | 
| 4 | 
            +
              version: 21.9.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: 2021- | 
| 11 | 
            +
            date: 2021-10-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |