omniauth-campus 6.3 → 6.4

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: c510e481bea45151b0ef68463ee248f75a49e91e
4
- data.tar.gz: ddadf4b9c7aaa87d29091a3bfcf0c25805f8d7fe
3
+ metadata.gz: 0c9b53bc2d2b6e9ef672113b62189c2a273b57fb
4
+ data.tar.gz: 7fe5e016be80ff6fd23e45364735a0cf26140439
5
5
  SHA512:
6
- metadata.gz: 43661610916f725df5d8b4f81a4351a490d854c40cdd6c070a9cbaa2f9b16d6fd10abbff03d8ad5ac86f8bebcee4ba4010f330cf74d9dfaac69c7f80dedee3fc
7
- data.tar.gz: b58df18b655491c9aecb3f154c2a1a50a018240f149a60784e19606e8fe72af5120f8c272740c9d0f89498307aca2564d1b746cae45f06e4514413d5a53fd63e
6
+ metadata.gz: cb843cf4c4065670d27122a4e569ceabf77b6b544aaaf6b12db072c28437968294c005a5c8a5cd94d08ae7e44ac2d21ff2dfec4c75fd0e6dcf71a2b45b16b73a
7
+ data.tar.gz: dabd50bd2ec27258b4e2c16dfbe079c1916e65fae0a856eca7c9501adb4bd40878f133a0ec7b9237a5dc0e5a6062f8ad6a64d17fb2bf6c32e2e8a8aed43fe73a
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "6.3"
3
+ VERSION = "6.4"
4
4
  end
5
5
  end
6
6
 
@@ -33,11 +33,10 @@ module OmniAuth
33
33
  #:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
34
34
 
35
35
 
36
- uid { raw_info['uid'] }
36
+ uid{access_token.params['uid']}
37
37
 
38
38
  info do {
39
- :name => raw_info['name'],
40
- :mail => raw_info['mail']
39
+ :name => raw_info['name']
41
40
  }
42
41
  end
43
42
 
@@ -47,8 +46,7 @@ module OmniAuth
47
46
  end
48
47
 
49
48
  def raw_info
50
- #@raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user.json").body)
51
- @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user.json").body)
49
+ @raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user.json").body)
52
50
  rescue ::Errno::ETIMEDOUT
53
51
  raise ::Timeout::Error
54
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-campus
3
3
  version: !ruby/object:Gem::Version
4
- version: '6.3'
4
+ version: '6.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr