omniauth-aid 2.0.4 → 2.0.6

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: 0e60be572018d94edae79ae313099031f615edf9
4
- data.tar.gz: ff61b15babe3867f556a6f9836cbdb8abdb06f52
3
+ metadata.gz: f1e40a1649554ea5082cd778855e9155646edb97
4
+ data.tar.gz: 441122f6fe936a3fc8709ee3a3123220001b3ca4
5
5
  SHA512:
6
- metadata.gz: d6f05efb4f0f65b8af336729c521603792ee502eb6af90bb40521b2bb9977a6c828413841161b4c0c482e2bf7840cdcb0f101ea989636313458b4295a7106ecd
7
- data.tar.gz: d1bbfeb5484fa28ffedaea9808e3c9081239c7c6e56a546290834533e5972e162ce2a0a79274895e8b7ef3281377eb990f36c637430805193ab7074117e93d20
6
+ metadata.gz: eba6e9f64a111fab8591d05491471a2c0fa97c882728095fb52a23f373eafd43a146c645794362c15ee3e3e8eaf83d35ca113b7f0aab1c9952879982bcf29dc7
7
+ data.tar.gz: 683a40d1c31a1b9c22f8ede42097164e6c526f6a85a2babac81eae19cff51696223ae2de50b7117c4d8d9a7dce05f7ef6ca3812208d7f2185d0ba9f6b444e67b
data/README.md CHANGED
@@ -1,3 +1,10 @@
1
+ ---
2
+ Team: aID
3
+ Stack: Ruby
4
+
5
+ ---
6
+ <!--(Maintained Duplo labels above. Read more on http://info.api.no/handbook/guidelines/GitHub-guidelines.html)-->
7
+
1
8
  # Omniauth::Aid
2
9
 
3
10
  This gem provides an OmniAuth strategy for using aID as an Oauth2-provider in your app.
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Aid
3
- VERSION = "2.0.4"
3
+ VERSION = "2.0.6"
4
4
  end
5
5
  end
@@ -36,8 +36,10 @@ module OmniAuth
36
36
  end
37
37
 
38
38
  def raw_info
39
- response_body = access_token.get('/api/mercury/v2/users/me').body
40
- @raw_info ||= JSON.parse(response_body) || {}
39
+ @raw_info ||= begin
40
+ response_body = access_token.get('/api/mercury/v2/users/me').body
41
+ JSON.parse(response_body) || {}
42
+ end
41
43
  end
42
44
  end
43
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-aid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Helgemo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-22 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.4.5.1
97
+ rubygems_version: 2.5.1
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Omniauth-strategy for using aID as an OAuth2-provider