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 +4 -4
- data/lib/lita/handlers/activedirectory.rb +6 -6
- data/lib/utils/cratususer.rb +1 -0
- data/lita-activedirectory.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c50849925138f34122a28bf919497a2bf3911bd3
|
4
|
+
data.tar.gz: 51f0b295357c62fe59abf9d8a5c68d8eb21faa07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c93ccf28516c0728804a7fcda539894ed7b869bd71115a150a3d92c4a7fac9db97fc1ecd3417575d0bb3be44bd33a4b0cfe7e2ede7f7aa66741de57a8d9da6b6
|
7
|
+
data.tar.gz: ead2e3008028193ea501d4e6fc07b203af698cd3c4e42c4cb650ce817c9ddb3ed7d176053e164e8b7fc01a8d15d15f4852ff37de6b03b74670fc40d547110088
|
@@ -65,19 +65,19 @@ module Lita
|
|
65
65
|
|
66
66
|
private
|
67
67
|
|
68
|
-
def
|
68
|
+
def handle_user_query(response, user, result)
|
69
69
|
case result
|
70
70
|
when true
|
71
|
-
response.
|
72
|
-
t('replies.
|
71
|
+
response.reply_with_mention(
|
72
|
+
t('replies.user_locked?.locked', user: user)
|
73
73
|
)
|
74
74
|
when false
|
75
|
-
|
76
|
-
t('replies.
|
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.
|
80
|
+
t('replies.user_locked?.error', user: user)
|
81
81
|
)
|
82
82
|
end
|
83
83
|
end
|
data/lib/utils/cratususer.rb
CHANGED