pulpcore_client 3.23.19 → 3.23.20
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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b9abc66c9d3f969f0c7d13dcb8f89a813a63a1360b511d5fe4015b620952efd5
         | 
| 4 | 
            +
              data.tar.gz: 5b403c495abaa9df1a6681ef84f3100504b5ae983a4f85ce8dc4dab599881122
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 433fb7a7a4ce586be92a165f08748a7a86e4bc9b5b692125fa6e9fb373028ca1c3d855dc05a9a0ab5650387a96b5b59d8457cc0a17dcb87c10502817eb88d41a
         | 
| 7 | 
            +
              data.tar.gz: 2c14541c5fa4cebef683ad3752b9ce1e60c4a23d68f45ac9478103b1dbe11409cd212231c59ba7695d33076528c75370fe166ffdefd7274ead3283b346b3e959
         | 
    
        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.23. | 
| 10 | 
            +
            - Package version: 3.23.20
         | 
| 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 pulpcore_client.gemspec | |
| 24 24 | 
             
            Then either install the gem locally:
         | 
| 25 25 |  | 
| 26 26 | 
             
            ```shell
         | 
| 27 | 
            -
            gem install ./pulpcore_client-3.23. | 
| 27 | 
            +
            gem install ./pulpcore_client-3.23.20.gem
         | 
| 28 28 | 
             
            ```
         | 
| 29 29 |  | 
| 30 | 
            -
            (for development, run `gem install --dev ./pulpcore_client-3.23. | 
| 30 | 
            +
            (for development, run `gem install --dev ./pulpcore_client-3.23.20.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 'pulpcore_client', '~> 3.23. | 
| 36 | 
            +
                gem 'pulpcore_client', '~> 3.23.20'
         | 
| 37 37 |  | 
| 38 38 | 
             
            ### Install from Git
         | 
| 39 39 |  | 
| @@ -5,12 +5,12 @@ | |
| 5 5 | 
             
            Name | Type | Description | Notes
         | 
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 7 | 
             
            **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that                     overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | 
         | 
| 8 | 
            -
            **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] 
         | 
| 9 | 
            -
            **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly] 
         | 
| 10 8 | 
             
            **pulp_labels** | **Hash<String, String>** |  | [optional] 
         | 
| 11 9 | 
             
            **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | 
         | 
| 12 10 | 
             
            **content_guard** | **String** | An optional content-guard. | [optional] 
         | 
| 13 11 | 
             
            **pulp_href** | **String** |  | [optional] [readonly] 
         | 
| 12 | 
            +
            **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] 
         | 
| 13 | 
            +
            **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly] 
         | 
| 14 14 |  | 
| 15 15 | 
             
            ## Code Sample
         | 
| 16 16 |  | 
| @@ -18,12 +18,12 @@ Name | Type | Description | Notes | |
| 18 18 | 
             
            require 'PulpcoreClient'
         | 
| 19 19 |  | 
| 20 20 | 
             
            instance = PulpcoreClient::ArtifactDistributionResponse.new(base_path: null,
         | 
| 21 | 
            -
                                             base_url: null,
         | 
| 22 | 
            -
                                             pulp_created: null,
         | 
| 23 21 | 
             
                                             pulp_labels: null,
         | 
| 24 22 | 
             
                                             name: null,
         | 
| 25 23 | 
             
                                             content_guard: null,
         | 
| 26 | 
            -
                                             pulp_href: null | 
| 24 | 
            +
                                             pulp_href: null,
         | 
| 25 | 
            +
                                             base_url: null,
         | 
| 26 | 
            +
                                             pulp_created: null)
         | 
| 27 27 | 
             
            ```
         | 
| 28 28 |  | 
| 29 29 |  | 
| @@ -18,12 +18,6 @@ module PulpcoreClient | |
| 18 18 | 
             
                # The base (relative) path component of the published url. Avoid paths that                     overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
         | 
| 19 19 | 
             
                attr_accessor :base_path
         | 
| 20 20 |  | 
| 21 | 
            -
                # The URL for accessing the publication as defined by this distribution.
         | 
| 22 | 
            -
                attr_accessor :base_url
         | 
| 23 | 
            -
             | 
| 24 | 
            -
                # Timestamp of creation.
         | 
| 25 | 
            -
                attr_accessor :pulp_created
         | 
| 26 | 
            -
             | 
| 27 21 | 
             
                attr_accessor :pulp_labels
         | 
| 28 22 |  | 
| 29 23 | 
             
                # A unique name. Ex, `rawhide` and `stable`.
         | 
| @@ -34,16 +28,22 @@ module PulpcoreClient | |
| 34 28 |  | 
| 35 29 | 
             
                attr_accessor :pulp_href
         | 
| 36 30 |  | 
| 31 | 
            +
                # The URL for accessing the publication as defined by this distribution.
         | 
| 32 | 
            +
                attr_accessor :base_url
         | 
| 33 | 
            +
             | 
| 34 | 
            +
                # Timestamp of creation.
         | 
| 35 | 
            +
                attr_accessor :pulp_created
         | 
| 36 | 
            +
             | 
| 37 37 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 38 38 | 
             
                def self.attribute_map
         | 
| 39 39 | 
             
                  {
         | 
| 40 40 | 
             
                    :'base_path' => :'base_path',
         | 
| 41 | 
            -
                    :'base_url' => :'base_url',
         | 
| 42 | 
            -
                    :'pulp_created' => :'pulp_created',
         | 
| 43 41 | 
             
                    :'pulp_labels' => :'pulp_labels',
         | 
| 44 42 | 
             
                    :'name' => :'name',
         | 
| 45 43 | 
             
                    :'content_guard' => :'content_guard',
         | 
| 46 | 
            -
                    :'pulp_href' => :'pulp_href'
         | 
| 44 | 
            +
                    :'pulp_href' => :'pulp_href',
         | 
| 45 | 
            +
                    :'base_url' => :'base_url',
         | 
| 46 | 
            +
                    :'pulp_created' => :'pulp_created'
         | 
| 47 47 | 
             
                  }
         | 
| 48 48 | 
             
                end
         | 
| 49 49 |  | 
| @@ -51,12 +51,12 @@ module PulpcoreClient | |
| 51 51 | 
             
                def self.openapi_types
         | 
| 52 52 | 
             
                  {
         | 
| 53 53 | 
             
                    :'base_path' => :'String',
         | 
| 54 | 
            -
                    :'base_url' => :'String',
         | 
| 55 | 
            -
                    :'pulp_created' => :'DateTime',
         | 
| 56 54 | 
             
                    :'pulp_labels' => :'Hash<String, String>',
         | 
| 57 55 | 
             
                    :'name' => :'String',
         | 
| 58 56 | 
             
                    :'content_guard' => :'String',
         | 
| 59 | 
            -
                    :'pulp_href' => :'String'
         | 
| 57 | 
            +
                    :'pulp_href' => :'String',
         | 
| 58 | 
            +
                    :'base_url' => :'String',
         | 
| 59 | 
            +
                    :'pulp_created' => :'DateTime'
         | 
| 60 60 | 
             
                  }
         | 
| 61 61 | 
             
                end
         | 
| 62 62 |  | 
| @@ -86,14 +86,6 @@ module PulpcoreClient | |
| 86 86 | 
             
                    self.base_path = attributes[:'base_path']
         | 
| 87 87 | 
             
                  end
         | 
| 88 88 |  | 
| 89 | 
            -
                  if attributes.key?(:'base_url')
         | 
| 90 | 
            -
                    self.base_url = attributes[:'base_url']
         | 
| 91 | 
            -
                  end
         | 
| 92 | 
            -
             | 
| 93 | 
            -
                  if attributes.key?(:'pulp_created')
         | 
| 94 | 
            -
                    self.pulp_created = attributes[:'pulp_created']
         | 
| 95 | 
            -
                  end
         | 
| 96 | 
            -
             | 
| 97 89 | 
             
                  if attributes.key?(:'pulp_labels')
         | 
| 98 90 | 
             
                    if (value = attributes[:'pulp_labels']).is_a?(Hash)
         | 
| 99 91 | 
             
                      self.pulp_labels = value
         | 
| @@ -111,6 +103,14 @@ module PulpcoreClient | |
| 111 103 | 
             
                  if attributes.key?(:'pulp_href')
         | 
| 112 104 | 
             
                    self.pulp_href = attributes[:'pulp_href']
         | 
| 113 105 | 
             
                  end
         | 
| 106 | 
            +
             | 
| 107 | 
            +
                  if attributes.key?(:'base_url')
         | 
| 108 | 
            +
                    self.base_url = attributes[:'base_url']
         | 
| 109 | 
            +
                  end
         | 
| 110 | 
            +
             | 
| 111 | 
            +
                  if attributes.key?(:'pulp_created')
         | 
| 112 | 
            +
                    self.pulp_created = attributes[:'pulp_created']
         | 
| 113 | 
            +
                  end
         | 
| 114 114 | 
             
                end
         | 
| 115 115 |  | 
| 116 116 | 
             
                # Show invalid properties with the reasons. Usually used together with valid?
         | 
| @@ -142,12 +142,12 @@ module PulpcoreClient | |
| 142 142 | 
             
                  return true if self.equal?(o)
         | 
| 143 143 | 
             
                  self.class == o.class &&
         | 
| 144 144 | 
             
                      base_path == o.base_path &&
         | 
| 145 | 
            -
                      base_url == o.base_url &&
         | 
| 146 | 
            -
                      pulp_created == o.pulp_created &&
         | 
| 147 145 | 
             
                      pulp_labels == o.pulp_labels &&
         | 
| 148 146 | 
             
                      name == o.name &&
         | 
| 149 147 | 
             
                      content_guard == o.content_guard &&
         | 
| 150 | 
            -
                      pulp_href == o.pulp_href
         | 
| 148 | 
            +
                      pulp_href == o.pulp_href &&
         | 
| 149 | 
            +
                      base_url == o.base_url &&
         | 
| 150 | 
            +
                      pulp_created == o.pulp_created
         | 
| 151 151 | 
             
                end
         | 
| 152 152 |  | 
| 153 153 | 
             
                # @see the `==` method
         | 
| @@ -159,7 +159,7 @@ module PulpcoreClient | |
| 159 159 | 
             
                # Calculates hash code according to all attributes.
         | 
| 160 160 | 
             
                # @return [Integer] Hash code
         | 
| 161 161 | 
             
                def hash
         | 
| 162 | 
            -
                  [base_path,  | 
| 162 | 
            +
                  [base_path, pulp_labels, name, content_guard, pulp_href, base_url, pulp_created].hash
         | 
| 163 163 | 
             
                end
         | 
| 164 164 |  | 
| 165 165 | 
             
                # Builds the object from hash
         | 
| @@ -38,37 +38,37 @@ describe 'ArtifactDistributionResponse' do | |
| 38 38 | 
             
                end
         | 
| 39 39 | 
             
              end
         | 
| 40 40 |  | 
| 41 | 
            -
              describe 'test attribute " | 
| 41 | 
            +
              describe 'test attribute "pulp_labels"' do
         | 
| 42 42 | 
             
                it 'should work' do
         | 
| 43 43 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 44 44 | 
             
                end
         | 
| 45 45 | 
             
              end
         | 
| 46 46 |  | 
| 47 | 
            -
              describe 'test attribute " | 
| 47 | 
            +
              describe 'test attribute "name"' do
         | 
| 48 48 | 
             
                it 'should work' do
         | 
| 49 49 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 50 50 | 
             
                end
         | 
| 51 51 | 
             
              end
         | 
| 52 52 |  | 
| 53 | 
            -
              describe 'test attribute " | 
| 53 | 
            +
              describe 'test attribute "content_guard"' do
         | 
| 54 54 | 
             
                it 'should work' do
         | 
| 55 55 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 56 56 | 
             
                end
         | 
| 57 57 | 
             
              end
         | 
| 58 58 |  | 
| 59 | 
            -
              describe 'test attribute " | 
| 59 | 
            +
              describe 'test attribute "pulp_href"' do
         | 
| 60 60 | 
             
                it 'should work' do
         | 
| 61 61 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 62 62 | 
             
                end
         | 
| 63 63 | 
             
              end
         | 
| 64 64 |  | 
| 65 | 
            -
              describe 'test attribute " | 
| 65 | 
            +
              describe 'test attribute "base_url"' do
         | 
| 66 66 | 
             
                it 'should work' do
         | 
| 67 67 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 68 68 | 
             
                end
         | 
| 69 69 | 
             
              end
         | 
| 70 70 |  | 
| 71 | 
            -
              describe 'test attribute " | 
| 71 | 
            +
              describe 'test attribute "pulp_created"' do
         | 
| 72 72 | 
             
                it 'should work' do
         | 
| 73 73 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 74 74 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: pulpcore_client
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.23. | 
| 4 | 
            +
              version: 3.23.20
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OpenAPI-Generator
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023-10- | 
| 11 | 
            +
            date: 2023-10-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |