lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.0.1 vs lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.0.2

- old
+ new

@@ -112,20 +112,20 @@ return post_comment(pull_request_id, msg) end json = { url: pr.url, title: pr.title, - author: pr.user.login, + opened_by: pr.user.login, description: pr.body, commits: @client.pull_request_commits(@project, pr.number).map { |c| { author: c.author, message: c.commit.message, sha: c.commit.tree.sha } }, head_sha: pr.head.sha, tests: @client.combined_status(@project, pr.head.sha).statuses.map { |s| {state: s.state, url: s.target_url, description: s.description } }, reviewers: votes.keys, deployer: merger } # TODO: Word wrap description merge_msg = <<MERGE_MSG Title: #{pr.title} -Author: #{pr.user.login} +Opened by: #{pr.user.login} Reviewers: #{votes.keys.join ', '} Deployer: #{merger} URL: #{pr.url} #{pr.body}