cratus 0.2.3 → 0.2.4

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: 735d6f9527f26cb2c03421e06060d2049df8a58d
4
- data.tar.gz: 0789e1381e2f47d6962013efed083b5070fd4ffa
3
+ metadata.gz: f416f10ddf55e3793e1c74b6a366298c49784234
4
+ data.tar.gz: b81b929aaea8e813d3f2077ce683888e4ac5bf4d
5
5
  SHA512:
6
- metadata.gz: d0dcfedcfa1371411bae8ce1783b0f667adb7b6ead1f1a0196fddb0eec708f1fd797d8914286a6fd7d2c2006967c455d151025c1ee78ae6b3b41feec099d28e1
7
- data.tar.gz: b482a043a20ef0e91609bb754e5ae0c8010842fdc822d8bbd3512fddd51a7776173a8ba0ba55596259c89cb224d67a372637f8538ef587579d6a26aa5c7f17f9
6
+ metadata.gz: 683028dbe910819bf36a842f01a88ceedeb5ca4b5b13f33c9b11501d9a8ed906296ea0a982830cf2a40ed514eda9e86a7b18f5d0173247048920eaeff1191b48
7
+ data.tar.gz: aa0671bc02866fab124a1361ad5187594e5c10ef90c390e2de5052ce35be50e731e4f9abc0e119806d1fbdaf37fb46ecc7d0cf56049c80dcf4f5df07e07a4d64
data/lib/cratus/user.rb CHANGED
@@ -18,6 +18,10 @@ module Cratus
18
18
  @raw_ldap_data[Cratus.config.user_department_attribute].last
19
19
  end
20
20
 
21
+ def dn
22
+ @raw_ldap_data[:dn].last
23
+ end
24
+
21
25
  def email
22
26
  @raw_ldap_data[Cratus.config.user_mail_attribute].last
23
27
  end
@@ -3,7 +3,7 @@ module Cratus
3
3
  def self.version
4
4
  major = 0 # Breaking, incompatible releases
5
5
  minor = 2 # Compatible, but new features
6
- patch = 3 # Fixes to existing features
6
+ patch = 4 # Fixes to existing features
7
7
  [major, minor, patch].map(&:to_s).join('.')
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cratus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Gnagy