bender-bot 0.5.1 → 0.5.2
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 +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9ea8e6ba9c6e95cc880b44560383e48bb087794
|
4
|
+
data.tar.gz: cf43d17d8d76d4b17600a7dae9dcacaf36d153dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09448e7da47703411a5788e41afcbe912d33d19a488cfeec35da590bcc7f77f848fd2ca83a0db77b6cbad300ed54a30dc0cdfd845d4a9999e0d19fb2462e0544
|
7
|
+
data.tar.gz: b4dcdb8c73e62faad053ea18ba272d29088a9f1e8b705e378b97b7abe9f9524e430656416e185f8c5327b8aaf311f1b031e422e032001d3f0839fb3d54da2a32
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
data/lib/bender/bot.rb
CHANGED
@@ -254,7 +254,7 @@ class BenderBot
|
|
254
254
|
end
|
255
255
|
|
256
256
|
# /inc open SEVERITY SUMMARY - File a new incident
|
257
|
-
when /^\s*\/inc\s+open\s+(severity|sev|s|p)?(\d+)\s+(
|
257
|
+
when /^\s*\/inc\s+open\s+(severity|sev|s|p)?(\d+)\s+(.*)/im
|
258
258
|
unless allowed?
|
259
259
|
reply_html "You're not allowed to do that!", :red
|
260
260
|
else
|
@@ -276,7 +276,7 @@ class BenderBot
|
|
276
276
|
|
277
277
|
|
278
278
|
# /inc comment [INCIDENT_NUMBER] [COMMENT_TEXT]
|
279
|
-
when /^\s*\/inc\s+comment\s+(\d+)\s+(
|
279
|
+
when /^\s*\/inc\s+comment\s+(\d+)\s+(.*)/im
|
280
280
|
incident = select_incident $1
|
281
281
|
comment = $2
|
282
282
|
user = user_where name: sender
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bender-bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Clemmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|