bender-bot 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/bender/bot.rb +6 -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: d0324ee0a7d5aa68cf88b4fd9a69d1c1a0c5ff90
|
4
|
+
data.tar.gz: 8b2db209b7493e34498cc567d5a061dbb7490ffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99bddc520fc9d3e535b21b9f897cddf9233192f0a505f1bc34fcc1fa66211bf3a56ede74430e1d583fda0b74cdaa6a762bd43933885e8bc18a957a52675e4b04
|
7
|
+
data.tar.gz: c9d936604c20eceffe775d87322eec6e894c458b7fc70c2299be64231f8abc7b1d5b879a19571a1bcbf1446348762fd56972af3c2849181332720eae8509b7ab
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/bender/bot.rb
CHANGED
@@ -86,6 +86,11 @@ class BenderBot
|
|
86
86
|
cmd: '',
|
87
87
|
desc: 'List open incidents'
|
88
88
|
},
|
89
|
+
show: {
|
90
|
+
cmd: '',
|
91
|
+
fmt: 'INCIDENT_NUMBER',
|
92
|
+
desc: 'Display incident details'
|
93
|
+
},
|
89
94
|
close: {
|
90
95
|
fmt: 'INCIDENT_NUMBER',
|
91
96
|
desc: 'Display incident details',
|
@@ -174,7 +179,7 @@ class BenderBot
|
|
174
179
|
end.compact.join('<br />')
|
175
180
|
|
176
181
|
if is.empty?
|
177
|
-
reply_html 'Good news everyone
|
182
|
+
reply_html 'Good news everyone! No open incidents at the moment', :green
|
178
183
|
else
|
179
184
|
reply_html is
|
180
185
|
end
|