Permalink
Commits on Aug 13, 2012
  1. Merge branch 'run_faster'

    jeffWelling committed Aug 13, 2012
  2. Fixed a critical bug

    jeffWelling committed Aug 13, 2012
    - Fixed a bug introduced by the run_faster series of patches,
      this specific bug only affected tests because it was only
      triggered when running TicGit-ng on a directory other than
      '.', but this was easily resolved by using the proper
      variable.
  3. Stripped commented out lines

    jeffWelling committed Aug 13, 2012
  4. Fixes to speed up initialization of the Base class

    jeffWelling committed Aug 13, 2012
    - Various speed fixes to improve init time of the Base class
Commits on Aug 12, 2012
Commits on Aug 11, 2012
  1. Fixed CLI spec, deleted milestone line

    jeffWelling committed Aug 11, 2012
    - Fixed the CLI spec, it was expecting the milestone line
      but we have commented out the line that registers
      milestones until they are ready for use, so it won't
      appear in the output. Removed that line from expected
      output.
  2. Commented-out milestones until ready, speed fix

    jeffWelling committed Aug 11, 2012
    - Commented out the milestone register call until milestones
      are ready for use.
    - Small speed fix by altering a call to git.
  3. Added graceful fail spec for bad attachment filename

    jeffWelling committed Aug 11, 2012
    - Added a spec for gracefully failing when using a nonexistent
      filename when trying to get an attachment.
  4. Another graceful fail, and exit 1

    jeffWelling committed Aug 11, 2012
    - Fail gracefully when getting an attachment via filename
      that doesn't exist.
    - Changed some of the exit calls under error conditions
      to exit 1. Not all, just some.
  5. Fixed a problem with specially formed attachment names

    jeffWelling committed Aug 11, 2012
    - Fixed a problem with attachment names where files ending with
      and underscore wouldn't show up correctly in `ti show`. My fix
      is to check for an underscore in the original filename and
      add an underscore to the final attachment name if so.
Commits on Aug 10, 2012
  1. Added spec for ticket_ methods returning tickets

    jeffWelling committed Aug 10, 2012
    - Every ticket_ method on Base should return the ticket
      with the requested modifications.
  2. Added Comment.read, changed associated code

    jeffWelling committed Aug 10, 2012
    - Added Comment.read to Comment.rb, used when reading a ticket
      from disk instead of creating a new comment.
    - Changed the associated calls to use read when necessary.
  3. Readability fixes, removed unused code

    jeffWelling committed Aug 10, 2012
    - Readability fixes, added newlines to seperate functions,
      removed superfluous comment, and deleted unused stub
      methods.
  4. Fixed ticket_* methods and Ticket.* methods

    jeffWelling committed Aug 10, 2012
    - All ticket_* methods should return the modified ticket.
    - All associated Ticket.* methods should alter self with
      the appropriate modificiations as well as saving them to
      disk.
  5. Rearranged attachment.rb

    jeffWelling committed Aug 10, 2012
    Moved initialize() to top of file, where one would expect to find
    it.
  6. Deleted TODO file

    jeffWelling committed Aug 10, 2012
Commits on Aug 8, 2012
  1. Added spec for ticket assign with '_'

    jeffWelling committed Aug 8, 2012
    - Added a spec for assigning a ticket to a string with '_' in it,
      fixed Ticket.open so that it uses the entire saved string and
      not the first element of a split('_') array.
  2. Fixed ticket_assign, small readability fixes

    jeffWelling committed Aug 8, 2012
    - Fixed ticket_assign(), should return the ticket
    - Small readability fixes, inserted a newline and a comment
  3. Noted descending order for list in help

    jeffWelling committed Aug 8, 2012
    - Added a note to the output from `ti list --help` that mentions
      the ability to reverse the order of tickets shown by 'list'.
      Solved Github Issue#40.
  4. Fixed `ti tag`, shouldnt dump stacktrace

    jeffWelling committed Aug 8, 2012
    - `ti tag` was throwing a stacktrace instead of failing gracefully.
      parser() was being called [incorrectly], but usage() is the
      correct command.
Commits on Aug 7, 2012
  1. Fixed spec for tickets using the same email

    jeffWelling committed Aug 7, 2012
    - Finished/fixed the spec for making sure tickets use the same email
      that git has stored.
  2. Added fix required for a previously committed spec

    jeffWelling committed Aug 7, 2012
    - Forgot to add this fix when the spec for gracefully failing when
      git has no commits was committed.
  3. Fixed monkeypatch, small formatting fixes

    jeffWelling committed Aug 7, 2012
    - Fixed the monkeypatch in lib/ticgit-ng.rb, was having problems
      getting 'user.email' due to a namespace conflict in the lambda.
      Testing shows this has fixed it with no detrimental effects.
    - Small formatting fixes, inserted newline between a couple specs.
  4. Added spec for graceful fail on no git commits

    jeffWelling committed Aug 7, 2012
    - Added a spec that tests to see if TicGitNG fails gracefully
      when `ti init` is called if git has no commits. Currently,
      a stack trace is thrown.
  5. Fixed bug where tagging only woed on current ticket

    jeffWelling committed Aug 7, 2012
    - Fixed a bug where you could only add a tag to the currently
      checked out ticket such as `ti tag fubar`, tagging such as
      `ti tag 123abc fubar` would silently fail.
  6. Fixed a spec, finished more cli specs

    jeffWelling committed Aug 7, 2012
    - Fixed the 'it should list the tickets' spec, and
      finished the 'should show a ticket' and 'should
      return the same ticket from ticket_show and
      ticket_new
  7. Added ==() function to ticket for spec testing

    jeffWelling committed Aug 7, 2012
    - Added a ==() function to ticket.rb to be able to compare tickets
      with identical content that have differing object_id's. Need to be
      to tell if an object is the same (has the same instance variables)
      as another object with a different object ID, such as if
      ticket_new() is used in conjunction with ticket_show() on the same
      ticket.  The object IDs will differ but the objects are otherwise
      identical.
  8. Cleanup cli spec after each spec run

    jeffWelling committed Aug 7, 2012
    - use :each instead of :all so that the specs are cleaned up and reset
      at the end and beginning of each spec.
Commits on Aug 6, 2012
  1. Allow specifying ticket creation time in specs

    jeffWelling committed Aug 6, 2012
    - Added 'time' optional argument to Ticket.new and associated
      functions
    - Added 'path' argument to cli() in spec_helper.rb to allow
      specifying custom paths in specs
  2. Fixed spec, finished spec

    jeffWelling committed Aug 6, 2012
    - Fixed moving repository spec
    - Finished additional cli spec
Commits on Aug 5, 2012
Commits on Aug 4, 2012
Commits on Aug 2, 2012