harbor2_client 0.1.0 → 0.2.0
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/harbor2_client-0.1.0.gem +0 -0
- data/lib/harbor2_client/api_client.rb +1 -1
- data/lib/harbor2_client/models/platform.rb +6 -6
- data/lib/harbor2_client/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53d2328a9e6c744a6577bfee64d115cee9dd2b00c13db4b00d48c82e0225e46a
|
|
4
|
+
data.tar.gz: a8154a3c7ee86188127145a84c6ac3f2f3a9a51693a1b8853fe83a6e24f0e5bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8947592c09e6e1ee7d13c23ef46e23f41115d048ca8633ec8d0b0dc87b201996335eda4d2a6b0c506f97f850bec3bf84fc4b3fb16f5ad5919f1d0531d5ed9568
|
|
7
|
+
data.tar.gz: c7fff24d8cfd5abf55c4034addb6a809c0b1b9f3c7e3ce8625541343d2a688fa1a86642453ea0ebbacccbd56b075f983d49874c25760f953fc693d0a16fff18d
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ These APIs provide services for manipulating Harbor projects.
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0
|
|
10
|
-
- Package version: 0.
|
|
10
|
+
- Package version: 0.2.0
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,15 +23,15 @@ gem build harbor2_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./harbor2_client-0.
|
|
26
|
+
gem install ./harbor2_client-0.2.0.gem
|
|
27
27
|
```
|
|
28
|
-
(for development, run `gem install --dev ./harbor2_client-0.
|
|
28
|
+
(for development, run `gem install --dev ./harbor2_client-0.2.0.gem` to install the development dependencies)
|
|
29
29
|
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
31
31
|
|
|
32
32
|
Finally add this to the Gemfile:
|
|
33
33
|
|
|
34
|
-
gem 'harbor2_client', '~> 0.
|
|
34
|
+
gem 'harbor2_client', '~> 0.2.0'
|
|
35
35
|
|
|
36
36
|
### Install from Git
|
|
37
37
|
|
|
Binary file
|
|
@@ -316,7 +316,7 @@ module Harbor2Client
|
|
|
316
316
|
|
|
317
317
|
# Sets user agent in HTTP header
|
|
318
318
|
#
|
|
319
|
-
# @param [String] user_agent User agent (e.g. swagger-codegen/ruby/0.
|
|
319
|
+
# @param [String] user_agent User agent (e.g. swagger-codegen/ruby/0.2.0)
|
|
320
320
|
def user_agent=(user_agent)
|
|
321
321
|
@user_agent = user_agent
|
|
322
322
|
@default_headers['User-Agent'] = @user_agent
|
|
@@ -34,8 +34,8 @@ module Harbor2Client
|
|
|
34
34
|
{
|
|
35
35
|
:'architecture' => :'architecture',
|
|
36
36
|
:'os' => :'os',
|
|
37
|
-
:'os_version' => :'
|
|
38
|
-
:'os_features' => :'
|
|
37
|
+
:'os_version' => :'os.version',
|
|
38
|
+
:'os_features' => :'os.features',
|
|
39
39
|
:'variant' => :'variant'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -67,12 +67,12 @@ module Harbor2Client
|
|
|
67
67
|
self.os = attributes[:'os']
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
-
if attributes.has_key?(:'
|
|
71
|
-
self.os_version = attributes[:'
|
|
70
|
+
if attributes.has_key?(:'os.version')
|
|
71
|
+
self.os_version = attributes[:'os.version']
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
if attributes.has_key?(:'
|
|
75
|
-
if (value = attributes[:'
|
|
74
|
+
if attributes.has_key?(:'os.features')
|
|
75
|
+
if (value = attributes[:'os.features']).is_a?(Array)
|
|
76
76
|
self.os_features = value
|
|
77
77
|
end
|
|
78
78
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harbor2_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Grainger
|
|
@@ -264,6 +264,7 @@ files:
|
|
|
264
264
|
- docs/Task.md
|
|
265
265
|
- docs/VulnerabilitySummary.md
|
|
266
266
|
- git_push.sh
|
|
267
|
+
- harbor2_client-0.1.0.gem
|
|
267
268
|
- harbor2_client.gemspec
|
|
268
269
|
- lib/harbor2_client.rb
|
|
269
270
|
- lib/harbor2_client/api/artifact_api.rb
|