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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d6cd2098f290cd437c360a020a63076bdb4f4ab
4
- data.tar.gz: 3f6f590b882dde7cc1b697ec2f9ae0458c5de912
3
+ metadata.gz: c3b9d1523a8cf677c94486af757db8d9a5a47cc1
4
+ data.tar.gz: 2117c80712931b5b6f3dbbf50168805fbde36022
5
5
  SHA512:
6
- metadata.gz: 3650be4d866124d7016f1030a49b6314b57b339de99cfc16ab93c9af50162b4ee05ba564b7c9c2a05a3db0763ae51d61df2d126e307d5328786e88c1e9ee76e7
7
- data.tar.gz: 3416b42866c6455682b1e31a9cc7d310bd2ee5734346425c68e61d9950794eb55adf97a487d05a4714cd7678495499addd4d0a29ef3051bfe3dd1dbc6a21bc1e
6
+ metadata.gz: 053d6b9673cf6cb84b1e7f65d2a95e58a821aec6f2d6864df34b7d7789e1a7e3c07b0f2f4d98cb778dd65852c0aafd8c60633bf1aff5f0b55adc16d96a019031
7
+ data.tar.gz: 38ad9ac3ad5ed03b117f4bfca4b0ed4c2d78a9cebd3c04bae3fb6e6ad1312891227c943552ac4068529dded2b7eb8939eb2fa7896fa619e70d8a555b7fe88abd
@@ -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
@@ -3,7 +3,7 @@ module Cratus
3
3
  def self.version
4
4
  major = 0 # Breaking, incompatible releases
5
5
  minor = 3 # Compatible, but new features
6
- patch = 7 # Fixes to existing features
6
+ patch = 9 # 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.3.7
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: 2016-12-13 00:00:00.000000000 Z
12
+ date: 2017-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize