Fix a bug where rendering inline commit summaries would fail on 1.9
authorMarius Mathiesen <marius@gitorious.org>
Thu, 30 Jun 2011 08:35:43 +0000 (10:35 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Thu, 30 Jun 2011 08:35:43 +0000 (10:35 +0200)
commitafbd864fbd1b928bf6045e13b447494c1da3fc93
tree6d54b58089bbc0411fac529b1cb7fd6a2111631e
parent222797e74365154d8a655a875d05fc862159d514
Fix a bug where rendering inline commit summaries would fail on 1.9

dom_id(an_object) calls an_object#id, which raises a warning on 1.8,
and fails on 1.9. Using the underlying commit's id attribute instead.
lib/gitorious/commit.rb
test/unit/lib/commit_test.rb