kleister 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +3 -3
- data/lib/kleister/models/mod_team_params.rb +3 -3
- data/lib/kleister/models/pack_team_params.rb +3 -3
- data/lib/kleister/models/team_mod.rb +3 -3
- data/lib/kleister/models/team_mod_params.rb +3 -3
- data/lib/kleister/models/team_pack.rb +3 -3
- data/lib/kleister/models/team_pack_params.rb +3 -3
- data/lib/kleister/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f5cff8ecc0a3daacdfd6b066f23dbb515eedfcdc6ac2ca65d91adb4d555293
|
4
|
+
data.tar.gz: c09dfc37629fa9b2764494e61b3cd77ee511c2deb4d08649d073f0240bca0f4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c0292114c39bc29efa0ea3dabc4fddb3e52a9b8c36d5dc92a1c9f1402b324e7df3e39ef41a7a63480c0c14a55e8149bd9b8f082627a5a1e20480f79ad4e9e4c
|
7
|
+
data.tar.gz: 4687aae18beb08eb4304dbd2831da9b795397554c89d39f06b951d130705e3e298131476f16be55870190350d15c34340627ca9ddc344e17e37cadac65671378
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.2.0](https://github.com/kleister/kleister-ruby/compare/v1.1.0...v1.2.0) (2024-07-01)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* automated openapi client update ([7c276cf](https://github.com/kleister/kleister-ruby/commit/7c276cf7ec961ed99b61ddf4be35ea59ac70eed7))
|
9
|
+
|
10
|
+
|
11
|
+
### Bugfixes
|
12
|
+
|
13
|
+
* use right values for perm enum ([c46115a](https://github.com/kleister/kleister-ruby/commit/c46115a81b3a1f4e9ec487db386e2448cfd90c07))
|
14
|
+
|
3
15
|
## [1.1.0](https://github.com/kleister/kleister-ruby/compare/v1.0.0...v1.1.0) (2024-06-17)
|
4
16
|
|
5
17
|
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ This repository provides a client SDK for Ruby. This SDK is automatically
|
|
6
6
|
generated by the [OpenAPI Generator][generator] project:
|
7
7
|
|
8
8
|
- API version: 1.0.0-alpha1
|
9
|
-
- Package version: 1.
|
9
|
+
- Package version: 1.2.0
|
10
10
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
11
11
|
|
12
12
|
For more information, please visit [https://kleister.eu](https://kleister.eu)
|
@@ -21,7 +21,7 @@ the built gem:
|
|
21
21
|
|
22
22
|
```console
|
23
23
|
gem build kleister.gemspec
|
24
|
-
gem install ./kleister-1.
|
24
|
+
gem install ./kleister-1.2.0.gem
|
25
25
|
```
|
26
26
|
|
27
27
|
### Install from Rubygems
|
@@ -30,7 +30,7 @@ If you want to use a a properly released version hosted Rubygems you just need
|
|
30
30
|
to add the following line to your Gemfile:
|
31
31
|
|
32
32
|
```ruby
|
33
|
-
gem 'kleister', '~> 1.
|
33
|
+
gem 'kleister', '~> 1.2.0'
|
34
34
|
```
|
35
35
|
|
36
36
|
### Install from Git
|
@@ -88,7 +88,7 @@ module Kleister
|
|
88
88
|
self.perm = if attributes.key?(:perm)
|
89
89
|
attributes[:perm]
|
90
90
|
else
|
91
|
-
'
|
91
|
+
'user'
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
@@ -110,7 +110,7 @@ module Kleister
|
|
110
110
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
111
111
|
return false if @team.nil?
|
112
112
|
|
113
|
-
perm_validator = EnumAttributeValidator.new('String', %w[
|
113
|
+
perm_validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
114
114
|
return false unless perm_validator.valid?(@perm)
|
115
115
|
|
116
116
|
true
|
@@ -119,7 +119,7 @@ module Kleister
|
|
119
119
|
# Custom attribute writer method checking allowed values (enum).
|
120
120
|
# @param [Object] perm Object to be assigned
|
121
121
|
def perm=(perm)
|
122
|
-
validator = EnumAttributeValidator.new('String', %w[
|
122
|
+
validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
123
123
|
unless validator.valid?(perm)
|
124
124
|
raise ArgumentError, "invalid value for \"perm\", must be one of #{validator.allowable_values}."
|
125
125
|
end
|
@@ -88,7 +88,7 @@ module Kleister
|
|
88
88
|
self.perm = if attributes.key?(:perm)
|
89
89
|
attributes[:perm]
|
90
90
|
else
|
91
|
-
'
|
91
|
+
'user'
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
@@ -110,7 +110,7 @@ module Kleister
|
|
110
110
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
111
111
|
return false if @team.nil?
|
112
112
|
|
113
|
-
perm_validator = EnumAttributeValidator.new('String', %w[
|
113
|
+
perm_validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
114
114
|
return false unless perm_validator.valid?(@perm)
|
115
115
|
|
116
116
|
true
|
@@ -119,7 +119,7 @@ module Kleister
|
|
119
119
|
# Custom attribute writer method checking allowed values (enum).
|
120
120
|
# @param [Object] perm Object to be assigned
|
121
121
|
def perm=(perm)
|
122
|
-
validator = EnumAttributeValidator.new('String', %w[
|
122
|
+
validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
123
123
|
unless validator.valid?(perm)
|
124
124
|
raise ArgumentError, "invalid value for \"perm\", must be one of #{validator.allowable_values}."
|
125
125
|
end
|
@@ -109,7 +109,7 @@ module Kleister
|
|
109
109
|
self.perm = if attributes.key?(:perm)
|
110
110
|
attributes[:perm]
|
111
111
|
else
|
112
|
-
'
|
112
|
+
'user'
|
113
113
|
end
|
114
114
|
|
115
115
|
if attributes.key?(:created_at)
|
@@ -144,7 +144,7 @@ module Kleister
|
|
144
144
|
return false if @team_id.nil?
|
145
145
|
return false if @mod_id.nil?
|
146
146
|
|
147
|
-
perm_validator = EnumAttributeValidator.new('String', %w[
|
147
|
+
perm_validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
148
148
|
return false unless perm_validator.valid?(@perm)
|
149
149
|
|
150
150
|
true
|
@@ -153,7 +153,7 @@ module Kleister
|
|
153
153
|
# Custom attribute writer method checking allowed values (enum).
|
154
154
|
# @param [Object] perm Object to be assigned
|
155
155
|
def perm=(perm)
|
156
|
-
validator = EnumAttributeValidator.new('String', %w[
|
156
|
+
validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
157
157
|
unless validator.valid?(perm)
|
158
158
|
raise ArgumentError, "invalid value for \"perm\", must be one of #{validator.allowable_values}."
|
159
159
|
end
|
@@ -88,7 +88,7 @@ module Kleister
|
|
88
88
|
self.perm = if attributes.key?(:perm)
|
89
89
|
attributes[:perm]
|
90
90
|
else
|
91
|
-
'
|
91
|
+
'user'
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
@@ -110,7 +110,7 @@ module Kleister
|
|
110
110
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
111
111
|
return false if @mod.nil?
|
112
112
|
|
113
|
-
perm_validator = EnumAttributeValidator.new('String', %w[
|
113
|
+
perm_validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
114
114
|
return false unless perm_validator.valid?(@perm)
|
115
115
|
|
116
116
|
true
|
@@ -119,7 +119,7 @@ module Kleister
|
|
119
119
|
# Custom attribute writer method checking allowed values (enum).
|
120
120
|
# @param [Object] perm Object to be assigned
|
121
121
|
def perm=(perm)
|
122
|
-
validator = EnumAttributeValidator.new('String', %w[
|
122
|
+
validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
123
123
|
unless validator.valid?(perm)
|
124
124
|
raise ArgumentError, "invalid value for \"perm\", must be one of #{validator.allowable_values}."
|
125
125
|
end
|
@@ -109,7 +109,7 @@ module Kleister
|
|
109
109
|
self.perm = if attributes.key?(:perm)
|
110
110
|
attributes[:perm]
|
111
111
|
else
|
112
|
-
'
|
112
|
+
'user'
|
113
113
|
end
|
114
114
|
|
115
115
|
if attributes.key?(:created_at)
|
@@ -144,7 +144,7 @@ module Kleister
|
|
144
144
|
return false if @team_id.nil?
|
145
145
|
return false if @pack_id.nil?
|
146
146
|
|
147
|
-
perm_validator = EnumAttributeValidator.new('String', %w[
|
147
|
+
perm_validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
148
148
|
return false unless perm_validator.valid?(@perm)
|
149
149
|
|
150
150
|
true
|
@@ -153,7 +153,7 @@ module Kleister
|
|
153
153
|
# Custom attribute writer method checking allowed values (enum).
|
154
154
|
# @param [Object] perm Object to be assigned
|
155
155
|
def perm=(perm)
|
156
|
-
validator = EnumAttributeValidator.new('String', %w[
|
156
|
+
validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
157
157
|
unless validator.valid?(perm)
|
158
158
|
raise ArgumentError, "invalid value for \"perm\", must be one of #{validator.allowable_values}."
|
159
159
|
end
|
@@ -88,7 +88,7 @@ module Kleister
|
|
88
88
|
self.perm = if attributes.key?(:perm)
|
89
89
|
attributes[:perm]
|
90
90
|
else
|
91
|
-
'
|
91
|
+
'user'
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
@@ -110,7 +110,7 @@ module Kleister
|
|
110
110
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
111
111
|
return false if @pack.nil?
|
112
112
|
|
113
|
-
perm_validator = EnumAttributeValidator.new('String', %w[
|
113
|
+
perm_validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
114
114
|
return false unless perm_validator.valid?(@perm)
|
115
115
|
|
116
116
|
true
|
@@ -119,7 +119,7 @@ module Kleister
|
|
119
119
|
# Custom attribute writer method checking allowed values (enum).
|
120
120
|
# @param [Object] perm Object to be assigned
|
121
121
|
def perm=(perm)
|
122
|
-
validator = EnumAttributeValidator.new('String', %w[
|
122
|
+
validator = EnumAttributeValidator.new('String', %w[user admin owner])
|
123
123
|
unless validator.valid?(perm)
|
124
124
|
raise ArgumentError, "invalid value for \"perm\", must be one of #{validator.allowable_values}."
|
125
125
|
end
|
data/lib/kleister/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kleister
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Boerger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|