cadenya 0.48.0 → 0.49.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/cadenya/models/account_info.rb +1 -12
- data/lib/cadenya/version.rb +1 -1
- data/rbi/cadenya/models/account_info.rbi +1 -21
- data/sig/cadenya/models/account_info.rbs +1 -11
- 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: 403e8a42f4e1c1ad8f74c7d931c6c995c26ef4df4db0851fab13173538bdc3d8
|
|
4
|
+
data.tar.gz: be255fbca8d2bbfbb532a06d47ec4e0a6ec642c65e87147c99c1a2fb73ce8c88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b61b85ebfce46d6f832a3257635d4811f87c8a60b4d947b5fa707d2aca0e391be8ecf0274e7dbd91a4b26bc17cf8877afc9f436bd67ef2d56393621e8818ad30
|
|
7
|
+
data.tar.gz: '007368e5e80ad61faeefcc1e80ec1d7196644c57db98945d6b3da4ee9abe44021b2397e3bb523b656a96bccb08f4b29e5158359eee8b533211964b030b9b4d71'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.49.0 (2026-07-19)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.48.0...v0.49.0](https://github.com/cadenya/cadenya-ruby/compare/v0.48.0...v0.49.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([466c4a2](https://github.com/cadenya/cadenya-ruby/commit/466c4a22faef08b1324d50f2038a4f7f1cc48644))
|
|
10
|
+
|
|
3
11
|
## 0.48.0 (2026-07-18)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.47.0...v0.48.0](https://github.com/cadenya/cadenya-ruby/compare/v0.47.0...v0.48.0)
|
data/README.md
CHANGED
|
@@ -14,15 +14,6 @@ module Cadenya
|
|
|
14
14
|
# @return [String, nil]
|
|
15
15
|
optional :challenge_token, String, api_name: :challengeToken
|
|
16
16
|
|
|
17
|
-
# @!attribute global_api_key
|
|
18
|
-
# An API key. Every key belongs to exactly one workspace and is managed via the
|
|
19
|
-
# workspace-scoped API key routes. The only exception is the system-managed global
|
|
20
|
-
# account key, which spans all workspaces and is managed via the account
|
|
21
|
-
# global_api_key routes.
|
|
22
|
-
#
|
|
23
|
-
# @return [Cadenya::Models::APIKey, nil]
|
|
24
|
-
optional :global_api_key, -> { Cadenya::APIKey }, api_name: :globalApiKey
|
|
25
|
-
|
|
26
17
|
# @!attribute webhook_events_hmac_secret
|
|
27
18
|
# The generated secret that will sign all webhooks that are sent to your
|
|
28
19
|
# configured Webhook URL. Formatted as "wh_asdf1234" per the
|
|
@@ -32,7 +23,7 @@ module Cadenya
|
|
|
32
23
|
optional :webhook_events_hmac_secret, String, api_name: :webhookEventsHmacSecret
|
|
33
24
|
end
|
|
34
25
|
|
|
35
|
-
# @!method initialize(challenge_token: nil,
|
|
26
|
+
# @!method initialize(challenge_token: nil, webhook_events_hmac_secret: nil)
|
|
36
27
|
# Some parameter documentations has been truncated, see
|
|
37
28
|
# {Cadenya::Models::AccountInfo} for more details.
|
|
38
29
|
#
|
|
@@ -40,8 +31,6 @@ module Cadenya
|
|
|
40
31
|
#
|
|
41
32
|
# @param challenge_token [String] The challenge token Cadenya sends in the X-Cadenya-Challenge-Token header
|
|
42
33
|
#
|
|
43
|
-
# @param global_api_key [Cadenya::Models::APIKey] An API key. Every key belongs to exactly one workspace and is managed via
|
|
44
|
-
#
|
|
45
34
|
# @param webhook_events_hmac_secret [String] The generated secret that will sign all webhooks that are sent to your configure
|
|
46
35
|
end
|
|
47
36
|
end
|
data/lib/cadenya/version.rb
CHANGED
|
@@ -17,16 +17,6 @@ module Cadenya
|
|
|
17
17
|
sig { params(challenge_token: String).void }
|
|
18
18
|
attr_writer :challenge_token
|
|
19
19
|
|
|
20
|
-
# An API key. Every key belongs to exactly one workspace and is managed via the
|
|
21
|
-
# workspace-scoped API key routes. The only exception is the system-managed global
|
|
22
|
-
# account key, which spans all workspaces and is managed via the account
|
|
23
|
-
# global_api_key routes.
|
|
24
|
-
sig { returns(T.nilable(Cadenya::APIKey)) }
|
|
25
|
-
attr_reader :global_api_key
|
|
26
|
-
|
|
27
|
-
sig { params(global_api_key: Cadenya::APIKey::OrHash).void }
|
|
28
|
-
attr_writer :global_api_key
|
|
29
|
-
|
|
30
20
|
# The generated secret that will sign all webhooks that are sent to your
|
|
31
21
|
# configured Webhook URL. Formatted as "wh_asdf1234" per the
|
|
32
22
|
# https://www.standardwebhooks.com/ format.
|
|
@@ -40,7 +30,6 @@ module Cadenya
|
|
|
40
30
|
sig do
|
|
41
31
|
params(
|
|
42
32
|
challenge_token: String,
|
|
43
|
-
global_api_key: Cadenya::APIKey::OrHash,
|
|
44
33
|
webhook_events_hmac_secret: String
|
|
45
34
|
).returns(T.attached_class)
|
|
46
35
|
end
|
|
@@ -51,11 +40,6 @@ module Cadenya
|
|
|
51
40
|
# requiring real auth on tools/call. Rotate with RotateChallengeToken; update any
|
|
52
41
|
# servers validating the token before rotating.
|
|
53
42
|
challenge_token: nil,
|
|
54
|
-
# An API key. Every key belongs to exactly one workspace and is managed via the
|
|
55
|
-
# workspace-scoped API key routes. The only exception is the system-managed global
|
|
56
|
-
# account key, which spans all workspaces and is managed via the account
|
|
57
|
-
# global_api_key routes.
|
|
58
|
-
global_api_key: nil,
|
|
59
43
|
# The generated secret that will sign all webhooks that are sent to your
|
|
60
44
|
# configured Webhook URL. Formatted as "wh_asdf1234" per the
|
|
61
45
|
# https://www.standardwebhooks.com/ format.
|
|
@@ -65,11 +49,7 @@ module Cadenya
|
|
|
65
49
|
|
|
66
50
|
sig do
|
|
67
51
|
override.returns(
|
|
68
|
-
{
|
|
69
|
-
challenge_token: String,
|
|
70
|
-
global_api_key: Cadenya::APIKey,
|
|
71
|
-
webhook_events_hmac_secret: String
|
|
72
|
-
}
|
|
52
|
+
{ challenge_token: String, webhook_events_hmac_secret: String }
|
|
73
53
|
)
|
|
74
54
|
end
|
|
75
55
|
def to_hash
|
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
module Cadenya
|
|
2
2
|
module Models
|
|
3
3
|
type account_info =
|
|
4
|
-
{
|
|
5
|
-
challenge_token: String,
|
|
6
|
-
global_api_key: Cadenya::APIKey,
|
|
7
|
-
webhook_events_hmac_secret: String
|
|
8
|
-
}
|
|
4
|
+
{ challenge_token: String, webhook_events_hmac_secret: String }
|
|
9
5
|
|
|
10
6
|
class AccountInfo < Cadenya::Internal::Type::BaseModel
|
|
11
7
|
attr_reader challenge_token: String?
|
|
12
8
|
|
|
13
9
|
def challenge_token=: (String) -> String
|
|
14
10
|
|
|
15
|
-
attr_reader global_api_key: Cadenya::APIKey?
|
|
16
|
-
|
|
17
|
-
def global_api_key=: (Cadenya::APIKey) -> Cadenya::APIKey
|
|
18
|
-
|
|
19
11
|
attr_reader webhook_events_hmac_secret: String?
|
|
20
12
|
|
|
21
13
|
def webhook_events_hmac_secret=: (String) -> String
|
|
22
14
|
|
|
23
15
|
def initialize: (
|
|
24
16
|
?challenge_token: String,
|
|
25
|
-
?global_api_key: Cadenya::APIKey,
|
|
26
17
|
?webhook_events_hmac_secret: String
|
|
27
18
|
) -> void
|
|
28
19
|
|
|
29
20
|
def to_hash: -> {
|
|
30
21
|
challenge_token: String,
|
|
31
|
-
global_api_key: Cadenya::APIKey,
|
|
32
22
|
webhook_events_hmac_secret: String
|
|
33
23
|
}
|
|
34
24
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cadenya
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.49.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cadenya
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|