lita-activedirectory 0.0.9 → 0.1.0

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: d4e3bfa35eed71e9bdb716f7af926a4ccf6d1bcf
4
- data.tar.gz: c19773bfa06cbeadafa2e9fa2ab2df521fb6c6d4
3
+ metadata.gz: 9da8446b0dd9d8d01a0dc50fe33b36ac353cfc29
4
+ data.tar.gz: 47b5d536c07e65ff883a873721ea1f4a1e0961a9
5
5
  SHA512:
6
- metadata.gz: 886597ac6a19ec3d450d614f440f2b3515091aabb2ddecb67a5376ad1b77ab53f7e1242b7d1490d708cbb5b4fe7c275006050a3612db9d0f04a10574d39da73a
7
- data.tar.gz: 7dd06e7206623c66840acaf4f2c1c9375df164c6fedf43164653f38617a9e2e5fb114c0118900a2a0b179c84e93a91009d88cc395ab3e5f7650c0ef5dbe0425b
6
+ metadata.gz: c7f37635a36caba56c981baaaf22e3dfc09a809e25c7a47b3507d1241a5a3caf910fa0960777eb26fb565076112d7fcbabd0956bc8fa81c2b2353ce6b9127e76
7
+ data.tar.gz: 985815d79f9fc447adf01f229c0561da55806739c75900eebefba72b5551fb14407951dbd4ea5fdb3d2c92276226e15cd0d45aac48082c757aa642a2f88d6e78
@@ -22,7 +22,7 @@ module Utils
22
22
 
23
23
  def unlock_user(username)
24
24
  ldap = Cratus::LDAP.connection
25
- ldap.replace_attribute username.dn, :lockedtime, '0'
25
+ ldap.replace_attribute Cratus::User.new(username.to_s).dn, :lockedtime, '0'
26
26
  end
27
27
  end
28
28
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-activedirectory'
3
- spec.version = '0.0.9'
3
+ spec.version = '0.1.0'
4
4
  spec.authors = ['Daniel Schaaff']
5
5
  spec.email = ['dschaaff@knuedge.com']
6
6
  spec.description = 'ldap/active directory instructions for Lita'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-activedirectory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schaaff