lita-activedirectory 0.2.4 → 0.2.5

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: 08485dbe161fadc4b33a407554004bef9abdaaa6
4
- data.tar.gz: eef09887231db2d23732984911374d6045efc453
3
+ metadata.gz: c50849925138f34122a28bf919497a2bf3911bd3
4
+ data.tar.gz: 51f0b295357c62fe59abf9d8a5c68d8eb21faa07
5
5
  SHA512:
6
- metadata.gz: f4f758acc794da870b4a9a6038ea826c8e254fca42e1e32fda16b0b98d1b5747d0cc227b0a4bed609b2c6480a9780a267dc6b470c90807ac2b35643bc20ed94d
7
- data.tar.gz: eebbe685f1433fdd77886369fac3c02f7ec64c3265ab27abd1ceaa6d89646e2d77a227729c34a40fe1c307c3c337d9e762426a44454e874c6883687610ed8988
6
+ metadata.gz: c93ccf28516c0728804a7fcda539894ed7b869bd71115a150a3d92c4a7fac9db97fc1ecd3417575d0bb3be44bd33a4b0cfe7e2ede7f7aa66741de57a8d9da6b6
7
+ data.tar.gz: ead2e3008028193ea501d4e6fc07b203af698cd3c4e42c4cb650ce817c9ddb3ed7d176053e164e8b7fc01a8d15d15f4852ff37de6b03b74670fc40d547110088
@@ -65,19 +65,19 @@ module Lita
65
65
 
66
66
  private
67
67
 
68
- def handle_user_group_query(response, user, result)
68
+ def handle_user_query(response, user, result)
69
69
  case result
70
70
  when true
71
- response.reply(
72
- t('replies.user_groups.success', user: user), result.join("\n")
71
+ response.reply_with_mention(
72
+ t('replies.user_locked?.locked', user: user)
73
73
  )
74
74
  when false
75
- respone.reply_with_mention(
76
- t('replies.user_groups.not_found', user: user)
75
+ response.reply_with_mention(
76
+ t('replies.user_locked?.notlocked', user: user)
77
77
  )
78
78
  when nil
79
79
  response.reply_with_mention(
80
- t('replies.user_groups.error', user: user)
80
+ t('replies.user_locked?.error', user: user)
81
81
  )
82
82
  end
83
83
  end
@@ -6,6 +6,7 @@ module Utils
6
6
  host: config.host,
7
7
  port: config.port,
8
8
  user_basedn: config.user_basedn,
9
+ group_basedn: config.group_basedn,
9
10
  basedn: config.basedn,
10
11
  username: config.username,
11
12
  password: config.password
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-activedirectory'
3
- spec.version = '0.2.4'
3
+ spec.version = '0.2.5'
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.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schaaff