bender-bot 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/bender/main.rb +1 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58f5e9eb88fccfcfe2bce294fa9b02014914bae8
4
- data.tar.gz: 187c3ff59ad753e5650dc55d44cd6a9532cd3549
3
+ metadata.gz: 82832a6c00a1806324e10622ec17f86e0d268818
4
+ data.tar.gz: b3d962d587773e59515557d771acb4b1b272b589
5
5
  SHA512:
6
- metadata.gz: 52c15e7f21716d9eb37e046d703f79bafd80f186dd570bc2e071b7b974b194c8be6c79a8e37bb926d61d2046e65d3d9eff28de2e8af79c521740e6554db38aab
7
- data.tar.gz: 3f6bf43edeba4acabbeeec4aac527153da167f8be8ef53e06b4089043328f45c2a433f587e5ca8850485c592bc89f52c0a2c6ac0511960f753f0d38319960332
6
+ metadata.gz: 1538a70a820675a2e38499a06100c7aef26399c47ccfe4d81af3525dac6f0c903dc7bc7b796bc768fab000f37dfe3e5e91a77c2dd64dc6cb6b1e85e3dc19d9c7
7
+ data.tar.gz: bab50ed9471cb74f0805f90c00096540eb5a6cf25186f464e31aff1cdbe96da5be5b73b8ca4e554dc43e8d0e8ad3a5279fdb1831ba2fc8ce654d0bb09d863db1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6
1
+ 0.4.7
@@ -178,14 +178,12 @@ module Bender
178
178
 
179
179
  open_incidents = incidents.select do |i|
180
180
  status = normalize_value i['fields']['status']
181
- severity = short_severity(i['fields'][SEVERITY_FIELD]['value']),
181
+ severity = short_severity(i['fields'][SEVERITY_FIELD]['value'])
182
182
  is_open = !(status =~ /resolved|closed/i)
183
183
  is_severe = severity =~ /(SEV1|SEV2)/i
184
184
  is_open && is_severe
185
185
  end
186
186
 
187
- log.warn open_incidents: open_incidents
188
-
189
187
  @room_name ||= bot.store['primary_room_name'] || new_room['name']
190
188
  @room_topic ||= bot.store['primary_room_topic'] || new_room['topic']
191
189
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bender-bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer