Skip to content

Instantly share code, notes, and snippets.

@tekkub
Created May 20, 2012 00:21
Show Gist options
  • Save tekkub/2732968 to your computer and use it in GitHub Desktop.
Save tekkub/2732968 to your computer and use it in GitHub Desktop.
{
:before => before,
:after => after,
:ref => ref,
:commits => [{
:id => commit.id,
:message => commit.message,
:timestamp => commit.committed_date.xmlschema,
:url => commit_url,
:added => array_of_added_paths,
:removed => array_of_removed_paths,
:modified => array_of_modified_paths,
:author => {
:name => commit.author.name,
:email => commit.author.email
}
}],
:repository => {
:name => repository.name,
:url => repo_url,
:pledgie => repository.pledgie.id,
:description => repository.description,
:homepage => repository.homepage,
:watchers => repository.watchers.size,
:forks => repository.forks.size,
:private => repository.private?,
:owner => {
:name => repository.owner.login,
:email => repository.owner.email
}
}
}
@nichtich
Copy link

nichtich commented Aug 1, 2013

this seems to be outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment