omniauth-typetalk 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 8bdec85f7d5c18e6976c37f8e52d2b0cdc572f938522fcc75e6b15be1890d636
4
- data.tar.gz: 7f9e5b3f108e9fc40aa46662e48bcf02d973e6564b70c5f5452f35764bd6db5e
2
+ SHA1:
3
+ metadata.gz: bc1947f01e44f45cd0fc5a7eb2b962105fa85ba4
4
+ data.tar.gz: d69f14161a67c08259011b7135f3b99196ac79b3
5
5
  SHA512:
6
- metadata.gz: 9a2bf43cf02a991c200ae95f7a1706a394bfae2c03fec294d6b1f35e0bfd3f3b7ecbc9b7a651332c3e45dc6cdf0d639fa32d2a65f2e1a11cdc9c3d7263cdc542
7
- data.tar.gz: 43c8eb8f150b1f8f5f053da5f81ef9b8a8f7233dda508cec3f7a6861b5c69da1ad5c634c456efe67a16a3040a233720c767f0c01f87b2c5339c2394174ee3313
6
+ metadata.gz: 2ccd64dbaf6ec496ed824bcfac02bdb6b0439ba5066155cab1b71bc37407305109ddec8c44cb1906aa05bcc2c598cbbba7c34e1dadb564df954105410208a191
7
+ data.tar.gz: 17cc2548339e09b17f3731103ac78547a241fdbe1c8aa12980c88ed9fc207d7c646eb10cb81d27836737e13b842df386b2b5cd2912d6de08cf7af0db8aeb754b
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Typetalk
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -4,9 +4,9 @@ module OmniAuth
4
4
  module Strategies
5
5
  class Typetalk < OmniAuth::Strategies::OAuth2
6
6
  option :client_options, {
7
- :site => 'https://typetalk.com',
7
+ :site => 'https://typetalk.com',
8
8
  :authorize_url => 'https://typetalk.com/oauth2/authorize',
9
- :token_url => 'https://typetalk.com/oauth2/access_token',
9
+ :token_url => 'https://typetalk.com/oauth2/access_token',
10
10
  }
11
11
 
12
12
  def request_phase
@@ -25,7 +25,16 @@ module OmniAuth
25
25
 
26
26
  info do
27
27
  {
28
- 'name' => raw_info['account']['name']
28
+ 'id' => raw_info['account']['id'],
29
+ 'name' => raw_info['account']['name'],
30
+ 'fullName' => raw_info['account']['fullName'],
31
+ 'suggestion' => raw_info['account']['suggestion'],
32
+ 'imageUrl' => raw_info['account']['imageUrl'],
33
+ 'isBot' => raw_info['account']['isBot'],
34
+ 'lang' => raw_info['account']['lang'],
35
+ 'timezoneId' => raw_info['account']['timezoneId'],
36
+ 'createdAt' => raw_info['account']['createdAt'],
37
+ 'updatedAt' => raw_info['account']['updatedAt'],
29
38
  }
30
39
  end
31
40
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-typetalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Issei Horie
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.7.3
154
+ rubygems_version: 2.5.2.3
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: OmniAuth strategy for Typetalk.