lib/bellows/gerrit.rb in bellows-1.0.10 vs lib/bellows/gerrit.rb in bellows-1.0.11

- old
+ new

@@ -21,11 +21,11 @@ end end reviews end - def self.comment(revision, message) - Gerrit.run_cmd(%{review --code-review 0 -m \"'#{message}'\" #{revision}}) + def self.comment(revision, message, verify_vote=0) + Gerrit.run_cmd(%{review --verified #{verify_vote} -m \"'#{message}'\" #{revision}}) end end end