volcano-sdk 0.22.0 → 0.23.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/volcano/version.rb +1 -1
  3. data/sig/user.rbs +30 -0
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '04840660743db7b56f286c38c8189ab7b308ed4f84b9ade664a40441b8c8eb19'
4
- data.tar.gz: f4e0d622b46a4b77253793db85bf71c918bbea3030f19648ba5af3ea4e2c82a1
3
+ metadata.gz: 2c3d6223d771472b357f4b055afd4c62f063b99ffb9e5ed89a7387f5e3521b68
4
+ data.tar.gz: d4ca2e76b406d5e677168295e12e6ecd13b85f91945615463b612c82f4964fd6
5
5
  SHA512:
6
- metadata.gz: 91a6db7a11e8f991fc2855a27313d6fbcf031ffeecb24ad20a8cf8839f739e604745cd80936d7b6b1decc93ab02a0c35253172a56c1c1b5bcc19bdbfd94adc34
7
- data.tar.gz: 0cc866b69af69113816774d67ccc668a60023ab3d608fe816c8974e2b6b16a6eb315f2662b4bec46ba8635feb56d6f6eab9564bb8a1b64f80668d03444925af7
6
+ metadata.gz: f1fbcdc38baae780ac2b8b0baa756d254bbdbf859afcc86999b0ad76362450ff997b1c4e10239c72712fa5b6ea0439021dcb842083f6b469dbbb6062c7c1a82f
7
+ data.tar.gz: 2d1955462f7461166837af44ef1b2767d86d2e975c8fff74f9ba9f14edd285462662e2fb6ed8dbba6ed3bcbadb90804aa22c243482fcd65f7d3a925b4e55be8f
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Volcano
4
- VERSION = '0.22.0'
4
+ VERSION = '0.23.0'
5
5
  end
data/sig/user.rbs ADDED
@@ -0,0 +1,30 @@
1
+ module Volcano
2
+ class User < Data
3
+ attr_reader id: String
4
+ attr_reader project_id: String?
5
+ attr_reader email: String
6
+ attr_reader email_confirmed: bool?
7
+ attr_reader user_metadata: Hash[String, json_value]?
8
+ attr_reader app_metadata: Hash[String, json_value]?
9
+ attr_reader avatar_url: String?
10
+ attr_reader status: String
11
+ attr_reader banned_until: Time?
12
+ attr_reader last_sign_in_at: Time?
13
+ attr_reader created_at: Time?
14
+ attr_reader updated_at: Time?
15
+
16
+ def self.new: (String id, String? project_id, String email, bool? email_confirmed, Hash[String, json_value]? user_metadata, Hash[String, json_value]? app_metadata, String? avatar_url, String status, ?Time? banned_until, ?Time? last_sign_in_at, ?Time? created_at, ?Time? updated_at) -> User
17
+ | (id: String, email: String, status: String, ?project_id: String?, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> User
18
+ def self.[]: (String id, String? project_id, String email, bool? email_confirmed, Hash[String, json_value]? user_metadata, Hash[String, json_value]? app_metadata, String? avatar_url, String status, ?Time? banned_until, ?Time? last_sign_in_at, ?Time? created_at, ?Time? updated_at) -> User
19
+ | (id: String, email: String, status: String, ?project_id: String?, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> User
20
+ def self.members: () -> [:id, :project_id, :email, :email_confirmed, :user_metadata, :app_metadata, :avatar_url, :status, :banned_until, :last_sign_in_at, :created_at, :updated_at]
21
+
22
+ def initialize: (id: String, email: String, status: String, ?project_id: String?, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> void
23
+ def members: () -> [:id, :project_id, :email, :email_confirmed, :user_metadata, :app_metadata, :avatar_url, :status, :banned_until, :last_sign_in_at, :created_at, :updated_at]
24
+ def with: (?id: String, ?project_id: String?, ?email: String, ?email_confirmed: bool?, ?user_metadata: Hash[String, json_value]?, ?app_metadata: Hash[String, json_value]?, ?avatar_url: String?, ?status: String, ?banned_until: Time?, ?last_sign_in_at: Time?, ?created_at: Time?, ?updated_at: Time?) -> User
25
+ def to_h: () -> { id: String, project_id: String?, email: String, email_confirmed: bool?, user_metadata: Hash[String, json_value]?, app_metadata: Hash[String, json_value]?, avatar_url: String?, status: String, banned_until: Time?, last_sign_in_at: Time?, created_at: Time?, updated_at: Time? }
26
+ | [K, V] () { (Symbol, String | bool | Hash[String, json_value] | Time | nil) -> [K, V] } -> Hash[K, V]
27
+ def deconstruct: () -> [String, String?, String, bool?, Hash[String, json_value]?, Hash[String, json_value]?, String?, String, Time?, Time?, Time?, Time?]
28
+ def deconstruct_keys: (Array[Symbol]?) -> Hash[Symbol, String | bool | Hash[String, json_value] | Time | nil]
29
+ end
30
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volcano-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kong
@@ -616,6 +616,7 @@ files:
616
616
  - sig/storage_records.rbs
617
617
  - sig/upload_records.rbs
618
618
  - sig/upload_session_status.rbs
619
+ - sig/user.rbs
619
620
  homepage: https://github.com/Kong/volcano-sdk-ruby
620
621
  licenses:
621
622
  - Apache-2.0