userplex 0.3.0 → 0.4.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: eb929982a0ce676c345b56bdf26ee45481f1ed280f6f5ec68d0ac77ed4291c60
4
- data.tar.gz: 715c8a66b30f78347c26e2261d7c6bb2cee016c40d8b4550b07909c6af3c627f
3
+ metadata.gz: 765c1873eeacaf34a97e425f74774ec55ecc2e359ea5796f7425099cc06f5bb3
4
+ data.tar.gz: 4185d106d6180c41fcfa61e6317e2e9a06392147d8271f399ccb0da0a4c2d36e
5
5
  SHA512:
6
- metadata.gz: 7dcb63ec75676af6c8466329acf9527b883db4d408f2839f67ae4f246fe228487caa9a3c38a933bbb0abde5e7b9cb8dacfc81d974030154359e912241922bd2e
7
- data.tar.gz: 6099840a9b712dbb93faf7a0b24e818d79dae1062a96c6a1263a490f966c81ec95f9b0af3dee81fc763a3a1e296d07780b4fb1e625b390d6b317587ac076a09a
6
+ metadata.gz: a8c74f8721c5033df8737f30a147d86b02801c39fcb1e0ede11ddd5622a246ef0a4f93e848a0557089ea956acfd6badc7d67fec7ece83e639099f598fd6c6567
7
+ data.tar.gz: 6c350002c4da00c768fc4f3bcc21e18268a47f70cc7a707a8a6ad7281f57d5c0d6c1875aa87ed31e16ec3419d46068cf13991a578e1a2303b03a905518d4e497
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0 (2025-12-13)
4
+
5
+ Full Changelog: [v0.3.0...v0.4.0](https://github.com/dqnamo/userplex-ruby/compare/v0.3.0...v0.4.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([187db35](https://github.com/dqnamo/userplex-ruby/commit/187db35d11c471e16888798393fa66fc96142922))
10
+
3
11
  ## 0.3.0 (2025-12-13)
4
12
 
5
13
  Full Changelog: [v0.2.0...v0.3.0](https://github.com/dqnamo/userplex-ruby/compare/v0.2.0...v0.3.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "userplex", "~> 0.3.0"
18
+ gem "userplex", "~> 0.4.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -440,8 +440,7 @@ module Userplex
440
440
  # @example
441
441
  # # `user_identify_response` is a `Userplex::Models::UserIdentifyResponse`
442
442
  # user_identify_response => {
443
- # success: success,
444
- # user_id: user_id
443
+ # success: success
445
444
  # }
446
445
  def deconstruct_keys(keys)
447
446
  (keys || self.class.known_fields.keys)
@@ -10,16 +10,8 @@ module Userplex
10
10
  # @return [Boolean]
11
11
  required :success, Userplex::Internal::Type::Boolean
12
12
 
13
- # @!attribute user_id
14
- # The ID of the identified user
15
- #
16
- # @return [String]
17
- required :user_id, String, api_name: :userId
18
-
19
- # @!method initialize(success:, user_id:)
13
+ # @!method initialize(success:)
20
14
  # @param success [Boolean] Operation success status
21
- #
22
- # @param user_id [String] The ID of the identified user
23
15
  end
24
16
  end
25
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Userplex
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
@@ -15,22 +15,14 @@ module Userplex
15
15
  sig { returns(T::Boolean) }
16
16
  attr_accessor :success
17
17
 
18
- # The ID of the identified user
19
- sig { returns(String) }
20
- attr_accessor :user_id
21
-
22
- sig do
23
- params(success: T::Boolean, user_id: String).returns(T.attached_class)
24
- end
18
+ sig { params(success: T::Boolean).returns(T.attached_class) }
25
19
  def self.new(
26
20
  # Operation success status
27
- success:,
28
- # The ID of the identified user
29
- user_id:
21
+ success:
30
22
  )
31
23
  end
32
24
 
33
- sig { override.returns({ success: T::Boolean, user_id: String }) }
25
+ sig { override.returns({ success: T::Boolean }) }
34
26
  def to_hash
35
27
  end
36
28
  end
@@ -1,15 +1,13 @@
1
1
  module Userplex
2
2
  module Models
3
- type user_identify_response = { success: bool, user_id: String }
3
+ type user_identify_response = { success: bool }
4
4
 
5
5
  class UserIdentifyResponse < Userplex::Internal::Type::BaseModel
6
6
  attr_accessor success: bool
7
7
 
8
- attr_accessor user_id: String
8
+ def initialize: (success: bool) -> void
9
9
 
10
- def initialize: (success: bool, user_id: String) -> void
11
-
12
- def to_hash: -> { success: bool, user_id: String }
10
+ def to_hash: -> { success: bool }
13
11
  end
14
12
  end
15
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userplex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Userplex