password_expiration_notifier 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bbc69d4ad9d1841b67a223b76fb3230e34d4567
|
4
|
+
data.tar.gz: e63599a86231886c50ac1b549d494d05f816efa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e03677ef31eb40e70e712108eb4c2e05dc2b828cf8085ac0c7034a686a14b01112cf30955344c93999ca4e585a8ad67bc61a1091b2489344947dcda361d94c98
|
7
|
+
data.tar.gz: b0aeda1f63f57f181219740b5ff8be716e3590074803fb22da8f9f5cb0409188436d7cfe3f8ca6d6e280ff9905e18cd9d4a9ac962a3a81bbd910df7331ebbd67
|
@@ -18,7 +18,11 @@ module PasswordExpirationNotifier
|
|
18
18
|
)
|
19
19
|
message = "Your domain account #{attr[:samaccountname]}'s password expire at #{attr[:expire_at]}. Please update your password."
|
20
20
|
unless @conf.dry_run
|
21
|
-
|
21
|
+
begin
|
22
|
+
client.notify(message)
|
23
|
+
rescue SlackNotify::Error => e
|
24
|
+
return "SlackNotify::Error: #{message} #{e}"
|
25
|
+
end
|
22
26
|
end
|
23
27
|
return message
|
24
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: password_expiration_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ISOBE Kazuhiko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.5.1
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Notify the password expiration date of the Active Directory account
|