pulp_file_client 0.1.0b2.dev01564510922 → 0.1.0b2.dev01564597330
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.
Potentially problematic release.
This version of pulp_file_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FileContent.md +3 -3
- data/lib/pulp_file_client/models/file_content.rb +10 -10
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/models/file_content_spec.rb +2 -2
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1d47a94dbc55d519b67cc954068573962b5e1fcf2f38138d96c4fec1842377ae
         | 
| 4 | 
            +
              data.tar.gz: 64386f7248e9f3684ee454df15e30949cf1cfe999767fd8d169c8b91204570a5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a83ae9598f5db2a0501eab307c94750eb67359e52c60fe0df9ef57a2546033ecf3619beebc3b882008d75c88186eeb774ab9d2d46b9e7430eb70d402fbdf4300
         | 
| 7 | 
            +
              data.tar.gz: a0b10d436fff759700a9aa5dd4361f9a1f0b08606fa196a3597acb7c39c9cdede08257cdb532bedfaf7b893477ac28d9bacd4cb92d74a7bcb3d31cee7d69b436
         | 
    
        data/README.md
    CHANGED
    
    | @@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena | |
| 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: 0.1.0b2. | 
| 10 | 
            +
            - Package version: 0.1.0b2.dev01564597330
         | 
| 11 11 | 
             
            - Build package: org.openapitools.codegen.languages.RubyClientCodegen
         | 
| 12 12 |  | 
| 13 13 | 
             
            ## Installation
         | 
| @@ -23,16 +23,16 @@ gem build pulp_file_client.gemspec | |
| 23 23 | 
             
            Then either install the gem locally:
         | 
| 24 24 |  | 
| 25 25 | 
             
            ```shell
         | 
| 26 | 
            -
            gem install ./pulp_file_client-0.1.0b2. | 
| 26 | 
            +
            gem install ./pulp_file_client-0.1.0b2.dev01564597330.gem
         | 
| 27 27 | 
             
            ```
         | 
| 28 28 |  | 
| 29 | 
            -
            (for development, run `gem install --dev ./pulp_file_client-0.1.0b2. | 
| 29 | 
            +
            (for development, run `gem install --dev ./pulp_file_client-0.1.0b2.dev01564597330.gem` to install the development dependencies)
         | 
| 30 30 |  | 
| 31 31 | 
             
            or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
         | 
| 32 32 |  | 
| 33 33 | 
             
            Finally add this to the Gemfile:
         | 
| 34 34 |  | 
| 35 | 
            -
                gem 'pulp_file_client', '~> 0.1.0b2. | 
| 35 | 
            +
                gem 'pulp_file_client', '~> 0.1.0b2.dev01564597330'
         | 
| 36 36 |  | 
| 37 37 | 
             
            ### Install from Git
         | 
| 38 38 |  | 
    
        data/docs/FileContent.md
    CHANGED
    
    | @@ -4,8 +4,8 @@ | |
| 4 4 |  | 
| 5 5 | 
             
            Name | Type | Description | Notes
         | 
| 6 6 | 
             
            ------------ | ------------- | ------------- | -------------
         | 
| 7 | 
            -
            **_created** | **DateTime** | Timestamp of creation. | [optional] 
         | 
| 8 7 | 
             
            **_href** | **String** |  | [optional] 
         | 
| 8 | 
            +
            **_created** | **DateTime** | Timestamp of creation. | [optional] 
         | 
| 9 9 | 
             
            **_artifact** | **String** | Artifact file representing the physical content | 
         | 
| 10 10 | 
             
            **_type** | **String** |  | [optional] 
         | 
| 11 11 | 
             
            **md5** | **String** | The MD5 checksum if available. | [optional] 
         | 
| @@ -21,8 +21,8 @@ Name | Type | Description | Notes | |
| 21 21 | 
             
            ```ruby
         | 
| 22 22 | 
             
            require 'PulpFileClient'
         | 
| 23 23 |  | 
| 24 | 
            -
            instance = PulpFileClient::FileContent.new( | 
| 25 | 
            -
                                              | 
| 24 | 
            +
            instance = PulpFileClient::FileContent.new(_href: null,
         | 
| 25 | 
            +
                                             _created: null,
         | 
| 26 26 | 
             
                                             _artifact: null,
         | 
| 27 27 | 
             
                                             _type: null,
         | 
| 28 28 | 
             
                                             md5: null,
         | 
| @@ -14,11 +14,11 @@ require 'date' | |
| 14 14 |  | 
| 15 15 | 
             
            module PulpFileClient
         | 
| 16 16 | 
             
              class FileContent
         | 
| 17 | 
            +
                attr_accessor :_href
         | 
| 18 | 
            +
             | 
| 17 19 | 
             
                # Timestamp of creation.
         | 
| 18 20 | 
             
                attr_accessor :_created
         | 
| 19 21 |  | 
| 20 | 
            -
                attr_accessor :_href
         | 
| 21 | 
            -
             | 
| 22 22 | 
             
                # Artifact file representing the physical content
         | 
| 23 23 | 
             
                attr_accessor :_artifact
         | 
| 24 24 |  | 
| @@ -48,8 +48,8 @@ module PulpFileClient | |
| 48 48 | 
             
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 49 49 | 
             
                def self.attribute_map
         | 
| 50 50 | 
             
                  {
         | 
| 51 | 
            -
                    :'_created' => :'_created',
         | 
| 52 51 | 
             
                    :'_href' => :'_href',
         | 
| 52 | 
            +
                    :'_created' => :'_created',
         | 
| 53 53 | 
             
                    :'_artifact' => :'_artifact',
         | 
| 54 54 | 
             
                    :'_type' => :'_type',
         | 
| 55 55 | 
             
                    :'md5' => :'md5',
         | 
| @@ -65,8 +65,8 @@ module PulpFileClient | |
| 65 65 | 
             
                # Attribute type mapping.
         | 
| 66 66 | 
             
                def self.openapi_types
         | 
| 67 67 | 
             
                  {
         | 
| 68 | 
            -
                    :'_created' => :'DateTime',
         | 
| 69 68 | 
             
                    :'_href' => :'String',
         | 
| 69 | 
            +
                    :'_created' => :'DateTime',
         | 
| 70 70 | 
             
                    :'_artifact' => :'String',
         | 
| 71 71 | 
             
                    :'_type' => :'String',
         | 
| 72 72 | 
             
                    :'md5' => :'String',
         | 
| @@ -94,14 +94,14 @@ module PulpFileClient | |
| 94 94 | 
             
                    h[k.to_sym] = v
         | 
| 95 95 | 
             
                  }
         | 
| 96 96 |  | 
| 97 | 
            -
                  if attributes.key?(:'_created')
         | 
| 98 | 
            -
                    self._created = attributes[:'_created']
         | 
| 99 | 
            -
                  end
         | 
| 100 | 
            -
             | 
| 101 97 | 
             
                  if attributes.key?(:'_href')
         | 
| 102 98 | 
             
                    self._href = attributes[:'_href']
         | 
| 103 99 | 
             
                  end
         | 
| 104 100 |  | 
| 101 | 
            +
                  if attributes.key?(:'_created')
         | 
| 102 | 
            +
                    self._created = attributes[:'_created']
         | 
| 103 | 
            +
                  end
         | 
| 104 | 
            +
             | 
| 105 105 | 
             
                  if attributes.key?(:'_artifact')
         | 
| 106 106 | 
             
                    self._artifact = attributes[:'_artifact']
         | 
| 107 107 | 
             
                  end
         | 
| @@ -291,8 +291,8 @@ module PulpFileClient | |
| 291 291 | 
             
                def ==(o)
         | 
| 292 292 | 
             
                  return true if self.equal?(o)
         | 
| 293 293 | 
             
                  self.class == o.class &&
         | 
| 294 | 
            -
                      _created == o._created &&
         | 
| 295 294 | 
             
                      _href == o._href &&
         | 
| 295 | 
            +
                      _created == o._created &&
         | 
| 296 296 | 
             
                      _artifact == o._artifact &&
         | 
| 297 297 | 
             
                      _type == o._type &&
         | 
| 298 298 | 
             
                      md5 == o.md5 &&
         | 
| @@ -313,7 +313,7 @@ module PulpFileClient | |
| 313 313 | 
             
                # Calculates hash code according to all attributes.
         | 
| 314 314 | 
             
                # @return [Integer] Hash code
         | 
| 315 315 | 
             
                def hash
         | 
| 316 | 
            -
                  [ | 
| 316 | 
            +
                  [_href, _created, _artifact, _type, md5, sha1, sha224, sha256, sha384, sha512, relative_path].hash
         | 
| 317 317 | 
             
                end
         | 
| 318 318 |  | 
| 319 319 | 
             
                # Builds the object from hash
         | 
| @@ -32,13 +32,13 @@ describe 'FileContent' do | |
| 32 32 | 
             
                  expect(@instance).to be_instance_of(PulpFileClient::FileContent)
         | 
| 33 33 | 
             
                end
         | 
| 34 34 | 
             
              end
         | 
| 35 | 
            -
              describe 'test attribute " | 
| 35 | 
            +
              describe 'test attribute "_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 "_created"' 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
         | 
    
        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: 0.1.0b2. | 
| 4 | 
            +
              version: 0.1.0b2.dev01564597330
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - OpenAPI-Generator
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2019-07- | 
| 11 | 
            +
            date: 2019-07-31 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |