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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b5edc8ba7f73bc83c5c4fc95ce696ff97bc13d3
4
- data.tar.gz: b3e3d13e31343322266eb8b58031ef164646b61a
3
+ metadata.gz: bc1538a27eb11e93ff2533ba50a56416406b2aed
4
+ data.tar.gz: ea1e14348d6bc5c728d5f8702660bff6a1123c2f
5
5
  SHA512:
6
- metadata.gz: bea317dd13a0d6572aa2990dcd1aba863ec35d8ac7938b57dcaed35c65b65b0d8c4e40c44a524ca11d910f2c5b153340518f8d409dda65e0eb6a7bb8acd2e894
7
- data.tar.gz: d0a751e262f77cbb6bedd74f310822d87c534f0b90afb3d365f61dca678a20068d3622cde8eb4bf4c14773e43c9483aa2e1c01a0758ceeb3c88ce71dc2aef195
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].gsub("#", "")
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-aws-cloudwatch"
3
- spec.version = "0.1.2"
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."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-aws-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - marsz