omniauth-campus 5.8 → 5.9

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: 85583b948ce0cd091e2ab2df84b5948f559429c3
4
- data.tar.gz: 480bfa6d7999050439ddb69cc03e63849aea99c9
3
+ metadata.gz: d7ed7e9f62ddff751d6e5a70b1887f98a0a551d8
4
+ data.tar.gz: 78c2cb6c51277ab5b05a2e132502efc377533dd1
5
5
  SHA512:
6
- metadata.gz: 51965ef62ec6c168339fba16fe55df6ad3e9613172e9c7c42cf2abd190a7cfeb7f16b95cec7cf45fd2c50c5a7037e96114f01a827430052c0a61fcc3affd9cfa
7
- data.tar.gz: 44ebc1248f1432b2b9f29750b91f5fa2b7d7198d313b63ef7922f1a450214bdf27652dbb0bedee573a182c4dbcf16dc68d8fda5a838f81033a39e959962f941c
6
+ metadata.gz: 08845003fe23912baa71ba12b2f8268683f6f9943498b3166a976df878add4a7f7838e7c9adf6e8e237c7f7a8b367d833a30fac8722fb5c7aa41ea715f320553
7
+ data.tar.gz: 4aca4a360dcebaa1b1d69d8f1c72aadda3c7949a9904f3128bc63497add1751b934b796499eb641b1342665447f0f7f0c267bfcc8a80b790caa75339d0002bfb
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "5.8"
3
+ VERSION = "5.9"
4
4
  end
5
5
  end
6
6
 
@@ -36,8 +36,7 @@ module OmniAuth
36
36
  uid { raw_info['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,7 +46,8 @@ 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)
49
+ #@raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user.json").body)
50
+ @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user.json").body)
51
51
  rescue ::Errno::ETIMEDOUT
52
52
  raise ::Timeout::Error
53
53
  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: '5.8'
4
+ version: '5.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr