zitadel-client 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c11b115f813e959f53d2a9bba7709eb2e00c4441aaefccef8f1c19c2cda43ff4
4
- data.tar.gz: cba2d1fd0d379d3368e6ac0a79cb9f080f1d77cc65f73d3505dd95e5034d8481
3
+ metadata.gz: 23c0606985a770bbf6d6af0dd113153b65bf5ce2d84bd9b8f85ca984e4b652a3
4
+ data.tar.gz: 942e372960ad8be30d939fde798554d1e1244d847b49fbddfce479eb9a5a083c
5
5
  SHA512:
6
- metadata.gz: 8d2fb00120ca50c151a2ba47b91c1274cfdff8fac82dbcb86471195c9d9075f9615702b0c7bdc2f4415c0a150b7e699129dde940165abb06ca3f4d51e551ff4e
7
- data.tar.gz: a5af1eb7f146cb3a5bb98d765fb0d5e112e8ef050434a64d8e70c0d707c66cdb9efe85270e756ee682ef0d9a6c5d5614158e5cef003d563a1fbde0b9db1fb982
6
+ metadata.gz: 36ed36ecb4f7307b40e8c057b4d726b4f592da7afa639c4ff0923f195ec0e4dc48fdfcc31b8638a91a7a5744e050a41ec94c4bffe20f87c96fedaca3d7d2c00a
7
+ data.tar.gz: 223d00a96b7a46419cb367e433f15918f9d470f95676ba6ed98c433307c2c9985b772b2a5c83038e363acbf2dfb13bef7d96fef20406e09278789a76c11eefba
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Zitadel
4
4
  module Client
5
- VERSION = '1.7.0'
5
+ VERSION = '1.8.0'
6
6
  end
7
7
  end
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'zeitwerk'
4
4
  require 'warning'
5
- require_relative 'patch'
6
5
 
7
6
  Warning.ignore(:method_redefined, __dir__)
8
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zitadel-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zitadel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-26 00:00:00.000000000 Z
11
+ date: 2025-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -82,7 +82,6 @@ extra_rdoc_files: []
82
82
  files:
83
83
  - LICENSE
84
84
  - README.md
85
- - lib/patch.rb
86
85
  - lib/zitadel/client/api/.openapi
87
86
  - lib/zitadel/client/api/action_service_api.rb
88
87
  - lib/zitadel/client/api/feature_service_api.rb
data/lib/patch.rb DELETED
@@ -1,28 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'oauth2'
4
-
5
- module OAuth2
6
- module Strategy
7
- # rubocop:disable Style/Documentation
8
- module AssertionPatch
9
- private
10
-
11
- # noinspection RbsMissingTypeSignature
12
- def build_assertion(claims, opts)
13
- unless opts.is_a?(Hash) && opts.key?(:algorithm) && opts.key?(:key)
14
- raise ArgumentError,
15
- 'encoding_opts must include :algorithm and :key'
16
- end
17
-
18
- headers = opts[:kid] ? { kid: opts[:kid] } : {}
19
- JWT.encode(claims, opts[:key], opts[:algorithm], headers)
20
- end
21
- end
22
- # rubocop:enable Style/Documentation
23
-
24
- class Assertion < Base
25
- prepend AssertionPatch
26
- end
27
- end
28
- end