harbor2_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: 06dc8cba84b7ca571639185ada75ccdda00423dea5f68e079cc0ec24e64791cc
4
- data.tar.gz: 328a971ca3e2b9ffbb095ac72c3c6fbfe0ecaf23c03273077066e66fcc0dcd56
3
+ metadata.gz: a8a172a6e2159b6da58d36feb86c570836d3d924c03665a8edc8cab22c5136c4
4
+ data.tar.gz: eaba5f3a4b88d5a812d94b4a3922adb166684e5205d35f45e94e2350ce6162d8
5
5
  SHA512:
6
- metadata.gz: 258daae87b64041755d0fee88dcdbd7d2bfb20d220b667d5d8463ac5090fe75921fc1116f47bc87cbc8d3a0d047e74c58029b3ec0c46c8f9e5cfe041c74e987b
7
- data.tar.gz: 6549da40257943d92935125761b72093ee32d438d8c47fa67a771e97406b6055ad20c395518187fd0a458cb73f841ae267444bc666dcba9a821f07c3666f1c92
6
+ metadata.gz: b176daac2402045f266f9582273589238239fb405fb634c2cb9e0797688e196faf234d7ba2f5bfac23440d423e4b5d9bf914ed8dceb76f9fb966517d6e6d6f4b
7
+ data.tar.gz: 6ebf5695e1d8d112e3c1146f79efc71b5524db5493f2af3132b2b8fd386dc0dbe00a61b5f20d87fef9b2282d4e0c92951cd59ea4c3b9765e4ea4e4c333860333
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.0
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_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./harbor2_client-2.3.3.0.gem
26
+ gem install ./harbor2_client-2.3.3.1.gem
27
27
  ```
28
- (for development, run `gem install --dev ./harbor2_client-2.3.3.0.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./harbor2_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_client', '~> 2.3.3.0'
34
+ gem 'harbor2_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/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_client",
3
3
  "moduleName": "Harbor2Client",
4
- "gemVersion": "2.3.3.0",
4
+ "gemVersion": "2.3.3.1",
5
5
  "gemLicense": "MIT",
6
6
  "gemRequiredRubyVersion": ">= 1.9",
7
7
  "gemHomepage": "https://github.com/liger1978/ruby-harbor2_client",
@@ -34,8 +34,8 @@ module Harbor2Client
34
34
  {
35
35
  :'architecture' => :'architecture',
36
36
  :'os' => :'os',
37
- :'os_version' => :''os.version'',
38
- :'os_features' => :''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?(:''os.version'')
71
- self.os_version = attributes[:''os.version'']
70
+ if attributes.has_key?(:'os.version')
71
+ self.os_version = attributes[:'os.version']
72
72
  end
73
73
 
74
- if attributes.has_key?(:''os.features'')
75
- if (value = attributes[:''os.features'']).is_a?(Array)
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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.22
11
11
  =end
12
12
 
13
13
  module Harbor2Client
14
- VERSION = '2.3.3.0'
14
+ VERSION = '2.3.3.1'
15
15
  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: 2.3.3.0
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
- - 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/Access.md
226
226
  - docs/AdditionLink.md
227
227
  - docs/AdditionLinks.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/swagger.yaml" -l ruby -c /local/build/swagger-codegen-cli-ruby-config.json -o /local/