omniauth-feishu 0.1.5 → 0.1.6

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: 843abb9c674bd1cf0899fc1b27dbded35cc719bf8eb8f2b5bef0dc1924c0c33d
4
- data.tar.gz: 7f84f3053d7079d5769a6b37a445787d6d8dba6d234fba9f8a64909dc7ca2804
3
+ metadata.gz: bd59f95721489e7949dc0289eca3441dd317ed19bb8def94f757063e7d90cd7f
4
+ data.tar.gz: 67c141202a467cac93c3267938a637ab820fed6678757b6e8a835faf56006720
5
5
  SHA512:
6
- metadata.gz: 6d5f23d921674ad9bac38c5ace9a1f034c1c6fa77d0cc7cecedd7f4dedc0425620d68dfd7303280e5a89735f16d28354abfebd4f9d2b1c1889520434ef09a0fb
7
- data.tar.gz: c4be60d376e3249c8ba94a4243948859ee555c089161112c180f5c3fdb855892633f30b8cd3468cb836cbbfa0ee6430cb84c8e42501790f40323eb1a61545dfd
6
+ metadata.gz: 82e1e911346a351f7d7bd0a6b092f587d691489578dc49ce0ad71a793e3028fda368b926e1f2fa9c350227d807f0e3f9db176d613b68863932a06c3fda787629
7
+ data.tar.gz: a71bbda1517549ce0f99b152fa4b1ac7ec4471a5abbb10a1496b7c3e94c46314a99a61bf643f7b238349253646592bbec6ea914a50b037c84e5a511f78f8bf0b
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Feishu
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -17,6 +17,8 @@ module OmniAuth
17
17
  user_info_url: "https://open.feishu.cn/open-apis/authen/v1/user_info"
18
18
  }
19
19
 
20
+ uid { raw_info['user_id'] }
21
+
20
22
  info do
21
23
  {
22
24
  name: raw_info['name'],
@@ -26,10 +28,10 @@ module OmniAuth
26
28
  avatar_thumb: raw_info['avatar_thumb'],
27
29
  avatar_middle: raw_info['avatar_middle'],
28
30
  avatar_big: raw_info['avatar_big'],
29
- user_id: raw_info['user_id'],
30
- union_id: raw_info['union_id'],
31
- open_id: raw_info['open_id'],
32
- en_name: raw_info['en_name'],
31
+ user_id: raw_info['user_id'],
32
+ union_id: raw_info['union_id'],
33
+ open_id: raw_info['open_id'],
34
+ en_name: raw_info['en_name'],
33
35
  app_access_token: @app_access_token
34
36
  }
35
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-feishu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-10 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2