omniauth-campus 4.4 → 4.5

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: 91eeb81e908629a0a47b5ac41e41b78277804b13
4
- data.tar.gz: 95bf802b909b456a9857f0d82e1e0534b347b818
3
+ metadata.gz: d287b86da702d21c1b64726a94555ed05bfaccec
4
+ data.tar.gz: b1bf5ff568507977d30babbdf811f94b4cbafe9d
5
5
  SHA512:
6
- metadata.gz: bc810f704cc66a03c4d7ba055151a965e479611a10ba71f3984843e7ab6a3bf2ac58bf5f4079afb4a4f9da2e6b57496ec94e0519031345daa6db9b7b314da6ee
7
- data.tar.gz: 87a90a833c1ac41b03ccccf9fdfc40ac930bb80eaeaf77f188f20328db9dcb9f937c827c4e806938c8bc5d7dd6495ae708239b715dda5fcf26dad7949d922fdf
6
+ metadata.gz: ced1cbd59d24f5f9d1ab3de3bfe00aceb8bc4b1f1fef3aaad4d518653f8f9a7142aa98207f1bb0bd7f3d88b9b170f07d5338704883edbffed343db239f731e85
7
+ data.tar.gz: 387c5187758f440aa07f27279a4e4c7f5b77b6f9cafba4c76de9c02570ea1da94968a77e4b2ce28d840bcb6c6326b8a22b0f13cefa0d456a9c42bf81c5f73094
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "4.4"
3
+ VERSION = "4.5"
4
4
  end
5
5
  end
6
6
 
@@ -30,7 +30,7 @@ module OmniAuth
30
30
  #:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
31
31
 
32
32
 
33
- uid{access_token.params['uid']}
33
+ uid{request.params['uid']}
34
34
 
35
35
  info do {
36
36
  :name => raw_info['name']
@@ -43,7 +43,7 @@ module OmniAuth
43
43
  end
44
44
 
45
45
  def raw_info
46
- @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user/1.json").body)
46
+ @raw_info ||= MultiJson.decode(access_token.get("/myawesomejson/user/" + request.params['uid']).body)
47
47
  rescue ::Errno::ETIMEDOUT
48
48
  raise ::Timeout::Error
49
49
  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.4'
4
+ version: '4.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr