omniauth-alipay-oauth2 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
2
  SHA1:
3
- metadata.gz: 28e6a180159ccffe5bec7047d902cf414fc8442c
4
- data.tar.gz: 4f0d476eb63523997a82f05a5cd12bd5e5f1075c
3
+ metadata.gz: b75f5345c505156e83dc62ab06aff2d7c890d84d
4
+ data.tar.gz: 469db6c73aefc0bd4186daba22cb0a526e9cef80
5
5
  SHA512:
6
- metadata.gz: c6b3be5772e7caa3d2ba8b8f956d1cacbb32a7faea335d06a077ecb87726cc25853e3959de0c7736bfd6be566fab302c31d4ef53c1351beec225f2e211e6ac83
7
- data.tar.gz: 2f10c93fce6e9dfcb949c1cfab4a47187678684888f30815dbcbd87993cb8b9cac10b499d64283fe84ed510b1f7d5ee42522d8bd43cb30ef2f8e39aca893cea9
6
+ metadata.gz: 2a7b88b8e158119e0ba1c90465fa3cef57d62c7da711fec66c6603a35bdd39ab6aa57e6d80492c2e6f75bcedf82d808756c3beef2fa2307d472670105aec748a
7
+ data.tar.gz: 083efb1dc43a3d0844009b82d9abcca995c55af2e212d42c64979fe205daed46c322b53d41993cb79c9f134c6c5f240f97f7cc1cde2cd3af0ae408ec8c738b54
data/.gitignore CHANGED
@@ -32,3 +32,7 @@ build/
32
32
 
33
33
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
34
34
  .rvmrc
35
+
36
+ # Ignore all configuration files of IDE.
37
+ /.idea
38
+ /.DS_Store
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-alipay-oauth2 (0.1.1)
4
+ omniauth-alipay-oauth2 (0.1.3)
5
5
  alipay (~> 0.15.0)
6
6
  omniauth
7
7
  omniauth-oauth2
@@ -12,7 +12,7 @@ GEM
12
12
  alipay (0.15.0)
13
13
  faraday (0.12.2)
14
14
  multipart-post (>= 1.2, < 3)
15
- hashie (3.5.6)
15
+ hashie (3.5.7)
16
16
  jwt (1.5.6)
17
17
  multi_json (1.12.2)
18
18
  multi_xml (0.6.0)
@@ -26,8 +26,8 @@ GEM
26
26
  omniauth (1.7.1)
27
27
  hashie (>= 3.4.6, < 3.6.0)
28
28
  rack (>= 1.6.2, < 3)
29
- omniauth-oauth2 (1.4.0)
30
- oauth2 (~> 1.0)
29
+ omniauth-oauth2 (1.5.0)
30
+ oauth2 (~> 1.1)
31
31
  omniauth (~> 1.2)
32
32
  rack (2.0.3)
33
33
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Alipay
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -46,15 +46,15 @@ module OmniAuth
46
46
  info do
47
47
  {
48
48
  avatar: raw_info['avatar'],
49
- user_type_value: raw_info['user_type_value'],
50
- user_status: raw_info['user_type_value'],
51
- gender: raw_info['gender'],
52
- is_certified: raw_info['is_certified'],
53
49
  province: raw_info['province'],
54
50
  city: raw_info['city'],
51
+ nick_name: raw_info['nick_name'],
55
52
  is_student_certified: raw_info['is_student_certified'],
56
- alipay_user_id: raw_info['alipay_user_id'],
57
- nickname: raw_info['nick_name']
53
+ user_type: raw_info['user_type'],
54
+ user_status: raw_info['user_status'],
55
+ is_certified: raw_info['is_certified'],
56
+ gender: raw_info['gender'],
57
+ alipay_user_id: raw_info['alipay_user_id']
58
58
  }
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-alipay-oauth2
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
  - Fuxin Hao
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2017-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth