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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e5790ee4ee25ff8996fa9a6f02fdeb24f7a2a261dd6d412136ee23dc97b517c
4
- data.tar.gz: abed45b7f39f64e82fc27823217b3a5d597f36f7bbdd914f00da22070533a982
3
+ metadata.gz: caf28237516c19bfbdf1ee0fc2b639aa2d4279cc7f1b3cdfccea6488b4c4c961
4
+ data.tar.gz: e0b56ef940eda048bd71d88901cae11c32dce8f749decfe8e926849e1995a813
5
5
  SHA512:
6
- metadata.gz: a3dd6d52b8eedb0824ad8f44c587b44a82c5d2a02ea0164ac0106949d5864472dc2b1045b6c0db1b3b4a386d630ec49524530a401fcd4bbca5b3e0c53a2cf0d2
7
- data.tar.gz: 31e76951ed64b9eda887289dca9586a45894a552c06b47b3dc4333115b92ebc53d7c51024de14ab8de5af21929016c6e7252cae8086bf95cf3651fd0f63c3ccb
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.0
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.0.gem
26
+ gem install ./harbor1_client-1.10.8.1.gem
27
27
  ```
28
- (for development, run `gem install --dev ./harbor1_client-1.10.8.0.gem` to install the development dependencies)
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.0'
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.0",
4
+ "gemVersion": "1.10.8.1",
5
5
  "gemLicense": "MIT",
6
6
  "gemRequiredRubyVersion": ">= 1.9",
7
- "gemHomepage": "https://github.com/liger1978/ruby-harbor2_client",
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",
@@ -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-harbor2_client"
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' => :'Integer',
173
+ :'ldap_scope' => :'IntegerConfigItem',
174
174
  :'ldap_uid' => :'StringConfigItem',
175
- :'ldap_search_dn' => :'String',
175
+ :'ldap_search_dn' => :'StringConfigItem',
176
176
  :'ldap_timeout' => :'IntegerConfigItem',
177
177
  :'ldap_group_attribute_name' => :'StringConfigItem',
178
178
  :'ldap_group_base_dn' => :'StringConfigItem',
@@ -50,7 +50,7 @@ module Harbor1Client
50
50
  {
51
51
  :'id' => :'Integer',
52
52
  :'ref' => :'QuotaRefObject',
53
- :'hard' => :'ResourceList',
53
+ :'hard' => :'Object',
54
54
  :'used' => :'ResourceList',
55
55
  :'creation_time' => :'String',
56
56
  :'update_time' => :'String'
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.22
11
11
  =end
12
12
 
13
13
  module Harbor1Client
14
- VERSION = '1.10.8.0'
14
+ VERSION = '1.10.8.1'
15
15
  end
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.0
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
- - build/generate.sh
224
- - build/swagger-codegen-cli-ruby-config.json
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-harbor2_client
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/