pulp_rpm_client 3.0.0b4.dev0.1561132565 → 3.0.0b4.dev0.1561218860

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: 615341782d1cb711354181243589ab610089a538b00669608d44aa7a4057afe3
4
- data.tar.gz: 3cf58f241fe238d301d0d11062449c94f2b2790d3730dad180bf3c526dab1bbb
3
+ metadata.gz: 660f0f574b847701c875abe90e272ad7f74aff9cc4d4a447525975e2ad1f7fb7
4
+ data.tar.gz: c85a4576c6aa1ef6610c8681e446e8f11c698c29bd5888c116e43a620acbea1c
5
5
  SHA512:
6
- metadata.gz: a0f1a394ccc44e679f1955e23811763402ffd1bcb3f0053dd0d783cb53f641b8dc37169624386bf804f246a5f485fe5f304e2228018a84ad538ac8c977708e6c
7
- data.tar.gz: 34b81edc41089866cd35d187f89495496c8a5e9414bb3922d1f11523477e2b22c37ef45f8dbb1c7b6f617be86300f1a1a119a775894ede3d28b96933c25d1867
6
+ metadata.gz: 4881adb89ab9041d3943f7207c17a02a948df2fa00ecc7570c0790cce5744c5d84aef4d184dc373a251a3c538035b4b6cf57faeb6dd34c4e73aa750c6e3ff13b
7
+ data.tar.gz: 2c9dff923d799a173eb3c291e3dbb057b8999f4692bd175c475daa6bf893c513c0e1a71fe651da2f05a9c3f5184885d59b0cce6c7f60cbde6ea4f1b4ccf22145
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.1561132565)
4
+ pulp_rpm_client (3.0.0b4.dev0.1561218860)
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.1561132565
10
+ - Package version: 3.0.0b4.dev0.1561218860
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.1561132565.gem
26
+ gem install ./pulp_rpm_client-3.0.0b4.dev0.1561218860.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561132565.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561218860.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.1561132565'
35
+ gem 'pulp_rpm_client', '~> 3.0.0b4.dev0.1561218860'
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
+ **_href** | **String** | | [optional]
8
+ **_artifact** | **String** | Artifact file representing the physical content |
7
9
  **_created** | **DateTime** | Timestamp of creation. | [optional]
8
10
  **_type** | **String** | | [optional]
9
- **_artifact** | **String** | Artifact file representing the physical content |
10
- **_href** | **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(_created: null,
54
- _type: null,
53
+ instance = PulpRpmClient::Package.new(_href: null,
55
54
  _artifact: null,
56
- _href: null,
55
+ _created: null,
56
+ _type: null,
57
57
  name: null,
58
58
  epoch: null,
59
59
  version: null,
@@ -14,15 +14,15 @@ 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
17
+ attr_accessor :_href
21
18
 
22
19
  # Artifact file representing the physical content
23
20
  attr_accessor :_artifact
24
21
 
25
- attr_accessor :_href
22
+ # Timestamp of creation.
23
+ attr_accessor :_created
24
+
25
+ attr_accessor :_type
26
26
 
27
27
  # Name of the package
28
28
  attr_accessor :name
@@ -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
+ :'_href' => :'_href',
139
+ :'_artifact' => :'_artifact',
138
140
  :'_created' => :'_created',
139
141
  :'_type' => :'_type',
140
- :'_artifact' => :'_artifact',
141
- :'_href' => :'_href',
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
+ :'_href' => :'String',
185
+ :'_artifact' => :'String',
184
186
  :'_created' => :'DateTime',
185
187
  :'_type' => :'String',
186
- :'_artifact' => :'String',
187
- :'_href' => :'String',
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?(:'_created')
243
- self._created = attributes[:'_created']
244
- end
245
-
246
- if attributes.key?(:'_type')
247
- self._type = attributes[:'_type']
242
+ if attributes.key?(:'_href')
243
+ self._href = attributes[:'_href']
248
244
  end
249
245
 
250
246
  if attributes.key?(:'_artifact')
251
247
  self._artifact = attributes[:'_artifact']
252
248
  end
253
249
 
254
- if attributes.key?(:'_href')
255
- self._href = attributes[:'_href']
250
+ if attributes.key?(:'_created')
251
+ self._created = attributes[:'_created']
252
+ end
253
+
254
+ if attributes.key?(:'_type')
255
+ self._type = attributes[:'_type']
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 !@_type.nil? && @_type.to_s.length < 1
428
- invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
429
- end
430
-
431
427
  if @_artifact.nil?
432
428
  invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
433
429
  end
434
430
 
431
+ if !@_type.nil? && @_type.to_s.length < 1
432
+ invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
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 !@_type.nil? && @_type.to_s.length < 1
570
569
  return false if @_artifact.nil?
570
+ return false if !@_type.nil? && @_type.to_s.length < 1
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
+ _href == o._href &&
820
+ _artifact == o._artifact &&
819
821
  _created == o._created &&
820
822
  _type == o._type &&
821
- _artifact == o._artifact &&
822
- _href == o._href &&
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
- [_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
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
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.1561132565'
14
+ VERSION = '3.0.0b4.dev0.1561218860'
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 "_created"' do
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 "_type"' do
41
+ describe 'test attribute "_artifact"' 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 "_artifact"' do
47
+ describe 'test attribute "_created"' 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 "_href"' do
53
+ describe 'test attribute "_type"' 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.1561132565
4
+ version: 3.0.0b4.dev0.1561218860
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-21 00:00:00.000000000 Z
11
+ date: 2019-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus