kleister 1.1.0 → 1.3.0

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: 7722abb2cd7294e8dab2b7dfebcb59edf2ffc135c73810c5b40d4ed281dba3ab
4
- data.tar.gz: 75a5b3689a1ff4927f72be95f42fb8dbec9ae4928f5f747d2618af81044a31bb
3
+ metadata.gz: 3d02d9c24d62447e17c629a323bf68b546de4c5465cdb06e3e24cae2b14c1bb2
4
+ data.tar.gz: 0d486b8926d85a494d2cbae7a821f81434040a3dbcf44172faab5a04dd3e1936
5
5
  SHA512:
6
- metadata.gz: 175ab24e4a97def2d78444ed2785a9aa45398ea68e1f4b6d2d1dab929ba9cdadc41f6eec13936c71a1951c3da5eecad19bcceb646a49825c2939811d45a6c736
7
- data.tar.gz: 2d67ad939cce66fac94dd189e75796a4297dce8d7b61113a8d9902bc2f74a93ec6ecf33b4588ce0ac4b31b27e081cc8c61e13eb72d6e8872504e7363fa5594f7
6
+ metadata.gz: d6998bb671ee0c787521fe90913ef5b5d81bd9e4d43bf3735fc61dfd53209af258384325100057ab5bf0656d91ea3bec8a87efbe573a1986e1a6934a7a66a756
7
+ data.tar.gz: 795595a1b4bc12b7b40b29d0b7b6b539c66f31ee1304e523c9f38d1605acbbf661f553f6ef30d3cdf9a8b49b7046255d581c6d7b3432a47a669f0d5bad6a11d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.0](https://github.com/kleister/kleister-ruby/compare/v1.2.0...v1.3.0) (2024-07-15)
4
+
5
+
6
+ ### Features
7
+
8
+ * automated openapi client update ([c286937](https://github.com/kleister/kleister-ruby/commit/c286937d56e0c093ae6613f81313e732acc152b7))
9
+ * **deps:** update dependency rubocop to '~> 1.65.0' ([540f003](https://github.com/kleister/kleister-ruby/commit/540f0032434b4f2c2a7b6105af40cae935333874))
10
+
11
+
12
+ ### Bugfixes
13
+
14
+ * **deps:** update dependency ruby to v3.3.4 ([c99e791](https://github.com/kleister/kleister-ruby/commit/c99e791a38f434ae67d0028296bbeb0aa40f53be))
15
+
16
+ ## [1.2.0](https://github.com/kleister/kleister-ruby/compare/v1.1.0...v1.2.0) (2024-07-01)
17
+
18
+
19
+ ### Features
20
+
21
+ * automated openapi client update ([7c276cf](https://github.com/kleister/kleister-ruby/commit/7c276cf7ec961ed99b61ddf4be35ea59ac70eed7))
22
+
23
+
24
+ ### Bugfixes
25
+
26
+ * use right values for perm enum ([c46115a](https://github.com/kleister/kleister-ruby/commit/c46115a81b3a1f4e9ec487db386e2448cfd90c07))
27
+
3
28
  ## [1.1.0](https://github.com/kleister/kleister-ruby/compare/v1.0.0...v1.1.0) (2024-06-17)
4
29
 
5
30
 
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.1.0
9
+ - Package version: 1.3.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.1.0.gem
24
+ gem install ./kleister-1.3.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.1.0'
33
+ gem 'kleister', '~> 1.3.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
- 'team'
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[team admin owner])
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[team admin owner])
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
- 'team'
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[team admin owner])
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[team admin owner])
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
- 'team'
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[team admin owner])
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[team admin owner])
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
- 'team'
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[team admin owner])
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[team admin owner])
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
- 'team'
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[team admin owner])
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[team admin owner])
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
- 'team'
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[team admin owner])
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[team admin owner])
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
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Kleister
12
- VERSION = '1.1.0'.freeze
12
+ VERSION = '1.3.0'.freeze
13
13
  end
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.1.0
4
+ version: 1.3.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-06-17 00:00:00.000000000 Z
11
+ date: 2024-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday