pulp_deb_client 2.0.0b3 → 2.0.0b4
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/DebDebPublication.md +0 -2
- data/docs/DebVerbatimPublication.md +0 -2
- data/docs/RepositoriesDebVersionsApi.md +4 -4
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_file_index_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_package_index_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
- data/lib/pulp_deb_client/api/content_release_files_api.rb +1 -1
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/publications_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +1 -1
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +1 -1
- data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +10 -10
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/api_error.rb +1 -1
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_deb_client/models/content_summary.rb +1 -1
- data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_distribution.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_publication.rb +2 -12
- data/lib/pulp_deb_client/models/deb_deb_remote.rb +1 -1
- data/lib/pulp_deb_client/models/deb_deb_repository.rb +1 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +2 -12
- data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version.rb +1 -1
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +1 -1
- data/pulp_deb_client.gemspec +2 -2
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_file_index_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_package_index_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/content_release_files_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +1 -1
- data/spec/api/publications_verbatim_api_spec.rb +1 -1
- data/spec/api/remotes_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +1 -1
- data/spec/models/deb_deb_distribution_spec.rb +1 -1
- data/spec/models/deb_deb_publication_spec.rb +1 -7
- data/spec/models/deb_deb_remote_spec.rb +1 -1
- data/spec/models/deb_deb_repository_spec.rb +1 -1
- data/spec/models/deb_generic_content_spec.rb +1 -1
- data/spec/models/deb_installer_file_index_spec.rb +1 -1
- data/spec/models/deb_package_index_spec.rb +1 -1
- data/spec/models/deb_release_file_spec.rb +1 -1
- data/spec/models/deb_verbatim_publication_spec.rb +1 -7
- data/spec/models/inline_response20010_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +43 -44
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfcd4fc7c477ca0fe2e5ad6bac9df70f5a3509823d786b26794245a500b6525e
|
|
4
|
+
data.tar.gz: a7db83f4bf09bc7cdb95a200e9e806d4d1e5584f019d08d2b1bcdf325458c70f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 589f04bcd9493297fce5f459aba66d05adc6cca0959ad7a22fa6a0e691ff02a71b86ac02d50f53b0dbb173781962ab54b3aca8b115540c0f0f389b9d31912548
|
|
7
|
+
data.tar.gz: df838f80732a04e5e058d852bcdfdf295c2ae73feda01071277c6bf1908bf82910540aff62e140c1c87bb81805fa69102871faf51204702b54e0b41c1c5fcab3
|
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: 2.0.
|
|
10
|
+
- Package version: 2.0.0b4
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build pulp_deb_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./pulp_deb_client-2.0.
|
|
26
|
+
gem install ./pulp_deb_client-2.0.0b4.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.0.
|
|
29
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.0.0b4.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_deb_client', '~> 2.0.
|
|
35
|
+
gem 'pulp_deb_client', '~> 2.0.0b4'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
data/docs/DebDebPublication.md
CHANGED
|
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**publisher** | **String** | | [optional]
|
|
10
9
|
**repository_version** | **String** | | [optional]
|
|
11
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
12
11
|
**simple** | **Boolean** | Activate simple publishing mode (all packages in one release component). | [optional] [default to false]
|
|
@@ -19,7 +18,6 @@ require 'PulpDebClient'
|
|
|
19
18
|
|
|
20
19
|
instance = PulpDebClient::DebDebPublication.new(pulp_href: null,
|
|
21
20
|
pulp_created: null,
|
|
22
|
-
publisher: null,
|
|
23
21
|
repository_version: null,
|
|
24
22
|
repository: null,
|
|
25
23
|
simple: null,
|
|
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**publisher** | **String** | | [optional]
|
|
10
9
|
**repository_version** | **String** | | [optional]
|
|
11
10
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
|
12
11
|
|
|
@@ -17,7 +16,6 @@ require 'PulpDebClient'
|
|
|
17
16
|
|
|
18
17
|
instance = PulpDebClient::DebVerbatimPublication.new(pulp_href: null,
|
|
19
18
|
pulp_created: null,
|
|
20
|
-
publisher: null,
|
|
21
19
|
repository_version: null,
|
|
22
20
|
repository: null)
|
|
23
21
|
```
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
|
65
65
|
|
|
66
66
|
## list
|
|
67
67
|
|
|
68
|
-
> InlineResponse20010 list(
|
|
68
|
+
> InlineResponse20010 list(deb_repository_href, opts)
|
|
69
69
|
|
|
70
70
|
List repository versions
|
|
71
71
|
|
|
@@ -84,7 +84,7 @@ PulpDebClient.configure do |config|
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
api_instance = PulpDebClient::RepositoriesDebVersionsApi.new
|
|
87
|
-
|
|
87
|
+
deb_repository_href = 'deb_repository_href_example' # String | URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
88
88
|
opts = {
|
|
89
89
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
90
90
|
number: 3.4, # Float |
|
|
@@ -108,7 +108,7 @@ opts = {
|
|
|
108
108
|
|
|
109
109
|
begin
|
|
110
110
|
#List repository versions
|
|
111
|
-
result = api_instance.list(
|
|
111
|
+
result = api_instance.list(deb_repository_href, opts)
|
|
112
112
|
p result
|
|
113
113
|
rescue PulpDebClient::ApiError => e
|
|
114
114
|
puts "Exception when calling RepositoriesDebVersionsApi->list: #{e}"
|
|
@@ -120,7 +120,7 @@ end
|
|
|
120
120
|
|
|
121
121
|
Name | Type | Description | Notes
|
|
122
122
|
------------- | ------------- | ------------- | -------------
|
|
123
|
-
**
|
|
123
|
+
**deb_repository_href** | **String**| URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/ |
|
|
124
124
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
125
125
|
**number** | **Float**| | [optional]
|
|
126
126
|
**number__lt** | **Float**| Filter results where number is less than value | [optional]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -83,7 +83,7 @@ module PulpDebClient
|
|
|
83
83
|
|
|
84
84
|
# List repository versions
|
|
85
85
|
# DebRepositoryVersion represents a single deb repository version.
|
|
86
|
-
# @param
|
|
86
|
+
# @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
89
89
|
# @option opts [Float] :number
|
|
@@ -104,14 +104,14 @@ module PulpDebClient
|
|
|
104
104
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
105
105
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
106
106
|
# @return [InlineResponse20010]
|
|
107
|
-
def list(
|
|
108
|
-
data, _status_code, _headers = list_with_http_info(
|
|
107
|
+
def list(deb_repository_href, opts = {})
|
|
108
|
+
data, _status_code, _headers = list_with_http_info(deb_repository_href, opts)
|
|
109
109
|
data
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
# List repository versions
|
|
113
113
|
# DebRepositoryVersion represents a single deb repository version.
|
|
114
|
-
# @param
|
|
114
|
+
# @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
|
|
115
115
|
# @param [Hash] opts the optional parameters
|
|
116
116
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
117
117
|
# @option opts [Float] :number
|
|
@@ -132,16 +132,16 @@ module PulpDebClient
|
|
|
132
132
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
133
133
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
134
134
|
# @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
|
|
135
|
-
def list_with_http_info(
|
|
135
|
+
def list_with_http_info(deb_repository_href, opts = {})
|
|
136
136
|
if @api_client.config.debugging
|
|
137
137
|
@api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
|
|
138
138
|
end
|
|
139
|
-
# verify the required parameter '
|
|
140
|
-
if @api_client.config.client_side_validation &&
|
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
|
139
|
+
# verify the required parameter 'deb_repository_href' is set
|
|
140
|
+
if @api_client.config.client_side_validation && deb_repository_href.nil?
|
|
141
|
+
fail ArgumentError, "Missing the required parameter 'deb_repository_href' when calling RepositoriesDebVersionsApi.list"
|
|
142
142
|
end
|
|
143
143
|
# resource path
|
|
144
|
-
local_var_path = '{deb_repository_href}versions/'.sub('{' + '
|
|
144
|
+
local_var_path = '{deb_repository_href}versions/'.sub('{' + 'deb_repository_href' + '}', CGI.escape(deb_repository_href.to_s).gsub('%2F', '/'))
|
|
145
145
|
|
|
146
146
|
# query parameters
|
|
147
147
|
query_params = opts[:query_params] || {}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -203,7 +203,7 @@ module PulpDebClient
|
|
|
203
203
|
[
|
|
204
204
|
{
|
|
205
205
|
url: "http://localhost:24817/",
|
|
206
|
-
description: "No
|
|
206
|
+
description: "No description provided",
|
|
207
207
|
}
|
|
208
208
|
]
|
|
209
209
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,8 +19,6 @@ module PulpDebClient
|
|
|
19
19
|
# Timestamp of creation.
|
|
20
20
|
attr_accessor :pulp_created
|
|
21
21
|
|
|
22
|
-
attr_accessor :publisher
|
|
23
|
-
|
|
24
22
|
attr_accessor :repository_version
|
|
25
23
|
|
|
26
24
|
# A URI of the repository to be published.
|
|
@@ -37,7 +35,6 @@ module PulpDebClient
|
|
|
37
35
|
{
|
|
38
36
|
:'pulp_href' => :'pulp_href',
|
|
39
37
|
:'pulp_created' => :'pulp_created',
|
|
40
|
-
:'publisher' => :'publisher',
|
|
41
38
|
:'repository_version' => :'repository_version',
|
|
42
39
|
:'repository' => :'repository',
|
|
43
40
|
:'simple' => :'simple',
|
|
@@ -50,7 +47,6 @@ module PulpDebClient
|
|
|
50
47
|
{
|
|
51
48
|
:'pulp_href' => :'String',
|
|
52
49
|
:'pulp_created' => :'DateTime',
|
|
53
|
-
:'publisher' => :'String',
|
|
54
50
|
:'repository_version' => :'String',
|
|
55
51
|
:'repository' => :'String',
|
|
56
52
|
:'simple' => :'Boolean',
|
|
@@ -61,7 +57,6 @@ module PulpDebClient
|
|
|
61
57
|
# List of attributes with nullable: true
|
|
62
58
|
def self.openapi_nullable
|
|
63
59
|
Set.new([
|
|
64
|
-
:'publisher',
|
|
65
60
|
])
|
|
66
61
|
end
|
|
67
62
|
|
|
@@ -88,10 +83,6 @@ module PulpDebClient
|
|
|
88
83
|
self.pulp_created = attributes[:'pulp_created']
|
|
89
84
|
end
|
|
90
85
|
|
|
91
|
-
if attributes.key?(:'publisher')
|
|
92
|
-
self.publisher = attributes[:'publisher']
|
|
93
|
-
end
|
|
94
|
-
|
|
95
86
|
if attributes.key?(:'repository_version')
|
|
96
87
|
self.repository_version = attributes[:'repository_version']
|
|
97
88
|
end
|
|
@@ -133,7 +124,6 @@ module PulpDebClient
|
|
|
133
124
|
self.class == o.class &&
|
|
134
125
|
pulp_href == o.pulp_href &&
|
|
135
126
|
pulp_created == o.pulp_created &&
|
|
136
|
-
publisher == o.publisher &&
|
|
137
127
|
repository_version == o.repository_version &&
|
|
138
128
|
repository == o.repository &&
|
|
139
129
|
simple == o.simple &&
|
|
@@ -149,7 +139,7 @@ module PulpDebClient
|
|
|
149
139
|
# Calculates hash code according to all attributes.
|
|
150
140
|
# @return [Integer] Hash code
|
|
151
141
|
def hash
|
|
152
|
-
[pulp_href, pulp_created,
|
|
142
|
+
[pulp_href, pulp_created, repository_version, repository, simple, structured].hash
|
|
153
143
|
end
|
|
154
144
|
|
|
155
145
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.2.
|
|
9
|
+
OpenAPI Generator version: 4.2.3-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,8 +19,6 @@ module PulpDebClient
|
|
|
19
19
|
# Timestamp of creation.
|
|
20
20
|
attr_accessor :pulp_created
|
|
21
21
|
|
|
22
|
-
attr_accessor :publisher
|
|
23
|
-
|
|
24
22
|
attr_accessor :repository_version
|
|
25
23
|
|
|
26
24
|
# A URI of the repository to be published.
|
|
@@ -31,7 +29,6 @@ module PulpDebClient
|
|
|
31
29
|
{
|
|
32
30
|
:'pulp_href' => :'pulp_href',
|
|
33
31
|
:'pulp_created' => :'pulp_created',
|
|
34
|
-
:'publisher' => :'publisher',
|
|
35
32
|
:'repository_version' => :'repository_version',
|
|
36
33
|
:'repository' => :'repository'
|
|
37
34
|
}
|
|
@@ -42,7 +39,6 @@ module PulpDebClient
|
|
|
42
39
|
{
|
|
43
40
|
:'pulp_href' => :'String',
|
|
44
41
|
:'pulp_created' => :'DateTime',
|
|
45
|
-
:'publisher' => :'String',
|
|
46
42
|
:'repository_version' => :'String',
|
|
47
43
|
:'repository' => :'String'
|
|
48
44
|
}
|
|
@@ -51,7 +47,6 @@ module PulpDebClient
|
|
|
51
47
|
# List of attributes with nullable: true
|
|
52
48
|
def self.openapi_nullable
|
|
53
49
|
Set.new([
|
|
54
|
-
:'publisher',
|
|
55
50
|
])
|
|
56
51
|
end
|
|
57
52
|
|
|
@@ -78,10 +73,6 @@ module PulpDebClient
|
|
|
78
73
|
self.pulp_created = attributes[:'pulp_created']
|
|
79
74
|
end
|
|
80
75
|
|
|
81
|
-
if attributes.key?(:'publisher')
|
|
82
|
-
self.publisher = attributes[:'publisher']
|
|
83
|
-
end
|
|
84
|
-
|
|
85
76
|
if attributes.key?(:'repository_version')
|
|
86
77
|
self.repository_version = attributes[:'repository_version']
|
|
87
78
|
end
|
|
@@ -111,7 +102,6 @@ module PulpDebClient
|
|
|
111
102
|
self.class == o.class &&
|
|
112
103
|
pulp_href == o.pulp_href &&
|
|
113
104
|
pulp_created == o.pulp_created &&
|
|
114
|
-
publisher == o.publisher &&
|
|
115
105
|
repository_version == o.repository_version &&
|
|
116
106
|
repository == o.repository
|
|
117
107
|
end
|
|
@@ -125,7 +115,7 @@ module PulpDebClient
|
|
|
125
115
|
# Calculates hash code according to all attributes.
|
|
126
116
|
# @return [Integer] Hash code
|
|
127
117
|
def hash
|
|
128
|
-
[pulp_href, pulp_created,
|
|
118
|
+
[pulp_href, pulp_created, repository_version, repository].hash
|
|
129
119
|
end
|
|
130
120
|
|
|
131
121
|
# Builds the object from hash
|