cratus 0.3.7 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cratus/user.rb +2 -0
- data/lib/cratus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3b9d1523a8cf677c94486af757db8d9a5a47cc1
|
4
|
+
data.tar.gz: 2117c80712931b5b6f3dbbf50168805fbde36022
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053d6b9673cf6cb84b1e7f65d2a95e58a821aec6f2d6864df34b7d7789e1a7e3c07b0f2f4d98cb778dd65852c0aafd8c60633bf1aff5f0b55adc16d96a019031
|
7
|
+
data.tar.gz: 38ad9ac3ad5ed03b117f4bfca4b0ed4c2d78a9cebd3c04bae3fb6e6ad1312891227c943552ac4068529dded2b7eb8939eb2fa7896fa619e70d8a555b7fe88abd
|
data/lib/cratus/user.rb
CHANGED
@@ -32,6 +32,8 @@ module Cratus
|
|
32
32
|
|
33
33
|
def lockouttime
|
34
34
|
Integer(@raw_ldap_data[Cratus.config.user_lockout_attribute].last.to_s)
|
35
|
+
rescue => _e
|
36
|
+
0 # If we can't determine the value (for instance, if it is empty), just assume 0
|
35
37
|
end
|
36
38
|
|
37
39
|
# https://fossies.org/linux/web2ldap/pylib/w2lapp/schema/plugins/activedirectory.py
|
data/lib/cratus/version.rb
CHANGED
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.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Gnagy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|