lib/tutter/action/sppuppet.rb in tutter-sppuppet-0.0.23 vs lib/tutter/action/sppuppet.rb in tutter-sppuppet-0.0.24
- old
+ new
@@ -78,10 +78,10 @@
comments.each do |i|
# Comment is older than last commit.
# We only want to check newer comments
next if last_commit_date > i.created_at
- if i.body == '!merge' || i.body.start_with?(':shipit:')
+ if i.body == '!merge' || i.body.start_with?(':shipit:') || i.body.start_with?(':ship:')
merger ||= i.attrs[:user].attrs[:login]
# Count as a +1 if it is not the author
unless pr.user.login == i.attrs[:user].attrs[:login]
votes[i.attrs[:user].attrs[:login]] = 1
end