pulp_rpm_client 3.0.0b4.dev0.1561218860 → 3.0.0b4.dev0.1561305239

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_rpm_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 660f0f574b847701c875abe90e272ad7f74aff9cc4d4a447525975e2ad1f7fb7
4
- data.tar.gz: c85a4576c6aa1ef6610c8681e446e8f11c698c29bd5888c116e43a620acbea1c
3
+ metadata.gz: 7371a397ca2eda2e304d8a0f5ed343c3a9cecc210962d8f11807b9bc0b326513
4
+ data.tar.gz: 6a2b8cdad704b988a8e09afe6cf35c7b6a98eebc9c91dfa53424a26c6e55caa6
5
5
  SHA512:
6
- metadata.gz: 4881adb89ab9041d3943f7207c17a02a948df2fa00ecc7570c0790cce5744c5d84aef4d184dc373a251a3c538035b4b6cf57faeb6dd34c4e73aa750c6e3ff13b
7
- data.tar.gz: 2c9dff923d799a173eb3c291e3dbb057b8999f4692bd175c475daa6bf893c513c0e1a71fe651da2f05a9c3f5184885d59b0cce6c7f60cbde6ea4f1b4ccf22145
6
+ metadata.gz: 1ca08c771421152be7b729806a8bcdda20d1f9845d3fb930e2d27d5920baed4f28467a483c5d04888134e5eec55c1ec914c5abc3e5511ad0a2dbe1bc2b82cd61
7
+ data.tar.gz: 558ec17d9bcfee1d1318997fafae5de2dcc2cb609ebcfb1cd156767c672937bbaf0ba7fc999c6f9f3984f529a28db698c1883fbbe22d7eefac6a637aaa7613e6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pulp_rpm_client (3.0.0b4.dev0.1561218860)
4
+ pulp_rpm_client (3.0.0b4.dev0.1561305239)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
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: 3.0.0b4.dev0.1561218860
10
+ - Package version: 3.0.0b4.dev0.1561305239
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_rpm_client-3.0.0b4.dev0.1561218860.gem
26
+ gem install ./pulp_rpm_client-3.0.0b4.dev0.1561305239.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561218860.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561305239.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_rpm_client', '~> 3.0.0b4.dev0.1561218860'
35
+ gem 'pulp_rpm_client', '~> 3.0.0b4.dev0.1561305239'
36
36
 
37
37
  ### Install from Git
38
38
 
data/docs/Package.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **_type** | **String** | | [optional]
7
8
  **_href** | **String** | | [optional]
8
9
  **_artifact** | **String** | Artifact file representing the physical content |
9
10
  **_created** | **DateTime** | Timestamp of creation. | [optional]
10
- **_type** | **String** | | [optional]
11
11
  **name** | **String** | Name of the package |
12
12
  **epoch** | **String** | The package's epoch | [optional]
13
13
  **version** | **String** | The version of the package. For example, '2.8.0' |
@@ -50,10 +50,10 @@ Name | Type | Description | Notes
50
50
  ```ruby
51
51
  require 'PulpRpmClient'
52
52
 
53
- instance = PulpRpmClient::Package.new(_href: null,
53
+ instance = PulpRpmClient::Package.new(_type: null,
54
+ _href: null,
54
55
  _artifact: null,
55
56
  _created: null,
56
- _type: null,
57
57
  name: null,
58
58
  epoch: null,
59
59
  version: null,
@@ -14,6 +14,8 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class Package
17
+ attr_accessor :_type
18
+
17
19
  attr_accessor :_href
18
20
 
19
21
  # Artifact file representing the physical content
@@ -22,8 +24,6 @@ module PulpRpmClient
22
24
  # Timestamp of creation.
23
25
  attr_accessor :_created
24
26
 
25
- attr_accessor :_type
26
-
27
27
  # Name of the package
28
28
  attr_accessor :name
29
29
 
@@ -135,10 +135,10 @@ module PulpRpmClient
135
135
  # Attribute mapping from ruby-style variable name to JSON key.
136
136
  def self.attribute_map
137
137
  {
138
+ :'_type' => :'_type',
138
139
  :'_href' => :'_href',
139
140
  :'_artifact' => :'_artifact',
140
141
  :'_created' => :'_created',
141
- :'_type' => :'_type',
142
142
  :'name' => :'name',
143
143
  :'epoch' => :'epoch',
144
144
  :'version' => :'version',
@@ -181,10 +181,10 @@ module PulpRpmClient
181
181
  # Attribute type mapping.
182
182
  def self.openapi_types
183
183
  {
184
+ :'_type' => :'String',
184
185
  :'_href' => :'String',
185
186
  :'_artifact' => :'String',
186
187
  :'_created' => :'DateTime',
187
- :'_type' => :'String',
188
188
  :'name' => :'String',
189
189
  :'epoch' => :'String',
190
190
  :'version' => :'String',
@@ -239,6 +239,10 @@ module PulpRpmClient
239
239
  h[k.to_sym] = v
240
240
  }
241
241
 
242
+ if attributes.key?(:'_type')
243
+ self._type = attributes[:'_type']
244
+ end
245
+
242
246
  if attributes.key?(:'_href')
243
247
  self._href = attributes[:'_href']
244
248
  end
@@ -251,10 +255,6 @@ module PulpRpmClient
251
255
  self._created = attributes[:'_created']
252
256
  end
253
257
 
254
- if attributes.key?(:'_type')
255
- self._type = attributes[:'_type']
256
- end
257
-
258
258
  if attributes.key?(:'name')
259
259
  self.name = attributes[:'name']
260
260
  end
@@ -424,14 +424,14 @@ module PulpRpmClient
424
424
  # @return Array for valid properties with the reasons
425
425
  def list_invalid_properties
426
426
  invalid_properties = Array.new
427
- if @_artifact.nil?
428
- invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
429
- end
430
-
431
427
  if !@_type.nil? && @_type.to_s.length < 1
432
428
  invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
433
429
  end
434
430
 
431
+ if @_artifact.nil?
432
+ invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
433
+ end
434
+
435
435
  if @name.nil?
436
436
  invalid_properties.push('invalid value for "name", name cannot be nil.')
437
437
  end
@@ -566,8 +566,8 @@ module PulpRpmClient
566
566
  # Check to see if the all the properties in the model are valid
567
567
  # @return true if the model is valid
568
568
  def valid?
569
- return false if @_artifact.nil?
570
569
  return false if !@_type.nil? && @_type.to_s.length < 1
570
+ return false if @_artifact.nil?
571
571
  return false if @name.nil?
572
572
  return false if @name.to_s.length < 1
573
573
  return false if @version.nil?
@@ -816,10 +816,10 @@ module PulpRpmClient
816
816
  def ==(o)
817
817
  return true if self.equal?(o)
818
818
  self.class == o.class &&
819
+ _type == o._type &&
819
820
  _href == o._href &&
820
821
  _artifact == o._artifact &&
821
822
  _created == o._created &&
822
- _type == o._type &&
823
823
  name == o.name &&
824
824
  epoch == o.epoch &&
825
825
  version == o.version &&
@@ -867,7 +867,7 @@ module PulpRpmClient
867
867
  # Calculates hash code according to all attributes.
868
868
  # @return [Integer] Hash code
869
869
  def hash
870
- [_href, _artifact, _created, _type, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, size_archive, size_installed, size_package, time_build, time_file, relative_path].hash
870
+ [_type, _href, _artifact, _created, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, size_archive, size_installed, size_package, time_build, time_file, relative_path].hash
871
871
  end
872
872
 
873
873
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.0.0b4.dev0.1561218860'
14
+ VERSION = '3.0.0b4.dev0.1561305239'
15
15
  end
@@ -32,25 +32,25 @@ describe 'Package' do
32
32
  expect(@instance).to be_instance_of(PulpRpmClient::Package)
33
33
  end
34
34
  end
35
- describe 'test attribute "_href"' do
35
+ describe 'test attribute "_type"' 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 "_artifact"' do
41
+ describe 'test attribute "_href"' 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 "_created"' do
47
+ describe 'test attribute "_artifact"' 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 "_type"' do
53
+ describe 'test attribute "_created"' 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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0b4.dev0.1561218860
4
+ version: 3.0.0b4.dev0.1561305239
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-06-22 00:00:00.000000000 Z
11
+ date: 2019-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus