Permalink
Commits on Mar 23, 2012
  1. Move the hook name to the hook, not the binary

    stevenharman committed Mar 23, 2012
    The idea being, the git-tracker binary can do other things, like
    actually install the hook via `git-tracker install pre-commit-hook` and
    then actually run the hook via `git-tracker pre-commit-hook`, etc.
    
    [#26437795]
  2. Refactor specs - it's hard to read all the heredocs

    stevenharman committed Mar 23, 2012
    [#26437795]
  3. Preserve new lines in commit message comments

    stevenharman committed Mar 23, 2012
    [#26437795]
  4. Fix mismatch between actual API and tests. DOH!

    stevenharman committed Mar 23, 2012
    Are integration tests worth it to catch this? Maybe one or two...
    [#26437795]
  5. Make executable for easier local testing.

    stevenharman committed Mar 23, 2012
    [#26437795]
  6. Use regular Rspec mocks where rspec-spies fail

    stevenharman committed Mar 23, 2012
    They work when run via my Vim binding (which runs them with bundler),
    but seem to fail without it. Sometimes. WTF?
    [#26437795]
  7. Pass the hook name so we actually run it.

    stevenharman committed Mar 23, 2012
    [#26437795]
  8. Run the hook when we, well, run it!

    stevenharman committed Mar 23, 2012
    [#26437795]
  9. Refactor to more idiomatic Rspec

    stevenharman committed Mar 23, 2012
    [#26437795]
  10. Use better formatting for error message.

    stevenharman committed Mar 23, 2012
    [#26437795]
  11. Handle HEAD not existing

    stevenharman committed Mar 23, 2012
    as is the case during an interactive rebase.
    [#26789779]
  12. Add test for branch without story number

    stevenharman committed Mar 23, 2012
    [#26789779]
  13. Detect story number with a pound sign

    stevenharman committed Mar 23, 2012
    It's basic, but a start.
    [#26789779]
Commits on Mar 21, 2012
  1. Refactor to more idiomatic regex syntax

    stevenharman committed Mar 21, 2012
    [#26437519]
  2. Fix type. I know how to spel, honest!

    stevenharman committed Mar 21, 2012
    [#26437519]
  3. Append the PT story thing to the commit message

    stevenharman committed Mar 21, 2012
    Only two tests, and a HUGE amount of code, but it's roughed in. And it's
    ripe for refactoring!
    [#26437519]
  4. Read the file upon initializing CommitMessage

    stevenharman committed Mar 21, 2012
    so we can cache it for later use with append, which is coming next!
    [#26437519]
  5. Restrict comments from being matched

    stevenharman committed Mar 21, 2012
    [#26437519]
  6. Allow multiple story numbers in the message

    stevenharman committed Mar 21, 2012
    [#26437519]
  7. Allow state change before or after number

    stevenharman committed Mar 21, 2012
    [#26437519]
  8. Add a few more examples of possible commit messages

    stevenharman committed Mar 21, 2012
    [#26437519]
Commits on Mar 20, 2012
  1. Refactor specs for clarity and runway

    stevenharman committed Mar 20, 2012
    There are several more examples coming and I want it to be easy to add
    them, and clear to read. Thanks @myronmarston for the suggestion:
    https://gist.github.com/2142563
    [#26437519]
  2. Fix warning about un-escaped "]"

    stevenharman committed Mar 20, 2012
    [#26437519]
  3. Account for PT status change in the special syntax

    stevenharman committed Mar 20, 2012
    which includes things like "Fixes", "Deliver", etc.
    [#26437519]
  4. Add test for NOT finding PT story number

    stevenharman committed Mar 20, 2012
    in the temporary commit message. Just to cover all of our bases!
    [#26437519]
  5. Extract CommitMessageHelper into spec/support

    stevenharman committed Mar 20, 2012
    [#26437519]
  6. Refactor specs to DRY them up a bit

    stevenharman committed Mar 20, 2012
    [#26437519]
  7. Add very simple detection of PT story number

    stevenharman committed Mar 20, 2012
    [#26437519]
  8. Require commit message file

    stevenharman committed Mar 20, 2012
    [#26437519]
  9. Refactor to a composed method

    stevenharman committed Mar 20, 2012
    [#26437519]
  10. Ignore Ctags. [#26437519]

    stevenharman committed Mar 20, 2012
  11. Reword spec contexts for more clarity

    stevenharman committed Mar 20, 2012
    [#26437519]
  12. Exit if commit message already mentions PT story

    stevenharman committed Mar 20, 2012
    [#26437519]
Commits on Mar 15, 2012
  1. Append PT story number if it's in the branch name

    stevenharman committed Mar 15, 2012
    [#26437519]
  2. Exit if we don't find a PT story number in branch

    stevenharman committed Mar 15, 2012
    [#26437519]