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