lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.2.11 vs lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.2.12
- old
+ new
@@ -3,11 +3,11 @@
class Sppuppet
# Match regexps
MERGE_COMMENT = /(:shipit:|:ship:|!merge)/
DELETE_BRANCH_COMMENT = /(:scissors:)/
- PLUS_VOTE = /^(:?\+1:?|LGTM|\+2)/ # Match :+1:, +1, +2 and LGTM
- MINUS_VOTE = /^(:?\-1:?)/ # Match :-1: and -1
+ PLUS_VOTE = /^(:?\+1:?|LGTM|\+2|:thumbsup:)/ # Match :+1:, +1, +2 and LGTM
+ MINUS_VOTE = /^(:?\-1:?|:thumbsdown:)/ # Match :-1: and -1
BLOCK_VOTE = /^(:poop:|:hankey:|-2)/ # Blocks merge
INCIDENT = /jira.*INCIDENT/
def initialize(settings, client, project, data, event)
@settings = settings