pulp_rpm_client 3.0.0b4.dev0.1561046267 → 3.0.0b4.dev0.1561132565

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: 999d8dda4fb8289950d4b310b2aa5015b4b8b603fbd68258cd77dd4e87c6774c
4
- data.tar.gz: e5d28b4872028c52463b7fae051212d59a14c64f49506926adc97f2582db64d6
3
+ metadata.gz: 615341782d1cb711354181243589ab610089a538b00669608d44aa7a4057afe3
4
+ data.tar.gz: 3cf58f241fe238d301d0d11062449c94f2b2790d3730dad180bf3c526dab1bbb
5
5
  SHA512:
6
- metadata.gz: 674aa4b7f6bbd15144d8fcb29fd2b585b5d49f0764d60778bfabfd0d0947aa1f7222169d71204372ca095e3dc15efdd93dab5e90ec023eeedf994159f475aeb3
7
- data.tar.gz: 844468f9d1154ad65bd75d65c367afc72d7929e48a01c1121add7d864691c538f0ab7f95643da30872ec97057a91c9be81990469b707bbdac451819f47b21813
6
+ metadata.gz: a0f1a394ccc44e679f1955e23811763402ffd1bcb3f0053dd0d783cb53f641b8dc37169624386bf804f246a5f485fe5f304e2228018a84ad538ac8c977708e6c
7
+ data.tar.gz: 34b81edc41089866cd35d187f89495496c8a5e9414bb3922d1f11523477e2b22c37ef45f8dbb1c7b6f617be86300f1a1a119a775894ede3d28b96933c25d1867
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.1561046267)
4
+ pulp_rpm_client (3.0.0b4.dev0.1561132565)
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.1561046267
10
+ - Package version: 3.0.0b4.dev0.1561132565
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.1561046267.gem
26
+ gem install ./pulp_rpm_client-3.0.0b4.dev0.1561132565.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561046267.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561132565.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.1561046267'
35
+ gem 'pulp_rpm_client', '~> 3.0.0b4.dev0.1561132565'
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
+ **_created** | **DateTime** | Timestamp of creation. | [optional]
8
+ **_type** | **String** | | [optional]
7
9
  **_artifact** | **String** | Artifact file representing the physical content |
8
10
  **_href** | **String** | | [optional]
9
- **_type** | **String** | | [optional]
10
- **_created** | **DateTime** | Timestamp of creation. | [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(_artifact: null,
54
- _href: null,
53
+ instance = PulpRpmClient::Package.new(_created: null,
55
54
  _type: null,
56
- _created: null,
55
+ _artifact: null,
56
+ _href: null,
57
57
  name: null,
58
58
  epoch: null,
59
59
  version: null,
@@ -14,16 +14,16 @@ require 'date'
14
14
 
15
15
  module PulpRpmClient
16
16
  class Package
17
+ # Timestamp of creation.
18
+ attr_accessor :_created
19
+
20
+ attr_accessor :_type
21
+
17
22
  # Artifact file representing the physical content
18
23
  attr_accessor :_artifact
19
24
 
20
25
  attr_accessor :_href
21
26
 
22
- attr_accessor :_type
23
-
24
- # Timestamp of creation.
25
- attr_accessor :_created
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
+ :'_created' => :'_created',
139
+ :'_type' => :'_type',
138
140
  :'_artifact' => :'_artifact',
139
141
  :'_href' => :'_href',
140
- :'_type' => :'_type',
141
- :'_created' => :'_created',
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
+ :'_created' => :'DateTime',
185
+ :'_type' => :'String',
184
186
  :'_artifact' => :'String',
185
187
  :'_href' => :'String',
186
- :'_type' => :'String',
187
- :'_created' => :'DateTime',
188
188
  :'name' => :'String',
189
189
  :'epoch' => :'String',
190
190
  :'version' => :'String',
@@ -239,20 +239,20 @@ module PulpRpmClient
239
239
  h[k.to_sym] = v
240
240
  }
241
241
 
242
- if attributes.key?(:'_artifact')
243
- self._artifact = attributes[:'_artifact']
244
- end
245
-
246
- if attributes.key?(:'_href')
247
- self._href = attributes[:'_href']
242
+ if attributes.key?(:'_created')
243
+ self._created = attributes[:'_created']
248
244
  end
249
245
 
250
246
  if attributes.key?(:'_type')
251
247
  self._type = attributes[:'_type']
252
248
  end
253
249
 
254
- if attributes.key?(:'_created')
255
- self._created = attributes[:'_created']
250
+ if attributes.key?(:'_artifact')
251
+ self._artifact = attributes[:'_artifact']
252
+ end
253
+
254
+ if attributes.key?(:'_href')
255
+ self._href = attributes[:'_href']
256
256
  end
257
257
 
258
258
  if attributes.key?(:'name')
@@ -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
+ _created == o._created &&
820
+ _type == o._type &&
819
821
  _artifact == o._artifact &&
820
822
  _href == o._href &&
821
- _type == o._type &&
822
- _created == o._created &&
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
- [_artifact, _href, _type, _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
870
+ [_created, _type, _artifact, _href, 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.1561046267'
14
+ VERSION = '3.0.0b4.dev0.1561132565'
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 "_artifact"' do
35
+ describe 'test attribute "_created"' 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 "_href"' do
41
+ describe 'test attribute "_type"' 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 "_type"' 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 "_created"' do
53
+ describe 'test attribute "_href"' 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.1561046267
4
+ version: 3.0.0b4.dev0.1561132565
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-20 00:00:00.000000000 Z
11
+ date: 2019-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus