workos 0.11.0 → 0.11.1

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: 40285726466960ebdf92e8c851d172bc9387a0941579c1f2e4fb9b1b262ea071
4
- data.tar.gz: 3ceb76e02b50a129e077bc99822b0bc79615a2a8f4df1315c210766feb6333cb
3
+ metadata.gz: 1368d9f2e05190d798f6b29b419ec7e4ad220074973f4fbd0e06096808854886
4
+ data.tar.gz: eaa0cb1aef9de77897c949cbd7c4652c24163f33b3f87fd67920c41ebea691de
5
5
  SHA512:
6
- metadata.gz: 27d9e22ba5b80d6dcfdcdd68886c64b720d7f94ee0724007599a4d2410e56b778771978046930e24a480f1bac0de4823d2dd39c1669cdbc36a4629547a84e9f6
7
- data.tar.gz: f750566f656fc734d9d112bb99285de9f371e64212fdfa404dae62f77473f97cc735990b157cc03e5f10032fe139a48d9a68533cd0f75b81f98d631408e17685
6
+ metadata.gz: eb2a17a7450f9f54a91fdb1f2eeeb8ae63ee8d4fa9ffd4086d0e7f012e562130a6198dc7a8a9750b67312d7f678abb9a4a2e8f9af228df116386931cfcd92cba
7
+ data.tar.gz: 40e578a8e57f22675db3911c636564b8eeb31bda2d07685a0349d57da02fb09f1aab14e22c702939e44e3315e6dc6b138943e571893a41c57931f32bec407718
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- workos (0.11.0)
4
+ workos (0.11.1)
5
5
  sorbet-runtime (~> 0.5)
6
6
 
7
7
  GEM
@@ -8,7 +8,7 @@ module WorkOS
8
8
  class DirectoryUser
9
9
  extend T::Sig
10
10
 
11
- attr_accessor :id, :emails, :first_name, :last_name, :username, :state,
11
+ attr_accessor :id, :idp_id, :emails, :first_name, :last_name, :username, :state,
12
12
  :raw_attributes
13
13
 
14
14
  sig { params(json: String).void }
@@ -16,6 +16,7 @@ module WorkOS
16
16
  raw = parse_json(json)
17
17
 
18
18
  @id = T.let(raw.id, String)
19
+ @idp_id = T.let(raw.idp_id, String)
19
20
  @emails = T.let(raw.emails, Array)
20
21
  @first_name = raw.first_name
21
22
  @last_name = raw.last_name
@@ -27,6 +28,7 @@ module WorkOS
27
28
  def to_json(*)
28
29
  {
29
30
  id: id,
31
+ idp_id: idp_id,
30
32
  emails: emails,
31
33
  first_name: first_name,
32
34
  last_name: last_name,
@@ -48,6 +50,7 @@ module WorkOS
48
50
 
49
51
  WorkOS::Types::DirectoryUserStruct.new(
50
52
  id: hash[:id],
53
+ idp_id: hash[:idp_id],
51
54
  emails: hash[:emails],
52
55
  first_name: hash[:first_name],
53
56
  last_name: hash[:last_name],
@@ -7,6 +7,7 @@ module WorkOS
7
7
  # for the DirectoryUser class
8
8
  class DirectoryUserStruct < T::Struct
9
9
  const :id, String
10
+ const :idp_id, String
10
11
  const :emails, T::Array[T.untyped]
11
12
  const :first_name, T.nilable(String)
12
13
  const :last_name, T.nilable(String)
@@ -2,5 +2,5 @@
2
2
  # typed: strong
3
3
 
4
4
  module WorkOS
5
- VERSION = '0.11.0'
5
+ VERSION = '0.11.1'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - WorkOS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-27 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime