pulp_file_client 3.49.35 → 3.50.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/README.md +5 -5
- data/docs/AcsFileApi.md +1 -1
- data/docs/ContentFilesApi.md +1 -1
- data/docs/DistributionsFileApi.md +1 -1
- data/docs/PublicationsFileApi.md +1 -1
- data/docs/RemotesFileApi.md +1 -1
- data/docs/RepositoriesFileApi.md +1 -1
- data/docs/RepositoriesFileVersionsApi.md +1 -1
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- metadata +50 -50
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 4b7d069588d9135356157d01d4f25f78dc374a59c5b381cccdc5cb2b8a8d006c
         | 
| 4 | 
            +
              data.tar.gz: ac771346a1842e859bae039227c5a078af495d7a624fca8707de2ccb94e4fc2d
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 5710448b0c3ff46eb9fb0046b9a56b95d517b94f119ad0ef3cdee7c237b157ae57b1c6c88cdbca1ad2b5ca2894b0aaaf1d12de950736cacab901c8f98d883949
         | 
| 7 | 
            +
              data.tar.gz: dd9b953bdfc5311c65524a8d4149fc446704d98fcc32a3fb3d325c75a0dff49ecdce4ea691aab70b2708781f7a83ebb91db92cdc49dad703ac52eeb04678c265
         | 
    
        data/README.md
    CHANGED
    
    | @@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages | |
| 7 7 | 
             
            This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
         | 
| 8 8 |  | 
| 9 9 | 
             
            - API version: v3
         | 
| 10 | 
            -
            - Package version: 3. | 
| 10 | 
            +
            - Package version: 3.50.0
         | 
| 11 11 | 
             
            - Build package: org.openapitools.codegen.languages.RubyClientCodegen
         | 
| 12 12 | 
             
            For more information, please visit [https://pulpproject.org](https://pulpproject.org)
         | 
| 13 13 |  | 
| @@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec | |
| 24 24 | 
             
            Then either install the gem locally:
         | 
| 25 25 |  | 
| 26 26 | 
             
            ```shell
         | 
| 27 | 
            -
            gem install ./pulp_file_client-3. | 
| 27 | 
            +
            gem install ./pulp_file_client-3.50.0.gem
         | 
| 28 28 | 
             
            ```
         | 
| 29 29 |  | 
| 30 | 
            -
            (for development, run `gem install --dev ./pulp_file_client-3. | 
| 30 | 
            +
            (for development, run `gem install --dev ./pulp_file_client-3.50.0.gem` to install the development dependencies)
         | 
| 31 31 |  | 
| 32 32 | 
             
            or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
         | 
| 33 33 |  | 
| 34 34 | 
             
            Finally add this to the Gemfile:
         | 
| 35 35 |  | 
| 36 | 
            -
                gem 'pulp_file_client', '~> 3. | 
| 36 | 
            +
                gem 'pulp_file_client', '~> 3.50.0'
         | 
| 37 37 |  | 
| 38 38 | 
             
            ### Install from Git
         | 
| 39 39 |  | 
| @@ -80,7 +80,7 @@ end | |
| 80 80 |  | 
| 81 81 | 
             
            ## Documentation for API Endpoints
         | 
| 82 82 |  | 
| 83 | 
            -
            All URIs are relative to *http:// | 
| 83 | 
            +
            All URIs are relative to *http://pulp*
         | 
| 84 84 |  | 
| 85 85 | 
             
            Class | Method | HTTP request | Description
         | 
| 86 86 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
    
        data/docs/AcsFileApi.md
    CHANGED
    
    
    
        data/docs/ContentFilesApi.md
    CHANGED
    
    
    
        data/docs/PublicationsFileApi.md
    CHANGED
    
    
    
        data/docs/RemotesFileApi.md
    CHANGED
    
    
    
        data/docs/RepositoriesFileApi.md
    CHANGED
    
    
| @@ -128,7 +128,7 @@ module PulpFileClient | |
| 128 128 |  | 
| 129 129 | 
             
                def initialize
         | 
| 130 130 | 
             
                  @scheme = 'http'
         | 
| 131 | 
            -
                  @host = ' | 
| 131 | 
            +
                  @host = 'pulp'
         | 
| 132 132 | 
             
                  @base_path = ''
         | 
| 133 133 | 
             
                  @api_key = {}
         | 
| 134 134 | 
             
                  @api_key_prefix = {}
         | 
| @@ -210,7 +210,7 @@ module PulpFileClient | |
| 210 210 | 
             
                def server_settings
         | 
| 211 211 | 
             
                  [
         | 
| 212 212 | 
             
                    {
         | 
| 213 | 
            -
                      url: "http:// | 
| 213 | 
            +
                      url: "http://pulp/",
         | 
| 214 214 | 
             
                      description: "No description provided",
         | 
| 215 215 | 
             
                    }
         | 
| 216 216 | 
             
                  ]
         | 
    
        data/spec/configuration_spec.rb
    CHANGED
    
    | @@ -18,7 +18,7 @@ describe PulpFileClient::Configuration do | |
| 18 18 | 
             
              before(:each) do
         | 
| 19 19 | 
             
                # uncomment below to setup host and base_path
         | 
| 20 20 | 
             
                # require 'URI'
         | 
| 21 | 
            -
                # uri = URI.parse("http:// | 
| 21 | 
            +
                # uri = URI.parse("http://pulp")
         | 
| 22 22 | 
             
                # PulpFileClient.configure do |c|
         | 
| 23 23 | 
             
                #   c.host = uri.host
         | 
| 24 24 | 
             
                #   c.base_path = uri.path
         | 
| @@ -28,14 +28,14 @@ describe PulpFileClient::Configuration do | |
| 28 28 | 
             
              describe '#base_url' do
         | 
| 29 29 | 
             
                it 'should have the default value' do
         | 
| 30 30 | 
             
                  # uncomment below to test default value of the base path
         | 
| 31 | 
            -
                  # expect(config.base_url).to eq("http:// | 
| 31 | 
            +
                  # expect(config.base_url).to eq("http://pulp")
         | 
| 32 32 | 
             
                end
         | 
| 33 33 |  | 
| 34 34 | 
             
                it 'should remove trailing slashes' do
         | 
| 35 35 | 
             
                  [nil, '', '/', '//'].each do |base_path|
         | 
| 36 36 | 
             
                    config.base_path = base_path
         | 
| 37 37 | 
             
                    # uncomment below to test trailing slashes
         | 
| 38 | 
            -
                    # expect(config.base_url).to eq("http:// | 
| 38 | 
            +
                    # expect(config.base_url).to eq("http://pulp")
         | 
| 39 39 | 
             
                  end
         | 
| 40 40 | 
             
                end
         | 
| 41 41 | 
             
              end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: pulp_file_client
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3. | 
| 4 | 
            +
              version: 3.50.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OpenAPI-Generator
         | 
| 8 | 
            -
            autorequire:
         | 
| 8 | 
            +
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2024-03-26 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         | 
| @@ -34,42 +34,42 @@ dependencies: | |
| 34 34 | 
             
              name: json
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 36 36 | 
             
                requirements:
         | 
| 37 | 
            -
                - - "~>"
         | 
| 38 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 39 | 
            -
                    version: '2.1'
         | 
| 40 37 | 
             
                - - ">="
         | 
| 41 38 | 
             
                  - !ruby/object:Gem::Version
         | 
| 42 39 | 
             
                    version: 2.1.0
         | 
| 40 | 
            +
                - - "~>"
         | 
| 41 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 42 | 
            +
                    version: '2.1'
         | 
| 43 43 | 
             
              type: :runtime
         | 
| 44 44 | 
             
              prerelease: false
         | 
| 45 45 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 46 46 | 
             
                requirements:
         | 
| 47 | 
            -
                - - "~>"
         | 
| 48 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 49 | 
            -
                    version: '2.1'
         | 
| 50 47 | 
             
                - - ">="
         | 
| 51 48 | 
             
                  - !ruby/object:Gem::Version
         | 
| 52 49 | 
             
                    version: 2.1.0
         | 
| 50 | 
            +
                - - "~>"
         | 
| 51 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 52 | 
            +
                    version: '2.1'
         | 
| 53 53 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 54 54 | 
             
              name: rspec
         | 
| 55 55 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 56 56 | 
             
                requirements:
         | 
| 57 | 
            -
                - - "~>"
         | 
| 58 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 59 | 
            -
                    version: '3.6'
         | 
| 60 57 | 
             
                - - ">="
         | 
| 61 58 | 
             
                  - !ruby/object:Gem::Version
         | 
| 62 59 | 
             
                    version: 3.6.0
         | 
| 60 | 
            +
                - - "~>"
         | 
| 61 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 62 | 
            +
                    version: '3.6'
         | 
| 63 63 | 
             
              type: :development
         | 
| 64 64 | 
             
              prerelease: false
         | 
| 65 65 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 66 66 | 
             
                requirements:
         | 
| 67 | 
            -
                - - "~>"
         | 
| 68 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 69 | 
            -
                    version: '3.6'
         | 
| 70 67 | 
             
                - - ">="
         | 
| 71 68 | 
             
                  - !ruby/object:Gem::Version
         | 
| 72 69 | 
             
                    version: 3.6.0
         | 
| 70 | 
            +
                - - "~>"
         | 
| 71 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 72 | 
            +
                    version: '3.6'
         | 
| 73 73 | 
             
            description: Fetch, Upload, Organize, and Distribute Software Packages
         | 
| 74 74 | 
             
            email:
         | 
| 75 75 | 
             
            - pulp-list@redhat.com
         | 
| @@ -234,7 +234,7 @@ homepage: https://github.com/pulp/pulp_file | |
| 234 234 | 
             
            licenses:
         | 
| 235 235 | 
             
            - GPLv2+
         | 
| 236 236 | 
             
            metadata: {}
         | 
| 237 | 
            -
            post_install_message:
         | 
| 237 | 
            +
            post_install_message: 
         | 
| 238 238 | 
             
            rdoc_options: []
         | 
| 239 239 | 
             
            require_paths:
         | 
| 240 240 | 
             
            - lib
         | 
| @@ -249,58 +249,58 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 249 249 | 
             
                - !ruby/object:Gem::Version
         | 
| 250 250 | 
             
                  version: '0'
         | 
| 251 251 | 
             
            requirements: []
         | 
| 252 | 
            -
            rubygems_version: 3. | 
| 253 | 
            -
            signing_key:
         | 
| 252 | 
            +
            rubygems_version: 3.0.3.1
         | 
| 253 | 
            +
            signing_key: 
         | 
| 254 254 | 
             
            specification_version: 4
         | 
| 255 255 | 
             
            summary: Pulp 3 API Ruby Gem
         | 
| 256 256 | 
             
            test_files:
         | 
| 257 | 
            -
            - spec/api/publications_file_api_spec.rb
         | 
| 258 257 | 
             
            - spec/api/repositories_file_api_spec.rb
         | 
| 258 | 
            +
            - spec/api/remotes_file_api_spec.rb
         | 
| 259 259 | 
             
            - spec/api/distributions_file_api_spec.rb
         | 
| 260 | 
            +
            - spec/api/acs_file_api_spec.rb
         | 
| 261 | 
            +
            - spec/api/publications_file_api_spec.rb
         | 
| 260 262 | 
             
            - spec/api/repositories_file_versions_api_spec.rb
         | 
| 261 263 | 
             
            - spec/api/content_files_api_spec.rb
         | 
| 262 | 
            -
            - spec/api/acs_file_api_spec.rb
         | 
| 263 | 
            -
            - spec/api/remotes_file_api_spec.rb
         | 
| 264 264 | 
             
            - spec/api_client_spec.rb
         | 
| 265 265 | 
             
            - spec/configuration_spec.rb
         | 
| 266 | 
            +
            - spec/models/unset_label_response_spec.rb
         | 
| 267 | 
            +
            - spec/models/my_permissions_response_spec.rb
         | 
| 268 | 
            +
            - spec/models/policy_enum_spec.rb
         | 
| 266 269 | 
             
            - spec/models/repair_spec.rb
         | 
| 267 | 
            -
            - spec/models/ | 
| 268 | 
            -
            - spec/models/ | 
| 270 | 
            +
            - spec/models/patchedfile_file_remote_spec.rb
         | 
| 271 | 
            +
            - spec/models/file_file_remote_response_hidden_fields_spec.rb
         | 
| 272 | 
            +
            - spec/models/paginatedfile_file_distribution_response_list_spec.rb
         | 
| 269 273 | 
             
            - spec/models/paginatedfile_file_repository_response_list_spec.rb
         | 
| 270 | 
            -
            - spec/models/ | 
| 271 | 
            -
            - spec/models/ | 
| 272 | 
            -
            - spec/models/ | 
| 274 | 
            +
            - spec/models/file_file_distribution_response_spec.rb
         | 
| 275 | 
            +
            - spec/models/paginated_repository_version_response_list_spec.rb
         | 
| 276 | 
            +
            - spec/models/repository_sync_url_spec.rb
         | 
| 277 | 
            +
            - spec/models/set_label_spec.rb
         | 
| 278 | 
            +
            - spec/models/file_file_repository_spec.rb
         | 
| 279 | 
            +
            - spec/models/object_roles_response_spec.rb
         | 
| 280 | 
            +
            - spec/models/file_file_remote_response_spec.rb
         | 
| 273 281 | 
             
            - spec/models/patchedfile_file_alternate_content_source_spec.rb
         | 
| 274 282 | 
             
            - spec/models/repository_add_remove_content_spec.rb
         | 
| 275 | 
            -
            - spec/models/file_file_publication_response_spec.rb
         | 
| 276 | 
            -
            - spec/models/file_file_alternate_content_source_response_spec.rb
         | 
| 277 | 
            -
            - spec/models/nested_role_response_spec.rb
         | 
| 278 | 
            -
            - spec/models/nested_role_spec.rb
         | 
| 279 283 | 
             
            - spec/models/file_file_publication_spec.rb
         | 
| 284 | 
            +
            - spec/models/file_file_publication_response_spec.rb
         | 
| 285 | 
            +
            - spec/models/async_operation_response_spec.rb
         | 
| 280 286 | 
             
            - spec/models/paginatedfile_file_content_response_list_spec.rb
         | 
| 281 | 
            -
            - spec/models/ | 
| 282 | 
            -
            - spec/models/ | 
| 283 | 
            -
            - spec/models/ | 
| 287 | 
            +
            - spec/models/patchedfile_file_distribution_spec.rb
         | 
| 288 | 
            +
            - spec/models/file_file_content_spec.rb
         | 
| 289 | 
            +
            - spec/models/patchedfile_file_repository_spec.rb
         | 
| 290 | 
            +
            - spec/models/task_group_operation_response_spec.rb
         | 
| 284 291 | 
             
            - spec/models/file_file_content_response_spec.rb
         | 
| 285 | 
            -
            - spec/models/ | 
| 292 | 
            +
            - spec/models/file_file_repository_response_spec.rb
         | 
| 293 | 
            +
            - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
         | 
| 294 | 
            +
            - spec/models/paginatedfile_file_remote_response_list_spec.rb
         | 
| 286 295 | 
             
            - spec/models/repository_version_response_spec.rb
         | 
| 296 | 
            +
            - spec/models/nested_role_response_spec.rb
         | 
| 297 | 
            +
            - spec/models/set_label_response_spec.rb
         | 
| 298 | 
            +
            - spec/models/file_file_alternate_content_source_response_spec.rb
         | 
| 299 | 
            +
            - spec/models/paginatedfile_file_publication_response_list_spec.rb
         | 
| 300 | 
            +
            - spec/models/content_summary_response_spec.rb
         | 
| 287 301 | 
             
            - spec/models/file_file_distribution_spec.rb
         | 
| 288 | 
            -
            - spec/models/ | 
| 289 | 
            -
            - spec/models/ | 
| 290 | 
            -
            - spec/models/my_permissions_response_spec.rb
         | 
| 291 | 
            -
            - spec/models/patchedfile_file_distribution_spec.rb
         | 
| 292 | 
            -
            - spec/models/file_file_distribution_response_spec.rb
         | 
| 293 | 
            -
            - spec/models/paginatedfile_file_remote_response_list_spec.rb
         | 
| 294 | 
            -
            - spec/models/file_file_remote_response_hidden_fields_spec.rb
         | 
| 295 | 
            -
            - spec/models/object_roles_response_spec.rb
         | 
| 296 | 
            -
            - spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
         | 
| 297 | 
            -
            - spec/models/patchedfile_file_repository_spec.rb
         | 
| 298 | 
            -
            - spec/models/file_file_content_spec.rb
         | 
| 302 | 
            +
            - spec/models/unset_label_spec.rb
         | 
| 303 | 
            +
            - spec/models/nested_role_spec.rb
         | 
| 299 304 | 
             
            - spec/models/file_file_remote_spec.rb
         | 
| 300 | 
            -
            - spec/models/file_file_repository_spec.rb
         | 
| 301 305 | 
             
            - spec/models/file_file_alternate_content_source_spec.rb
         | 
| 302 | 
            -
            - spec/models/set_label_response_spec.rb
         | 
| 303 | 
            -
            - spec/models/paginatedfile_file_distribution_response_list_spec.rb
         | 
| 304 | 
            -
            - spec/models/content_summary_response_spec.rb
         | 
| 305 | 
            -
            - spec/models/async_operation_response_spec.rb
         | 
| 306 306 | 
             
            - spec/spec_helper.rb
         |