pulpcore_client 3.23.2 → 3.23.3
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: 89b51eb37921ad89b21a792d9ccc9b1ef99b058f412c89a9ee95d1e8c59052d5
         | 
| 4 | 
            +
              data.tar.gz: 4b5dead00d6ef13800d5f949b103c8949639ab565b5648914fdb1fa772d911c2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e923b30bc3510c0f9ae9f8b47b1f3ad2679e8c17328326eaf33480537ed24eab0b368fc0951ffa15dd92d955bef1d5de17256c97848eb7a11f9474020e4ba367
         | 
| 7 | 
            +
              data.tar.gz: a6f861bf76dfc4327e4fe688fa61c0ed21a8bb2c41528e51599fa47ac27c1e20a0d100782e3a80b27fc4eb6e16a47040c53ae4e5a5d751f03bbcfd343b4d0c75
         | 
    
        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.3
         | 
| 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.3.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.3.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.3'
         | 
| 37 37 |  | 
| 38 38 | 
             
            ### Install from Git
         | 
| 39 39 |  | 
| @@ -4,12 +4,12 @@ | |
| 4 4 |  | 
| 5 5 | 
             
            Name | Type | Description | Notes
         | 
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 | 
            -
            **content_guard** | **String** | An optional content-guard. | [optional] 
         | 
| 8 | 
            -
            **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | 
         | 
| 9 | 
            -
            **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\") | 
         | 
| 10 | 
            -
            **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly] 
         | 
| 11 7 | 
             
            **pulp_href** | **String** |  | [optional] [readonly] 
         | 
| 12 8 | 
             
            **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] 
         | 
| 9 | 
            +
            **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | 
         | 
| 10 | 
            +
            **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly] 
         | 
| 11 | 
            +
            **content_guard** | **String** | An optional content-guard. | [optional] 
         | 
| 12 | 
            +
            **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\") | 
         | 
| 13 13 | 
             
            **pulp_labels** | **Hash<String, String>** |  | [optional] 
         | 
| 14 14 |  | 
| 15 15 | 
             
            ## Code Sample
         | 
| @@ -17,12 +17,12 @@ Name | Type | Description | Notes | |
| 17 17 | 
             
            ```ruby
         | 
| 18 18 | 
             
            require 'PulpcoreClient'
         | 
| 19 19 |  | 
| 20 | 
            -
            instance = PulpcoreClient::ArtifactDistributionResponse.new( | 
| 20 | 
            +
            instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
         | 
| 21 | 
            +
                                             base_url: null,
         | 
| 21 22 | 
             
                                             name: null,
         | 
| 22 | 
            -
                                             base_path: null,
         | 
| 23 23 | 
             
                                             pulp_created: null,
         | 
| 24 | 
            -
                                              | 
| 25 | 
            -
                                              | 
| 24 | 
            +
                                             content_guard: null,
         | 
| 25 | 
            +
                                             base_path: null,
         | 
| 26 26 | 
             
                                             pulp_labels: null)
         | 
| 27 27 | 
             
            ```
         | 
| 28 28 |  | 
| @@ -15,34 +15,34 @@ require 'date' | |
| 15 15 | 
             
            module PulpcoreClient
         | 
| 16 16 | 
             
              # A serializer for ArtifactDistribution.
         | 
| 17 17 | 
             
              class ArtifactDistributionResponse
         | 
| 18 | 
            -
                 | 
| 19 | 
            -
             | 
| 18 | 
            +
                attr_accessor :pulp_href
         | 
| 19 | 
            +
             | 
| 20 | 
            +
                # The URL for accessing the publication as defined by this distribution.
         | 
| 21 | 
            +
                attr_accessor :base_url
         | 
| 20 22 |  | 
| 21 23 | 
             
                # A unique name. Ex, `rawhide` and `stable`.
         | 
| 22 24 | 
             
                attr_accessor :name
         | 
| 23 25 |  | 
| 24 | 
            -
                # The base (relative) path component of the published url. Avoid paths that                     overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
         | 
| 25 | 
            -
                attr_accessor :base_path
         | 
| 26 | 
            -
             | 
| 27 26 | 
             
                # Timestamp of creation.
         | 
| 28 27 | 
             
                attr_accessor :pulp_created
         | 
| 29 28 |  | 
| 30 | 
            -
                 | 
| 29 | 
            +
                # An optional content-guard.
         | 
| 30 | 
            +
                attr_accessor :content_guard
         | 
| 31 31 |  | 
| 32 | 
            -
                # The  | 
| 33 | 
            -
                attr_accessor : | 
| 32 | 
            +
                # The base (relative) path component of the published url. Avoid paths that                     overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
         | 
| 33 | 
            +
                attr_accessor :base_path
         | 
| 34 34 |  | 
| 35 35 | 
             
                attr_accessor :pulp_labels
         | 
| 36 36 |  | 
| 37 37 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 38 38 | 
             
                def self.attribute_map
         | 
| 39 39 | 
             
                  {
         | 
| 40 | 
            -
                    :'content_guard' => :'content_guard',
         | 
| 41 | 
            -
                    :'name' => :'name',
         | 
| 42 | 
            -
                    :'base_path' => :'base_path',
         | 
| 43 | 
            -
                    :'pulp_created' => :'pulp_created',
         | 
| 44 40 | 
             
                    :'pulp_href' => :'pulp_href',
         | 
| 45 41 | 
             
                    :'base_url' => :'base_url',
         | 
| 42 | 
            +
                    :'name' => :'name',
         | 
| 43 | 
            +
                    :'pulp_created' => :'pulp_created',
         | 
| 44 | 
            +
                    :'content_guard' => :'content_guard',
         | 
| 45 | 
            +
                    :'base_path' => :'base_path',
         | 
| 46 46 | 
             
                    :'pulp_labels' => :'pulp_labels'
         | 
| 47 47 | 
             
                  }
         | 
| 48 48 | 
             
                end
         | 
| @@ -50,12 +50,12 @@ module PulpcoreClient | |
| 50 50 | 
             
                # Attribute type mapping.
         | 
| 51 51 | 
             
                def self.openapi_types
         | 
| 52 52 | 
             
                  {
         | 
| 53 | 
            -
                    :'content_guard' => :'String',
         | 
| 54 | 
            -
                    :'name' => :'String',
         | 
| 55 | 
            -
                    :'base_path' => :'String',
         | 
| 56 | 
            -
                    :'pulp_created' => :'DateTime',
         | 
| 57 53 | 
             
                    :'pulp_href' => :'String',
         | 
| 58 54 | 
             
                    :'base_url' => :'String',
         | 
| 55 | 
            +
                    :'name' => :'String',
         | 
| 56 | 
            +
                    :'pulp_created' => :'DateTime',
         | 
| 57 | 
            +
                    :'content_guard' => :'String',
         | 
| 58 | 
            +
                    :'base_path' => :'String',
         | 
| 59 59 | 
             
                    :'pulp_labels' => :'Hash<String, String>'
         | 
| 60 60 | 
             
                  }
         | 
| 61 61 | 
             
                end
         | 
| @@ -82,28 +82,28 @@ module PulpcoreClient | |
| 82 82 | 
             
                    h[k.to_sym] = v
         | 
| 83 83 | 
             
                  }
         | 
| 84 84 |  | 
| 85 | 
            -
                  if attributes.key?(:' | 
| 86 | 
            -
                    self. | 
| 85 | 
            +
                  if attributes.key?(:'pulp_href')
         | 
| 86 | 
            +
                    self.pulp_href = attributes[:'pulp_href']
         | 
| 87 87 | 
             
                  end
         | 
| 88 88 |  | 
| 89 | 
            -
                  if attributes.key?(:' | 
| 90 | 
            -
                    self. | 
| 89 | 
            +
                  if attributes.key?(:'base_url')
         | 
| 90 | 
            +
                    self.base_url = attributes[:'base_url']
         | 
| 91 91 | 
             
                  end
         | 
| 92 92 |  | 
| 93 | 
            -
                  if attributes.key?(:' | 
| 94 | 
            -
                    self. | 
| 93 | 
            +
                  if attributes.key?(:'name')
         | 
| 94 | 
            +
                    self.name = attributes[:'name']
         | 
| 95 95 | 
             
                  end
         | 
| 96 96 |  | 
| 97 97 | 
             
                  if attributes.key?(:'pulp_created')
         | 
| 98 98 | 
             
                    self.pulp_created = attributes[:'pulp_created']
         | 
| 99 99 | 
             
                  end
         | 
| 100 100 |  | 
| 101 | 
            -
                  if attributes.key?(:' | 
| 102 | 
            -
                    self. | 
| 101 | 
            +
                  if attributes.key?(:'content_guard')
         | 
| 102 | 
            +
                    self.content_guard = attributes[:'content_guard']
         | 
| 103 103 | 
             
                  end
         | 
| 104 104 |  | 
| 105 | 
            -
                  if attributes.key?(:' | 
| 106 | 
            -
                    self. | 
| 105 | 
            +
                  if attributes.key?(:'base_path')
         | 
| 106 | 
            +
                    self.base_path = attributes[:'base_path']
         | 
| 107 107 | 
             
                  end
         | 
| 108 108 |  | 
| 109 109 | 
             
                  if attributes.key?(:'pulp_labels')
         | 
| @@ -141,12 +141,12 @@ module PulpcoreClient | |
| 141 141 | 
             
                def ==(o)
         | 
| 142 142 | 
             
                  return true if self.equal?(o)
         | 
| 143 143 | 
             
                  self.class == o.class &&
         | 
| 144 | 
            -
                      content_guard == o.content_guard &&
         | 
| 145 | 
            -
                      name == o.name &&
         | 
| 146 | 
            -
                      base_path == o.base_path &&
         | 
| 147 | 
            -
                      pulp_created == o.pulp_created &&
         | 
| 148 144 | 
             
                      pulp_href == o.pulp_href &&
         | 
| 149 145 | 
             
                      base_url == o.base_url &&
         | 
| 146 | 
            +
                      name == o.name &&
         | 
| 147 | 
            +
                      pulp_created == o.pulp_created &&
         | 
| 148 | 
            +
                      content_guard == o.content_guard &&
         | 
| 149 | 
            +
                      base_path == o.base_path &&
         | 
| 150 150 | 
             
                      pulp_labels == o.pulp_labels
         | 
| 151 151 | 
             
                end
         | 
| 152 152 |  | 
| @@ -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 | 
            -
                  [ | 
| 162 | 
            +
                  [pulp_href, base_url, name, pulp_created, content_guard, base_path, pulp_labels].hash
         | 
| 163 163 | 
             
                end
         | 
| 164 164 |  | 
| 165 165 | 
             
                # Builds the object from hash
         | 
| @@ -32,19 +32,19 @@ describe 'ArtifactDistributionResponse' do | |
| 32 32 | 
             
                  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
         | 
| 33 33 | 
             
                end
         | 
| 34 34 | 
             
              end
         | 
| 35 | 
            -
              describe 'test attribute " | 
| 35 | 
            +
              describe 'test attribute "pulp_href"' do
         | 
| 36 36 | 
             
                it 'should work' do
         | 
| 37 37 | 
             
                  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
         | 
| 38 38 | 
             
                end
         | 
| 39 39 | 
             
              end
         | 
| 40 40 |  | 
| 41 | 
            -
              describe 'test attribute " | 
| 41 | 
            +
              describe 'test attribute "base_url"' 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
         | 
| @@ -56,13 +56,13 @@ describe 'ArtifactDistributionResponse' do | |
| 56 56 | 
             
                end
         | 
| 57 57 | 
             
              end
         | 
| 58 58 |  | 
| 59 | 
            -
              describe 'test attribute " | 
| 59 | 
            +
              describe 'test attribute "content_guard"' 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_path"' 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
         | 
    
        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.3
         | 
| 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-04- | 
| 11 | 
            +
            date: 2023-04-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |