omniauth-campus 7.4 → 7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9861e530c2a3a3af6f1c34790de9283a68e00ab
4
- data.tar.gz: cc6b0d1c395aecacc9ba77c30fa2064ffcf40a20
3
+ metadata.gz: 419ba5b08874ef9807c60e7a4b37de4aab56e758
4
+ data.tar.gz: ef53b91460d166e9993fe5c03c022ef2f068742a
5
5
  SHA512:
6
- metadata.gz: e492f5c11e52ed140570339c1fb8a58b298c59ef49b620c2bde4bbb71bbbd1754d8720b0b0b3cfa4a2f236572d3581b06c9b00f2b694098e375a6860fcb69027
7
- data.tar.gz: f4cf625a2b78eb0d94fe5a066edc0cbea919200a91e509ad02aa205ab9b2f791c502118f072b692e0cbe51b8dbe221dbec300d0c6e96389e3e7c414a99833c54
6
+ metadata.gz: 273025b81987c8c04ced92971e160b00eca8a3f0e8f6c32e5b91a42befc4072bda829b67891ab7e8b3124639a753a058c1782d809e63d6e56734f5cb8335b4f9
7
+ data.tar.gz: d590d8469587667d97d4cdaffcff51014c321b394ac28cb8c7e0fd6586dc6891b9fb450adc65f73deb4d5e45b789c8301c3b33dbc42b53998191d79571e96fc3
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "7.4"
3
+ VERSION = "7.5"
4
4
  end
5
5
  end
6
6
 
@@ -65,7 +65,9 @@ module OmniAuth
65
65
 
66
66
  def raw_info
67
67
  #@raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user/#{access_token.params[:uid]}?format=json").body)
68
- @raw_info ||= MultiJson.decode(access_token.get("#{options[:client_options][:site]}/myawesomejson/user.json").body)
68
+ @raw_info ||= MultiJson.decode(access_token.get("http://dev-oauth-test.gotpantheon.com/myawesomejson/user?format=json").body)
69
+ rescue ActiveSupport::JSON.parse_error
70
+ Rails.logger.warn("Attempted to decode invalid JSON")
69
71
  rescue ::Errno::ETIMEDOUT
70
72
  raise ::Timeout::Error
71
73
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-campus
3
3
  version: !ruby/object:Gem::Version
4
- version: '7.4'
4
+ version: '7.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-02 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler