norseal-omniauth 0.1.2 → 0.1.4

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: dae82da8fefa8b1a639dfbb795f992d4dbd723b4
4
- data.tar.gz: e21ebbf68bde02fb18b38f48694b9473c4e99d1d
3
+ metadata.gz: 973d53cab291fa3217e834421d17b9909ebc788b
4
+ data.tar.gz: e4395afcb5d283c1be5a2438bedc8e94f5671d02
5
5
  SHA512:
6
- metadata.gz: 183b466ea85fbb87134cf3f05ad24b7d5dd15ab50de51b1bf1ce71c924f0b2b6d88a6990c5865a4f38b4efb649c06d594744220d4d15fa8b2b6b2d4787dd8c66
7
- data.tar.gz: 7f6e307ceece899dc6effad9bc3639b4027a1ca5aa89ee23ca2af21713abff333d768524411be06b18694f5268741bc10aca59e4dc2628fc22595fc77dc58ae3
6
+ metadata.gz: 96f993c9e0ae6ad86afa26b6e03b89995b8eaccf06590cca1bd97486c88a2cd51070f404bc4acbba8140329375e81b742be4a2e13123bf8ee482468254da4996
7
+ data.tar.gz: 7cf39c80cb0645d5977efe91db20700041b871db66ebb44f398a26576421f11117bf30fe9cacc279a03baf14f8b1b2827435aeb046fe030decd64341feed5199
@@ -4,7 +4,7 @@ module OmniAuth
4
4
  option :name, :norseal
5
5
 
6
6
  option :client_options, {
7
- site: "http://indentity.norseal.co.uk",
7
+ site: "http://identity.norseal.co.uk",
8
8
  authorize_url: "/oauth/authorize"
9
9
  }
10
10
 
@@ -17,7 +17,7 @@ module OmniAuth
17
17
  end
18
18
 
19
19
  def raw_info
20
- @raw_info ||= access_token.get('/me.json').parsed
20
+ @raw_info ||= access_token.get('/me.json').parsed || {}
21
21
  end
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  module Norseal
2
2
  module OmniAuth
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- require "norseal/omniauth/version"
1
+ require 'omniauth-oauth2'
2
2
 
3
3
  require "norseal/omniauth/version"
4
4
  require "norseal/omniauth/strategy"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norseal-omniauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Barton