webdestroya/lita-github-commits — pull request #5 by amaltson (2014-11-21 03:26:13+00:00)
Title: Single commit not pluralized

When there's only 1 commit, the current output says "1 commits" with "commits" being pluralized. I figure it reads a bit nicer if Lita will notify with "1 commit" singular.

- pluralize "commit" when more than one commit
- refactor payload setup outside of spec