omniauth-geekpark 1.0.6 → 1.0.7

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
  SHA1:
3
- metadata.gz: a3a9da5eabb8841b18dbca6f94628cf97a4816f3
4
- data.tar.gz: 25c8f2781ca3ea8e52bbcb57ae14ea97b120e033
3
+ metadata.gz: c435caef8d782e560689a431935243457d9f33bc
4
+ data.tar.gz: 2873f67b8fc643cc0fcf0d86fcbdc8188086d2d8
5
5
  SHA512:
6
- metadata.gz: 5a2777b31f86997b12dcfc82d2c766619fe529210c0cd01c78fa9d9785d9abd076ce7305d5da97feba8a65cd6a193fceba14922cec4811308a627f94fe36e535
7
- data.tar.gz: 5e3e9ae5450f9ceebac8a57e606443f41e9256c6d4cc048ef3ae96adeffef0f35a4ff251455fdfa6279ed6356d1d472921766b1327caff22adfa63f76a3fa18a
6
+ metadata.gz: b45228c61957f6182745c74378c2c6224b183f7ddd0d449108bc40542fd483417bc91e36c2e3ae2f32a583dc06288d6ebc78a27af43f96ed85d07fae431fec84
7
+ data.tar.gz: 8d80dc8df52713ac78506e4bd412b87706d76c73e87b4a9b8449744817e1b4e74a0d5d964f81587b1d180089021cab58d79c9508403c854f3f56fa04a33c5bfa
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-geekpark (1.0.4)
4
+ omniauth-geekpark (1.0.6)
5
5
  omniauth (~> 1.0)
6
6
  omniauth-oauth2 (= 1.3.1)
7
7
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module GeekPark
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ module OmniAuth
22
22
  def raw_info
23
23
  @raw_info ||= begin
24
24
  response = access_token.get(
25
- '/sns/userinfo',
25
+ '/cgi-bin/user/info',
26
26
  { params: { access_token: access_token.token,
27
27
  openid: access_token['openid'],
28
28
  lang: 'zh-CN' },
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-geekpark
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - HaoYunfei