lita-activedirectory 0.0.1 → 0.0.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: b49fb95c1cea2ae0d635d7b482dfba6a8ebf97da
4
- data.tar.gz: 392161a18eb17cca7073ca15ea69bb36f6fa3a83
3
+ metadata.gz: 60bec70a51c1feed26b67d6f88e2dc12392de3a1
4
+ data.tar.gz: 8dfc33dd17f167e08c2583ef48fa8fde1fda990e
5
5
  SHA512:
6
- metadata.gz: d7809248a6eb6522848bf9f46fb626e163b17dd52b5a8dd141ba232673c21b0ef7b3fa7f9f898463618459eaaabc305f455907ea0d17647dbad8d1b1927e1e58
7
- data.tar.gz: aff9df53827ff6d687b1a15a01ce1191c1e9beeca3ec072aa636cda58186f8e44784ee4a4bc53d919bc2e38831356551721520f8819608d53cc769b69a2985fd
6
+ metadata.gz: f2306542aacdfb4d464449c59fc4ac7d0bc82d9fd6ff4f579fc92e3545ad29b56a780fbc47ee0d618678262ab13fc0d001c0d94485602a742b28aa4b09eae6cf
7
+ data.tar.gz: a456f0d4139f3cdae808081ee305e944299d8fe45b0c6fa982a2b170475e2b112f785cdddc2f43eae2f8b68a8fc63d21f262ba03e659a595888f18d666090a15
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # lita-activedirectory
2
-
2
+ [![Build Status](https://travis-ci.org/knuedge/lita-activedirectory.svg?branch=master)](https://travis-ci.org/knuedge/lita-activedirectory)
3
3
 
4
4
  A [Lita](https://www.lita.io/) handler plugin for basic interactions with Active Directory.
5
5
 
@@ -3,7 +3,7 @@ module Lita
3
3
  class Activedirectory < Handler
4
4
  namespace 'Activedirectory'
5
5
  config :host, required: true, type: String
6
- config :port, required: true, type: String, default: '389'
6
+ config :port, required: true, type: Integer, default: 389
7
7
  config :basedn, required: true, type: String
8
8
  config :username, required: true, type: String
9
9
  config :password, required: true, type: String
@@ -12,7 +12,8 @@ module Utils
12
12
  password: config.password
13
13
  }
14
14
  }
15
- Cratus::LDAP.connect(options)
15
+ Cratus.config.merge(options)
16
+ Cratus::LDAP.connect
16
17
  user = Cratus::User.new(username.to_s)
17
18
  user ? user.locked? : user
18
19
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-activedirectory'
3
- spec.version = '0.0.1'
3
+ spec.version = '0.0.4'
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.1
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schaaff