pulp_rpm_client 3.0.0b3.dev.1560354575 → 3.0.0b3.dev.1560441140
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/Package.md +3 -3
- data/lib/pulp_rpm_client/models/package.rb +11 -11
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/models/package_spec.rb +4 -4
- 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: f1f3d5341691df747690a06d9d4473b625300af56f04b7c897dcc4befe700a1e
|
4
|
+
data.tar.gz: 84d071c8e9a591871c48f4c05d37c95e120711478afc4c2282e911687ed6988b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d954a22b72e38b5645bf972651a0daf06644cf7541c5eb25aa83502036a7e417318fc2538b46a927ca5522d9318938b0c549b09651787778847fa8ece940d719
|
7
|
+
data.tar.gz: 3d5bf0719efe067c1d3328ab6a435f0304dc8b8b93445943a8b5ac9659bdc2c8e47ab8cc13dff7f51b949bb9ccdf8f7f0641c2590710b9f4ef6dfd3ac1d869fe
|
data/Gemfile.lock
CHANGED
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.0b3.dev.
|
10
|
+
- Package version: 3.0.0b3.dev.1560441140
|
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.0b3.dev.
|
26
|
+
gem install ./pulp_rpm_client-3.0.0b3.dev.1560441140.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.0.0b3.dev.
|
29
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.0.0b3.dev.1560441140.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.0b3.dev.
|
35
|
+
gem 'pulp_rpm_client', '~> 3.0.0b3.dev.1560441140'
|
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
7
|
**_type** | **String** | | [optional]
|
9
8
|
**_artifact** | **String** | Artifact file representing the physical content |
|
10
9
|
**_href** | **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(
|
54
|
-
_type: null,
|
53
|
+
instance = PulpRpmClient::Package.new(_type: null,
|
55
54
|
_artifact: null,
|
56
55
|
_href: null,
|
56
|
+
_created: null,
|
57
57
|
name: null,
|
58
58
|
epoch: null,
|
59
59
|
version: null,
|
@@ -14,9 +14,6 @@ require 'date'
|
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
16
|
class Package
|
17
|
-
# Timestamp of creation.
|
18
|
-
attr_accessor :_created
|
19
|
-
|
20
17
|
attr_accessor :_type
|
21
18
|
|
22
19
|
# Artifact file representing the physical content
|
@@ -24,6 +21,9 @@ module PulpRpmClient
|
|
24
21
|
|
25
22
|
attr_accessor :_href
|
26
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
138
|
:'_type' => :'_type',
|
140
139
|
:'_artifact' => :'_artifact',
|
141
140
|
:'_href' => :'_href',
|
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
184
|
:'_type' => :'String',
|
186
185
|
:'_artifact' => :'String',
|
187
186
|
:'_href' => :'String',
|
187
|
+
:'_created' => :'DateTime',
|
188
188
|
:'name' => :'String',
|
189
189
|
:'epoch' => :'String',
|
190
190
|
:'version' => :'String',
|
@@ -239,10 +239,6 @@ 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
242
|
if attributes.key?(:'_type')
|
247
243
|
self._type = attributes[:'_type']
|
248
244
|
end
|
@@ -255,6 +251,10 @@ module PulpRpmClient
|
|
255
251
|
self._href = attributes[:'_href']
|
256
252
|
end
|
257
253
|
|
254
|
+
if attributes.key?(:'_created')
|
255
|
+
self._created = attributes[:'_created']
|
256
|
+
end
|
257
|
+
|
258
258
|
if attributes.key?(:'name')
|
259
259
|
self.name = attributes[:'name']
|
260
260
|
end
|
@@ -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
819
|
_type == o._type &&
|
821
820
|
_artifact == o._artifact &&
|
822
821
|
_href == o._href &&
|
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
|
-
[
|
870
|
+
[_type, _artifact, _href, _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
|
data/spec/models/package_spec.rb
CHANGED
@@ -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 "
|
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 "
|
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 "
|
47
|
+
describe 'test attribute "_href"' 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 "
|
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.0b3.dev.
|
4
|
+
version: 3.0.0b3.dev.1560441140
|
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-
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|