cadenya 0.40.0 → 0.41.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: e294afb83985b1864a4de1b54ead56fc84155436be7680ef970b7e4a7bb81e11
4
- data.tar.gz: 490831f8d6c255f16cc3af0b2d0f8d587c2d6d42866e5b827efd99b3120494d2
3
+ metadata.gz: 53bcddab59b2934622d9a935e3359cddd21eb221f9aa3e054da2cac2ff6a9953
4
+ data.tar.gz: 64d90635a7ec83c83db5c583c985dc361865eb6eda9211446041ff103c6765da
5
5
  SHA512:
6
- metadata.gz: 37d2d6e3511e24300872dd3efdacc6a51f134350451d02d4ce28b61fdba3ad6a70efa5ac449863541b9a6b17a0f24071f75257dd83e78cddff770b492bc91430
7
- data.tar.gz: b5f69dda694d28fbd291053e204a2cdd079cb00f0c2b168c1e9a8d3fb4a5768a2e035deaecefc312136b39ec00bdcc510bf21dc4765352befe46cc1eee001164
6
+ metadata.gz: 1ef94ddb9d51fd39fa0abaf63679d7682852eee8e272184e8c0032e3652288fd87ab308ddfabca8cd0c840cb0ef6ad0380937a5f483ca37f32a5c9b728c5bbba
7
+ data.tar.gz: dbb8b1c6c87f93f25acedf8d82be570a1bf5b78e7755dbc02a9d30880e58f39384be33a2d68461336efe69a36fbb7aa20ca779d347754e04126a6c32c7bd7955
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.41.0 (2026-07-08)
4
+
5
+ Full Changelog: [v0.40.0...v0.41.0](https://github.com/cadenya/cadenya-ruby/compare/v0.40.0...v0.41.0)
6
+
7
+ ### Features
8
+
9
+ * Remove the GetCurrentWorkspace RPC and /v1/workspaces/current (ENG-436) ([d1934ae](https://github.com/cadenya/cadenya-ruby/commit/d1934aea0f43d65f542f15cddc7c8e039883e2dc))
10
+
3
11
  ## 0.40.0 (2026-07-08)
4
12
 
5
13
  Full Changelog: [v0.39.0...v0.40.0](https://github.com/cadenya/cadenya-ruby/compare/v0.39.0...v0.40.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "cadenya", "~> 0.40.0"
20
+ gem "cadenya", "~> 0.41.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -335,8 +335,6 @@ module Cadenya
335
335
 
336
336
  WorkspaceAdminUpdateParams = Cadenya::Models::WorkspaceAdminUpdateParams
337
337
 
338
- WorkspaceGetParams = Cadenya::Models::WorkspaceGetParams
339
-
340
338
  WorkspaceListParams = Cadenya::Models::WorkspaceListParams
341
339
 
342
340
  WorkspaceMember = Cadenya::Models::WorkspaceMember
@@ -44,25 +44,6 @@ module Cadenya
44
44
  )
45
45
  end
46
46
 
47
- # Retrieves the workspace associated with the current API token. Useful for
48
- # workspace-scoped tokens to identify which workspace they belong to.
49
- #
50
- # @overload get(request_options: {})
51
- #
52
- # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}, nil]
53
- #
54
- # @return [Cadenya::Models::Workspace]
55
- #
56
- # @see Cadenya::Models::WorkspaceGetParams
57
- def get(params = {})
58
- @client.request(
59
- method: :get,
60
- path: "v1/workspaces/current",
61
- model: Cadenya::Workspace,
62
- options: params[:request_options]
63
- )
64
- end
65
-
66
47
  # @api private
67
48
  #
68
49
  # @param client [Cadenya::Client]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cadenya
4
- VERSION = "0.40.0"
4
+ VERSION = "0.41.0"
5
5
  end
data/lib/cadenya.rb CHANGED
@@ -315,7 +315,6 @@ require_relative "cadenya/models/workspace_admin_create_params"
315
315
  require_relative "cadenya/models/workspace_admin_list_params"
316
316
  require_relative "cadenya/models/workspace_admin_retrieve_params"
317
317
  require_relative "cadenya/models/workspace_admin_update_params"
318
- require_relative "cadenya/models/workspace_get_params"
319
318
  require_relative "cadenya/models/workspace_list_params"
320
319
  require_relative "cadenya/models/workspace_member"
321
320
  require_relative "cadenya/models/workspace_secret"
@@ -303,8 +303,6 @@ module Cadenya
303
303
 
304
304
  WorkspaceAdminUpdateParams = Cadenya::Models::WorkspaceAdminUpdateParams
305
305
 
306
- WorkspaceGetParams = Cadenya::Models::WorkspaceGetParams
307
-
308
306
  WorkspaceListParams = Cadenya::Models::WorkspaceListParams
309
307
 
310
308
  WorkspaceMember = Cadenya::Models::WorkspaceMember
@@ -37,16 +37,6 @@ module Cadenya
37
37
  )
38
38
  end
39
39
 
40
- # Retrieves the workspace associated with the current API token. Useful for
41
- # workspace-scoped tokens to identify which workspace they belong to.
42
- sig do
43
- params(request_options: Cadenya::RequestOptions::OrHash).returns(
44
- Cadenya::Workspace
45
- )
46
- end
47
- def get(request_options: {})
48
- end
49
-
50
40
  # @api private
51
41
  sig { params(client: Cadenya::Client).returns(T.attached_class) }
52
42
  def self.new(client:)
@@ -295,8 +295,6 @@ module Cadenya
295
295
 
296
296
  class WorkspaceAdminUpdateParams = Cadenya::Models::WorkspaceAdminUpdateParams
297
297
 
298
- class WorkspaceGetParams = Cadenya::Models::WorkspaceGetParams
299
-
300
298
  class WorkspaceListParams = Cadenya::Models::WorkspaceListParams
301
299
 
302
300
  class WorkspaceMember = Cadenya::Models::WorkspaceMember
@@ -10,8 +10,6 @@ module Cadenya
10
10
  ?request_options: Cadenya::request_opts
11
11
  ) -> Cadenya::Internal::CursorPagination[Cadenya::Workspace]
12
12
 
13
- def get: (?request_options: Cadenya::request_opts) -> Cadenya::Workspace
14
-
15
13
  def initialize: (client: Cadenya::Client) -> void
16
14
  end
17
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cadenya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cadenya
@@ -345,7 +345,6 @@ files:
345
345
  - lib/cadenya/models/workspace_admin_list_params.rb
346
346
  - lib/cadenya/models/workspace_admin_retrieve_params.rb
347
347
  - lib/cadenya/models/workspace_admin_update_params.rb
348
- - lib/cadenya/models/workspace_get_params.rb
349
348
  - lib/cadenya/models/workspace_list_params.rb
350
349
  - lib/cadenya/models/workspace_member.rb
351
350
  - lib/cadenya/models/workspace_secret.rb
@@ -670,7 +669,6 @@ files:
670
669
  - rbi/cadenya/models/workspace_admin_list_params.rbi
671
670
  - rbi/cadenya/models/workspace_admin_retrieve_params.rbi
672
671
  - rbi/cadenya/models/workspace_admin_update_params.rbi
673
- - rbi/cadenya/models/workspace_get_params.rbi
674
672
  - rbi/cadenya/models/workspace_list_params.rbi
675
673
  - rbi/cadenya/models/workspace_member.rbi
676
674
  - rbi/cadenya/models/workspace_secret.rbi
@@ -994,7 +992,6 @@ files:
994
992
  - sig/cadenya/models/workspace_admin_list_params.rbs
995
993
  - sig/cadenya/models/workspace_admin_retrieve_params.rbs
996
994
  - sig/cadenya/models/workspace_admin_update_params.rbs
997
- - sig/cadenya/models/workspace_get_params.rbs
998
995
  - sig/cadenya/models/workspace_list_params.rbs
999
996
  - sig/cadenya/models/workspace_member.rbs
1000
997
  - sig/cadenya/models/workspace_secret.rbs
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Cadenya
4
- module Models
5
- # @see Cadenya::Resources::Workspaces#get
6
- class WorkspaceGetParams < Cadenya::Internal::Type::BaseModel
7
- extend Cadenya::Internal::Type::RequestParameters::Converter
8
- include Cadenya::Internal::Type::RequestParameters
9
-
10
- # @!method initialize(request_options: {})
11
- # @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
12
- end
13
- end
14
- end
@@ -1,27 +0,0 @@
1
- # typed: strong
2
-
3
- module Cadenya
4
- module Models
5
- class WorkspaceGetParams < Cadenya::Internal::Type::BaseModel
6
- extend Cadenya::Internal::Type::RequestParameters::Converter
7
- include Cadenya::Internal::Type::RequestParameters
8
-
9
- OrHash =
10
- T.type_alias do
11
- T.any(Cadenya::WorkspaceGetParams, Cadenya::Internal::AnyHash)
12
- end
13
-
14
- sig do
15
- params(request_options: Cadenya::RequestOptions::OrHash).returns(
16
- T.attached_class
17
- )
18
- end
19
- def self.new(request_options: {})
20
- end
21
-
22
- sig { override.returns({ request_options: Cadenya::RequestOptions }) }
23
- def to_hash
24
- end
25
- end
26
- end
27
- end
@@ -1,15 +0,0 @@
1
- module Cadenya
2
- module Models
3
- type workspace_get_params =
4
- { } & Cadenya::Internal::Type::request_parameters
5
-
6
- class WorkspaceGetParams < Cadenya::Internal::Type::BaseModel
7
- extend Cadenya::Internal::Type::RequestParameters::Converter
8
- include Cadenya::Internal::Type::RequestParameters
9
-
10
- def initialize: (?request_options: Cadenya::request_opts) -> void
11
-
12
- def to_hash: -> { request_options: Cadenya::RequestOptions }
13
- end
14
- end
15
- end