harbor2_legacy_client 2.3.3.0 → 2.3.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9f6f18ef6af17fc568f606e0ae6d2b9c0f73aaa9410eb9283fb9e23c4f6d5ec
|
4
|
+
data.tar.gz: 4bb1eaa51e55e15c3316e351ca3ff8b111d0819cf55759cac2cd95a59994cf68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcbb49122051eb0a88461e2152c42034bac8a0e831df4eda1e5d003e25b4c4afe605a2ab0c9e97fd2f3233dbb63b76f48a225fe7069df779e464b45b930d2209
|
7
|
+
data.tar.gz: 2387e7c708f671ee8869ff8522d5279418bc5c5f47132f035c21a4be1d181323742d511a4946428f5162c8cfb7e78950cbfab82cd16de4d3fbe79af19f4a7fc8
|
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: 2.0
|
10
|
-
- Package version: 2.3.3.
|
10
|
+
- Package version: 2.3.3.1
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build harbor2_legacy_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./harbor2_legacy_client-2.3.3.
|
26
|
+
gem install ./harbor2_legacy_client-2.3.3.1.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./harbor2_legacy_client-2.3.3.
|
28
|
+
(for development, run `gem install --dev ./harbor2_legacy_client-2.3.3.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 'harbor2_legacy_client', '~> 2.3.3.
|
34
|
+
gem 'harbor2_legacy_client', '~> 2.3.3.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 2.3.3")
|
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/v2.0/legacy_swagger.yaml" -l ruby -c /local/build_scripts/swagger-codegen-cli-ruby-config.json -o /local/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"gemName": "harbor2_legacy_client",
|
3
3
|
"moduleName": "Harbor2LegacyClient",
|
4
|
-
"gemVersion": "2.3.3.
|
4
|
+
"gemVersion": "2.3.3.1",
|
5
5
|
"gemLicense": "MIT",
|
6
6
|
"gemRequiredRubyVersion": ">= 1.9",
|
7
7
|
"gemHomepage": "https://github.com/liger1978/ruby-harbor2_legacy_client",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harbor2_legacy_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.3.
|
4
|
+
version: 2.3.3.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/BadRequestFormatedError.md
|
226
226
|
- docs/ChartAPIError.md
|
227
227
|
- docs/ChartMetadata.md
|
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 2.3.3")
|
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/v2.0/legacy_swagger.yaml" -l ruby -c /local/build/swagger-codegen-cli-ruby-config.json -o /local/
|