omniauth-campus 4.8 → 4.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: 7497b43062532d347799c8344363a783a221c6e8
4
- data.tar.gz: 3c8d79abeaba11bcc6d433bc29afc6d7a7433dee
3
+ metadata.gz: 4a77dc0e37f9e62b1b054331849ec613e158e2c9
4
+ data.tar.gz: c05995c1b3bb37d60279d6625bb2b22298ce36b3
5
5
  SHA512:
6
- metadata.gz: a4d36ec73755702b0135de241ca3d8aae96f6046c0ba1805ee449723a7de8db23655d3a343fb22844937590a563d7c2e4c6248ad9f5acbbcbd014e4fe301dcd7
7
- data.tar.gz: 44fea83ce208f9f69a46dbe51954bb64f8d575d3f290a1a2d3ee55f1f33db3acac68d83d8805c126d00ba885b98afa8b9a7ea2de1b059f24ff6e239854753bba
6
+ metadata.gz: b4211d5e1c1be5dea57aefdb5511ddbc5a5296007d379a96dc2423242bcf89dbede819d2cb7fbfed9463ed47cd1fe0626da10f73a857c1948ec7c5f5b6bca837
7
+ data.tar.gz: 9447481a4a5d4e41dc9146d7161916bd8d4cf679fb585ea9386dd8f2db58a4e2d99bbf16797025be6f778c53e7769be80f801b48708a17851aa01bc1aee99bae
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "4.8"
3
+ VERSION = "4.9"
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{raw_info['uid']}
36
+ uid{access_token.params['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/me").body)
49
+ @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user/1").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.8'
4
+ version: '4.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr