Permalink
Browse files

added branch to trello description

  • Loading branch information...
ChaseFlorell committed Oct 31, 2012
1 parent c5d7e4e commit 2dcd06fd44cb57e0f822b5c0621100ab037c9d53
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −1 services/trello.rb
View
@@ -1,4 +1,5 @@
.DS_Store .DS_Store
.idea
deploy.rb deploy.rb
*~ *~
config/secrets.yml config/secrets.yml
View
@@ -85,10 +85,11 @@ def name_for_commit commit
def desc_for_commit commit def desc_for_commit commit
author = commit['author'] || {} author = commit['author'] || {}
"Author: %s\n\n%s\n\nRepo: %s\n\nCommit Message: %s" % [ "Author: %s\n\n%s\n\nRepo: %s\n\nBranch: %s\n\nCommit Message: %s" % [
author['name'] || '[unknown]', author['name'] || '[unknown]',
commit['url'], commit['url'],
repository, repository,
branch_name,
commit['message'] || '[no description]' commit['message'] || '[no description]'
] ]
end end

0 comments on commit 2dcd06f

Please sign in to comment.