lita-aws-cloudwatch 0.1.2 → 0.1.3
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/aws_cloudwatch.rb +1 -1
- data/lita-aws-cloudwatch.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: bc1538a27eb11e93ff2533ba50a56416406b2aed
|
4
|
+
data.tar.gz: ea1e14348d6bc5c728d5f8702660bff6a1123c2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbeef683772627deb23f7d5a3005f8da3b14b5babbbc14ace421dc63996c102b8b888202c1759ab8d7ed362a2455207c38f9f4a77946f8a3a40085413bd4fa7e
|
7
|
+
data.tar.gz: 0851922da9c0b42f6b10a5cf874da7c199e8c2074ac5c85a5c6c3dceff7feb98eea481d60d9dfdf1b9fad8d0bf23d83e88835c453a66e8d53ec1f20184edb403
|
@@ -14,7 +14,7 @@ module Lita
|
|
14
14
|
route(/^aws account room ([0-9]+) ([^\s]+)$/, :set_account_room, command: true, help: { "aws account room [account id] [room_name]" => "Set room for AWS account" })
|
15
15
|
def set_account_room(response)
|
16
16
|
account_id = response.matches[0][0]
|
17
|
-
room_name = response.matches[0][1]
|
17
|
+
room_name = response.matches[0][1]
|
18
18
|
redis.hset(redis_key_for_room, account_id, room_name)
|
19
19
|
response.reply("AWS account: #{account_id} has set room to: #{room_name} , please invite robot to the room.")
|
20
20
|
end
|
data/lita-aws-cloudwatch.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-aws-cloudwatch"
|
3
|
-
spec.version = "0.1.
|
3
|
+
spec.version = "0.1.3"
|
4
4
|
spec.authors = ["marsz"]
|
5
5
|
spec.email = ["marsz330@gmail.com"]
|
6
6
|
spec.description = "Receive AWS CloudWatch alarm from AWS SNS (Simple Notification Service), and messaging to room."
|