omniauth-wechat-oauth2 0.1.3 → 0.2.0

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
  SHA256:
3
- metadata.gz: f2db2a6ffccd120dc2aea814ea578ac393d9489dbc6c9a464b3e6b89f4840739
4
- data.tar.gz: 4f2b9269d515f278d52eae8f66b2ebc2442730a6293a123e7cb27704f5c45294
3
+ metadata.gz: ef485d4684f90ed4a598de6ec279b07a5019a397a55f6e36ec36186a8675cf2b
4
+ data.tar.gz: '049a415287f7c4f8c1b7a0cb2b5b80de3d114045927f94c6304dffe13ca601b8'
5
5
  SHA512:
6
- metadata.gz: c26fac5621c86fb639866d329ed5c3a34791a542c3bd47ebe5a60e8cdf1ef7d9b82590273142c1d3e852fefa4f8e50f64126ae42992044ed512bff3e3d8f00ee
7
- data.tar.gz: 6443a43f47bc03cb1579e27ec555bce0014c22b74ac9e81612ac5d197e7068612766b3139c69de0397839d437e6c77e0a113e507a3dccddb9040bb83631c4a12
6
+ metadata.gz: cd1008221478aae3295f6a319d31fd8f69644350d13a1761d5ac19650a6f972710b0265a1f05b971c3ddafd8f3e6e56d2571387ad08b4cdf4a7485ad4ed6ec7e
7
+ data.tar.gz: a4583e337826afd7245cb1211befbcd171efc34cde7bade245f87bfe5705e41734d12af844dfc5a81d04906edfba2860146762b4befd50c2f616d71ce8524e33
data/README.md CHANGED
@@ -66,7 +66,8 @@ Here's an example of an authentication hash available in the callback by accessi
66
66
  province: "Changning",
67
67
  city: "Shanghai",
68
68
  country: "China",
69
- headimgurl: "http://image_url"
69
+ headimgurl: "http://image_url",
70
+ unionid: 'unionid'
70
71
  },
71
72
  :credentials => {
72
73
  :token => "token",
@@ -82,7 +83,8 @@ Here's an example of an authentication hash available in the callback by accessi
82
83
  province: "Changning",
83
84
  city: "Shanghai",
84
85
  country: "China",
85
- headimgurl: "http://image_url"
86
+ headimgurl: "http://image_url",
87
+ unionid: 'unionid'
86
88
  }
87
89
  }
88
90
  }
@@ -31,7 +31,8 @@ module OmniAuth
31
31
  province: raw_info['province'],
32
32
  city: raw_info['city'],
33
33
  country: raw_info['country'],
34
- headimgurl: raw_info['headimgurl']
34
+ headimgurl: raw_info['headimgurl'],
35
+ unionid: raw_info['unionid']
35
36
  }
36
37
  end
37
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-wechat-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Hu
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: 2.3.0
83
+ version: 2.4.0
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="