omniauth-azure-oauth2 0.0.5 → 0.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: 5b8ff94813d2aff467539aa5dfe5b9587c05cde7
4
- data.tar.gz: bcc0adf7c0ef929c30fdce36d5a6c368d1d4654f
3
+ metadata.gz: 698040dd85554685b47bc982df7299d699ddd9d0
4
+ data.tar.gz: 5a6df99f1113bcf21954be0027bb1c305adfd993
5
5
  SHA512:
6
- metadata.gz: 5427b202cd46922d88c5d290b71bf827fab5bdc458a823fbc08a82cc4a3a80d45ed41059852ccecfb3a70d248ccbddca1961b6c4e4678d3a38c4b65f30f2b39b
7
- data.tar.gz: f4e01a62111c81d47541104712f3c5e3e270c69be5ce6d9b0982817c57881d36ca1cc1f6c9569f3e7dc049703d55babda5a7527a3b0f9d5e17e925673528089d
6
+ metadata.gz: aa47882915bdb84266c88a709a4865251badb1c642b4f61461847adbee6dc096fc9eb453d469cf1a0acd690bde0377b480634307c2cb9f9667f820dc94017d4e
7
+ data.tar.gz: 09a4a620173b8f1f01bdf3761fed3664d2115d34eb1456ca092023d21fbdf30d42136746b81a8d72c1bb34432b8af7dcd119f08997e06ef28ac433dc45b82d49
@@ -1,3 +1,12 @@
1
+ # Version 0.0.6
2
+ * Use 'name' from Azure for name, and 'unique_name' for nickname per Auth Hash spec. Thanks @jayme-github
3
+
4
+ # Version 0.0.5
5
+ * loosen jwt requirement
6
+
7
+ # Version 0.0.5
8
+ * loosen jwt requirement
9
+
1
10
  # VERSION 0.0.4
2
11
  * fix for JWT scoping, thanks @tobsher
3
12
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module AzureOauth2
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -42,7 +42,8 @@ module OmniAuth
42
42
 
43
43
  info do
44
44
  {
45
- name: raw_info['unique_name'],
45
+ name: raw_info['name'],
46
+ nickname: raw_info['unique_name'],
46
47
  first_name: raw_info['given_name'],
47
48
  last_name: raw_info['family_name'],
48
49
  email: raw_info['email'] || raw_info['upn'],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-azure-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Nadig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth