omniauth-campus 4.6 → 4.7

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: c341c2bbc89141ca11e0ab52bbec60b65b74c59b
4
- data.tar.gz: d7145eab3657b34d8eaa8b8ee26fc6caae798133
3
+ metadata.gz: 33c2920ac915d175b4310e3a46c50d2728d57dbb
4
+ data.tar.gz: 4d4ac2267353be71503dd03947423bbad4840db7
5
5
  SHA512:
6
- metadata.gz: fdd23474e124b929cd268c9d43c20f538fad88b6fd6dd694adf0d0cbbda30ce88ee466cf584bb2206168dc5ca40d0784f06517c2868ada1bb239e0844989eaa6
7
- data.tar.gz: 646cf9126d6b8ab51611e5a8c828131fa816c7c0ed0c09498f997d9729210762a5db5c4b266ac49f3e72be42dbe10b9851e03f7ecc50094b2d68c8e0285a3401
6
+ metadata.gz: c71ada3a91c62b6a9ec9fee0910854e8446bdd99384c2ccc77c0cd20ed998243d1090e9f064e1d57954ac88210cb48912e46a0ba01395edf1d07a63d7a2e50ff
7
+ data.tar.gz: 6dc9cd798e5a76e13e3e709c15514fa23d5dc97c4e40ef66e8bf18611c3427a3621c0ee927d4d548b2d31277c0a1d092dd6c1c47be828851120a327d34183e22
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "4.6"
3
+ VERSION = "4.7"
4
4
  end
5
5
  end
6
6
 
@@ -33,7 +33,7 @@ module OmniAuth
33
33
  #:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
34
34
 
35
35
 
36
- uid{request.params['uid']}
36
+ uid{raw_info['uid']}
37
37
 
38
38
  info do {
39
39
  :name => raw_info['name']
@@ -46,7 +46,7 @@ module OmniAuth
46
46
  end
47
47
 
48
48
  def raw_info
49
- @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user/" + request.params['uid']).body)
49
+ @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user").body)
50
50
  rescue ::Errno::ETIMEDOUT
51
51
  raise ::Timeout::Error
52
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: '4.6'
4
+ version: '4.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr