omniauth-cohabitat-admin 1.1.1 → 1.2.0

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: bffba29368941747af1add93c8824b64da743f11
4
- data.tar.gz: b02e46178cb1955abef68c2bbd49935fd7809961
3
+ metadata.gz: 7e3f33943bde12fe413cdba7725b0d595dcbc8eb
4
+ data.tar.gz: c27512975cf50e6efcc2b99a6a2e20a8244e1feb
5
5
  SHA512:
6
- metadata.gz: 74729cec7889cc6472384af41a15ec45a38ca1a488c9fc2a37173abbe35eb9184a9e4cdfbe81fb2a7db1db5fa9b7a649a650289c67742100404878a4021c97e4
7
- data.tar.gz: 089c73dd768120f0d17c448fd681d2f42dae5a62d2025c7b6fccaa870aca6df85989f95b0dfe72d729e883b966cca0f743775e810d2f3e18378588166b938cbc
6
+ metadata.gz: 39b3a4144a2d61988ad9adc5e960d1579b90b667c8ace1a4cdf2f1ebc42f841e5fa93f03427c8a32ec17121e3644fd73df621d07994e04d7b139d6d9fac4f8d5
7
+ data.tar.gz: 7e62d30ae6109a36ac49b65ad10213374df88c424e3eb6aa482d738c457ae1db06041ba322173715fb25544d4088ef5fa3b25f1ac525ce3bf4f7fdff69faa61a
@@ -0,0 +1 @@
1
+ *.gem
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module CohabitatAdmin
3
- VERSION = "1.1.1"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ module OmniAuth
20
20
  end
21
21
 
22
22
  def raw_info
23
- @raw_info ||= access_token.get('/oauth2/user_info.json').parsed
23
+ @raw_info ||= access_token.get('/oauth2/user_info.json').parsed["Admin"]
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-cohabitat-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Lewandowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2015-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".gitignore"
48
49
  - lib/omniauth-cohabitat-admin.rb
49
50
  - lib/omniauth-cohabitat-admin/version.rb
50
51
  - lib/omniauth/strategies/cohabitat-admin.rb