omniauth-campus 4.9 → 5.1

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: 4a77dc0e37f9e62b1b054331849ec613e158e2c9
4
- data.tar.gz: c05995c1b3bb37d60279d6625bb2b22298ce36b3
3
+ metadata.gz: 18845af9afe22f566ad469b2161a0086f6e9e7d8
4
+ data.tar.gz: 6c742fadffef3da7b0eacbaada4989140c19fd85
5
5
  SHA512:
6
- metadata.gz: b4211d5e1c1be5dea57aefdb5511ddbc5a5296007d379a96dc2423242bcf89dbede819d2cb7fbfed9463ed47cd1fe0626da10f73a857c1948ec7c5f5b6bca837
7
- data.tar.gz: 9447481a4a5d4e41dc9146d7161916bd8d4cf679fb585ea9386dd8f2db58a4e2d99bbf16797025be6f778c53e7769be80f801b48708a17851aa01bc1aee99bae
6
+ metadata.gz: 17ecac20facc156481ab47b4cc0aaa13d4dccae2e412941aa31e9ce2e7f077973010b9338bf2a2a5e90e03a44160ae7c0dabe9f9d1c34e62f6db704da6490a72
7
+ data.tar.gz: 57fce6fc4e000421ae60d009e2550dc02625d3436a60998a64c6dd331c14f568c77bb561f9548f600b1b78f8bc34d68bb977d482fd23c2180ead20454d4f3a10
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "4.9"
3
+ VERSION = "5.1"
4
4
  end
5
5
  end
6
6
 
@@ -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/1").body)
49
+ @raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/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.9'
4
+ version: '5.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr