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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/bender/bot.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61c7862d905c46d056930f61360c4ba7bc53a675
4
- data.tar.gz: 9bc68a0bd26226bb05994d686c9a34bc71bf3328
3
+ metadata.gz: a9ea8e6ba9c6e95cc880b44560383e48bb087794
4
+ data.tar.gz: cf43d17d8d76d4b17600a7dae9dcacaf36d153dc
5
5
  SHA512:
6
- metadata.gz: ca0438f6cb34028b9a2519b23e4f6cbeb9c2637ae0f36730242db82ba88a2cee28c7030ae7318851870696b3542d3204578b7a4a2e670373c6987e9a25d6626a
7
- data.tar.gz: db401f7fd22edfb1f2572fd2323a82230aaed155154b75ed088ea6eb0ce7a936222427e77f51e027d3a6b191877f9c3b18d92569fcfd6775433e478514980fca
6
+ metadata.gz: 09448e7da47703411a5788e41afcbe912d33d19a488cfeec35da590bcc7f77f848fd2ca83a0db77b6cbad300ed54a30dc0cdfd845d4a9999e0d19fb2462e0544
7
+ data.tar.gz: b4dcdb8c73e62faad053ea18ba272d29088a9f1e8b705e378b97b7abe9f9524e430656416e185f8c5327b8aaf311f1b031e422e032001d3f0839fb3d54da2a32
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -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+(.*?)\s*$/i
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+(.*?)\s*$/i
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.1
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-09-21 00:00:00.000000000 Z
11
+ date: 2015-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor