File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ These APIs provide services for manipulating Harbor project.
77This SDK is automatically generated by the [ Swagger Codegen] ( https://github.com/swagger-api/swagger-codegen ) project:
88
99- API version: 1.10.0
10- - Package version: 1.10.8.0
10+ - Package version: 1.10.8.1
1111- Build package: io.swagger.codegen.languages.RubyClientCodegen
1212
1313## Installation
@@ -23,15 +23,15 @@ gem build harbor1_client.gemspec
2323Then either install the gem locally:
2424
2525``` shell
26- gem install ./harbor1_client-1.10.8.0 .gem
26+ gem install ./harbor1_client-1.10.8.1 .gem
2727```
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)
2929
3030or publish the gem to a gem hosting service, e.g. [ RubyGems] ( https://rubygems.org/ ) .
3131
3232Finally add this to the Gemfile:
3333
34- gem 'harbor1_client', '~> 1.10.8.0 '
34+ gem 'harbor1_client', '~> 1.10.8.1 '
3535
3636### Install from Git
3737
Original file line number Diff line number Diff line change 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/
Original file line number Diff line number Diff line change 1+ {
2+ "gemName" : " harbor1_client" ,
3+ "moduleName" : " Harbor1Client" ,
4+ "gemVersion" : " 1.10.8.1" ,
5+ "gemLicense" : " MIT" ,
6+ "gemRequiredRubyVersion" : " >= 1.9" ,
7+ "gemHomepage" : " https://github.com/liger1978/ruby-harbor1_client" ,
8+ "gemSummary" : " A ruby wrapper for the Harbor swagger APIs" ,
9+ "gemDescription" : " A ruby wrapper for the Harbor swagger APIs" ,
10+ "gemAuthor" : " Richard Grainger" ,
11+ "gemAuthorEmail" : " harbottle@room3d3.com"
12+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
2121 s . platform = Gem ::Platform ::RUBY
2222 s . authors = [ "Richard Grainger" ]
2323 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 "
2525 s . summary = "A ruby wrapper for the Harbor swagger APIs"
2626 s . description = "A ruby wrapper for the Harbor swagger APIs"
2727 s . license = 'MIT'
Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ def self.swagger_types
170170 :'ldap_url' => :'StringConfigItem' ,
171171 :'ldap_base_dn' => :'StringConfigItem' ,
172172 :'ldap_filter' => :'StringConfigItem' ,
173- :'ldap_scope' => :'Integer ' ,
173+ :'ldap_scope' => :'IntegerConfigItem ' ,
174174 :'ldap_uid' => :'StringConfigItem' ,
175- :'ldap_search_dn' => :'String ' ,
175+ :'ldap_search_dn' => :'StringConfigItem ' ,
176176 :'ldap_timeout' => :'IntegerConfigItem' ,
177177 :'ldap_group_attribute_name' => :'StringConfigItem' ,
178178 :'ldap_group_base_dn' => :'StringConfigItem' ,
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def self.swagger_types
5050 {
5151 :'id' => :'Integer' ,
5252 :'ref' => :'QuotaRefObject' ,
53- :'hard' => :'ResourceList ' ,
53+ :'hard' => :'Object ' ,
5454 :'used' => :'ResourceList' ,
5555 :'creation_time' => :'String' ,
5656 :'update_time' => :'String'
Original file line number Diff line number Diff line change 1111=end
1212
1313module Harbor1Client
14- VERSION = '1.10.8.0 '
14+ VERSION = '1.10.8.1 '
1515end
You can’t perform that action at this time.
0 commit comments