harbor1_client 1.10.8.0 → 1.10.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/build_scripts/generate.sh +8 -0
- data/{build → build_scripts}/swagger-codegen-cli-ruby-config.json +2 -2
- data/harbor1_client.gemspec +1 -1
- data/lib/harbor1_client/models/configurations_response.rb +2 -2
- data/lib/harbor1_client/models/quota.rb +1 -1
- data/lib/harbor1_client/version.rb +1 -1
- metadata +4 -4
- data/build/generate.sh +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caf28237516c19bfbdf1ee0fc2b639aa2d4279cc7f1b3cdfccea6488b4c4c961
|
4
|
+
data.tar.gz: e0b56ef940eda048bd71d88901cae11c32dce8f749decfe8e926849e1995a813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e4f673d082c3ed01dd56eab38f2054e736e1695036b331162827be206ee4df1505e26bf1f9069f9fe74d8bbcff3a577694317d51c2d55ce876367a47b752bb
|
7
|
+
data.tar.gz: 32c17061fdaa81498d360694469ef9fc1a27eac667076f30c7f6188a02a6236a6ed0b10e1e01de5463c283e1d25b1f56be6fad544970c0a6a98130fc93b39299
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ These APIs provide services for manipulating Harbor project.
|
|
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: 1.10.0
|
10
|
-
- Package version: 1.10.8.
|
10
|
+
- Package version: 1.10.8.1
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build harbor1_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./harbor1_client-1.10.8.
|
26
|
+
gem install ./harbor1_client-1.10.8.1.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./harbor1_client-1.10.8.
|
28
|
+
(for development, run `gem install --dev ./harbor1_client-1.10.8.1.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 'harbor1_client', '~> 1.10.8.
|
34
|
+
gem 'harbor1_client', '~> 1.10.8.1'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# 1. Create a new git branch
|
3
|
+
# 2. Clean out repo (delete everything except build_scripts folder and .git folder)
|
4
|
+
# 3. Update version in swagger-codegen-cli-ruby-config.json
|
5
|
+
# 4. Run this script from the root of the repo ( e.g. "build_scripts/generate.sh 1.10.8")
|
6
|
+
# 5. Check previous commits to check required manual fixups (may or may not stil be required)
|
7
|
+
version=$1
|
8
|
+
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/harbor/swagger.yaml" -l ruby -c /local/build_scripts/swagger-codegen-cli-ruby-config.json -o /local/
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"gemName": "harbor1_client",
|
3
3
|
"moduleName": "Harbor1Client",
|
4
|
-
"gemVersion": "1.10.8.
|
4
|
+
"gemVersion": "1.10.8.1",
|
5
5
|
"gemLicense": "MIT",
|
6
6
|
"gemRequiredRubyVersion": ">= 1.9",
|
7
|
-
"gemHomepage": "https://github.com/liger1978/ruby-
|
7
|
+
"gemHomepage": "https://github.com/liger1978/ruby-harbor1_client",
|
8
8
|
"gemSummary": "A ruby wrapper for the Harbor swagger APIs",
|
9
9
|
"gemDescription": "A ruby wrapper for the Harbor swagger APIs",
|
10
10
|
"gemAuthor": "Richard Grainger",
|
data/harbor1_client.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["Richard Grainger"]
|
23
23
|
s.email = ["harbottle@room3d3.com"]
|
24
|
-
s.homepage = "https://github.com/liger1978/ruby-
|
24
|
+
s.homepage = "https://github.com/liger1978/ruby-harbor1_client"
|
25
25
|
s.summary = "A ruby wrapper for the Harbor swagger APIs"
|
26
26
|
s.description = "A ruby wrapper for the Harbor swagger APIs"
|
27
27
|
s.license = 'MIT'
|
@@ -170,9 +170,9 @@ module Harbor1Client
|
|
170
170
|
:'ldap_url' => :'StringConfigItem',
|
171
171
|
:'ldap_base_dn' => :'StringConfigItem',
|
172
172
|
:'ldap_filter' => :'StringConfigItem',
|
173
|
-
:'ldap_scope' => :'
|
173
|
+
:'ldap_scope' => :'IntegerConfigItem',
|
174
174
|
:'ldap_uid' => :'StringConfigItem',
|
175
|
-
:'ldap_search_dn' => :'
|
175
|
+
:'ldap_search_dn' => :'StringConfigItem',
|
176
176
|
:'ldap_timeout' => :'IntegerConfigItem',
|
177
177
|
:'ldap_group_attribute_name' => :'StringConfigItem',
|
178
178
|
:'ldap_group_base_dn' => :'StringConfigItem',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harbor1_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.8.
|
4
|
+
version: 1.10.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Grainger
|
@@ -220,8 +220,8 @@ files:
|
|
220
220
|
- Gemfile
|
221
221
|
- README.md
|
222
222
|
- Rakefile
|
223
|
-
-
|
224
|
-
-
|
223
|
+
- build_scripts/generate.sh
|
224
|
+
- build_scripts/swagger-codegen-cli-ruby-config.json
|
225
225
|
- docs/AccessLog.md
|
226
226
|
- docs/Action.md
|
227
227
|
- docs/Action1.md
|
@@ -661,7 +661,7 @@ files:
|
|
661
661
|
- spec/models/webhook_policy_spec.rb
|
662
662
|
- spec/models/webhook_target_object_spec.rb
|
663
663
|
- spec/spec_helper.rb
|
664
|
-
homepage: https://github.com/liger1978/ruby-
|
664
|
+
homepage: https://github.com/liger1978/ruby-harbor1_client
|
665
665
|
licenses:
|
666
666
|
- MIT
|
667
667
|
metadata: {}
|
data/build/generate.sh
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
# 1. Create a new git branch
|
3
|
-
# 2. Clean out repo (delete everything except build folder and .git folder)
|
4
|
-
# 3. Update version in swagger-codegen-cli-ruby-config.json
|
5
|
-
# 4. Run this script from the root of the repo ( e.g. "build/generate.sh 1.10.8")
|
6
|
-
# Clean out repo (remove everything except )
|
7
|
-
version=$1
|
8
|
-
docker run -u $(id -u) --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate -i "https://raw.githubusercontent.com/goharbor/harbor/v${version}/api/harbor/swagger.yaml" -l ruby -c /local/build/swagger-codegen-cli-ruby-config.json -o /local/
|