omniauth-saml-rmunify 2.0.1 → 2.0.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/omniauth-saml-rmunify/version.rb +1 -1
- data/lib/omniauth/strategies/saml-rmunify.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 741e91801587d8a76b88d076f01ea67e3892c339
|
|
4
|
+
data.tar.gz: a6fb4f0fbde042383e032e6d3769da4103cae254
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a340f91ab0933908c104cd4fa9e06ffb0e42255cc535a90c6f506ce236d7a49ab53c25d651ab2d381a9e91f6142b68a0bdadb116a4b638b830341c9fbaa67f76
|
|
7
|
+
data.tar.gz: ea80111692dd14bdd822c9d29cb625b6d9c944a064aa666f1847675cc265d2a0810c7f412f2f6465ce0b18e1e64c2c718cc19054699343aaf961f4486eb10c62
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ https://github.com/hampei/omniauth-saml-rmunify
|
|
|
6
6
|
|
|
7
7
|
## master
|
|
8
8
|
|
|
9
|
+
## 2.0.2 (2014-11-26)
|
|
10
|
+
|
|
11
|
+
* Fixes error when license info is not given.
|
|
12
|
+
|
|
9
13
|
## 2.0.1 (2014-07-10)
|
|
10
14
|
|
|
11
15
|
* Fixed possible error when displayname, username nor firstname are all not available in the callback.
|
|
@@ -39,6 +39,7 @@ module OmniAuth
|
|
|
39
39
|
|
|
40
40
|
def licence
|
|
41
41
|
licence_str = @attributes['http://schemas.rm.com/identity/claims/applicence']
|
|
42
|
+
return nil if licence_str.nil? || licence_str.empty?
|
|
42
43
|
licence = Hash[licence_str[1..-2].split('|').map{|kv|
|
|
43
44
|
(k,v) = kv.split(':')
|
|
44
45
|
[k.underscore, v]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-saml-rmunify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henk van der Veen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-saml
|
|
@@ -61,3 +61,4 @@ specification_version: 4
|
|
|
61
61
|
summary: A custom info auth hash translating the rm unify attributes. Subclass of
|
|
62
62
|
omniauth-saml.
|
|
63
63
|
test_files: []
|
|
64
|
+
has_rdoc:
|