uaeds 0.0.6 → 0.0.7

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: 6616042bdc25aa41055fcc9f92253f193d2beb10
4
- data.tar.gz: 9d6268ea817ccff5928f41459a1a42d56d327e7c
3
+ metadata.gz: 510a5eadadf27d9a168ff820e233666e28fec424
4
+ data.tar.gz: b34c8c4c0bad37c7405bd142153e7bd7e3c0dd1e
5
5
  SHA512:
6
- metadata.gz: 1e7508dd89b8bb74c0c8e5b7ee7f9ee1418c0c1478859774f696aa693cc3b3051f5571f905df4fa4ff198c9f3142da84367488575a36993ed4b651d94f0f4669
7
- data.tar.gz: b29eec6d55799f35415314c689191cc4f5fae28a5bcd862a71bb3efbc8bbf415143d06a01cbcdf51047435effe91faa8317ed9839a50a5a3a911f144573e488b
6
+ metadata.gz: '0646084b81b0ab5be6f982af7240f860af2b7616eaf56157f0c5da3d55a8345bd8f0d02755b9f9ed552abac3cae68a98b0a59ca964cf04b4cd5194c30aa12d18'
7
+ data.tar.gz: fa1d7cde23aebfe1a4db020cecd5cf2ec206f6c448994a5cd8779b3eb5696935bec5b852ddf606c0415104dcd23eed239a8db2e11016f81087354cf82f86efda
@@ -48,10 +48,14 @@ module Uaeds
48
48
  end
49
49
 
50
50
  def surname
51
+ preferred_name = lookup_value(:preferredSn)
52
+ return preferred_name if preferred_name
51
53
  lookup_value(:sn)
52
54
  end
53
55
 
54
56
  def given_name
57
+ preferred_name = lookup_value(:preferredGivenname)
58
+ return preferred_name if preferred_name
55
59
  lookup_value(:givenName)
56
60
  end
57
61
 
data/lib/uaeds/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Uaeds
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uaeds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - dgsan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-15 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler