Permalink
Commits on Oct 14, 2011
  1. Release 1.4.3

    scottjg committed Oct 14, 2011
Commits on Oct 12, 2011
  1. Merge pull request #8 from scottjg/faster

    scottjg committed Oct 12, 2011
    Print tables a lot faster
Commits on Oct 8, 2011
  1. Evenly size spanned columns

    scottjg committed Oct 8, 2011
    My previous commit did not take into account that when a cell spans
    multiple columns, and the existing columns combined are not wide enough,
    then spanned columns should grow evenly (just as the original code did).
    This fix keeps the old behavior, while still maintaing the speed
    benefits of keeping track of the largest columns when a row is added,
    rather than recalculating each time a cell is rendered.
Commits on Oct 7, 2011
  1. Print tables a lot faster

    scottjg committed Oct 7, 2011
    This changes the computation of column lengths to linear time.
    For me, this lets me print out a 1000 row table in less than a second.
    It used to take almost 30 seconds.
Commits on Jan 14, 2010
  1. Release 1.4.2

    tj committed Jan 14, 2010
  2. Added more examples

    tj committed Jan 14, 2010
  3. Misc refactoring to last guys contrib

    tj committed Jan 14, 2010
  4. Misc refactoring to last guys contrib

    tj committed Jan 14, 2010
  5. Modified the tests to correct several bugs with cells that span multi…

    root committed Jan 14, 2010
    …ple columns
    
    Cells with colspan greater than 1, when appearing after other cells, will now appear correctly.  In addition, columns will automatically grow so that all of the the multi-column cell will fit in the provided space
Commits on Dec 18, 2009
  1. Release 1.4.1

    tj committed Dec 18, 2009
  2. Revert "Add failing spec for bug which I introduced :("

    splattael committed Dec 18, 2009
    This reverts commit 757a1a4.
  3. Add failing spec for bug which I introduced :(

    splattael committed Dec 18, 2009
    Fix follows soon.
  4. Release 1.4.0

    tj committed Dec 18, 2009
  5. Fixed invalid example

    tj committed Dec 18, 2009
  6. Updated examples

    tj committed Dec 18, 2009
  7. Inline comments for #render_cell

    tj committed Dec 18, 2009
  8. Refactoring #render with array buffer

    tj committed Dec 18, 2009
  9. Misc refactoring

    tj committed Dec 18, 2009
  10. Merged splattael/master

    tj committed Dec 18, 2009
  11. Render custom separators with Table#add_separator.

    splattael committed Dec 18, 2009
    Now you can render tables like:
    
    t = table do
      self.headings = %w(Language Lines)
      self.add_row %w(Ruby 117)
      self.add_row %w(Javascript 203)
      self.add_row %w(Shell 56)
      self.add_separator
      self.add_row %w(All 376)
    end
    puts t
    
    +------------+-------+
    | Language   | Lines |
    +------------+-------+
    | Ruby       | 117   |
    | Javascript | 203   |
    | Shell      | 56    |
    +------------+-------+
    | All        | 376   |
    +------------+-------+
Commits on Oct 16, 2009
  1. Release 1.3.0

    tj committed Oct 16, 2009
  2. Misc refactoring

    tj committed Oct 16, 2009
  3. inclusive to exclusive range

    tj committed Oct 16, 2009
  4. Misc refactorings

    tj committed Oct 16, 2009
  5. Comment changes

    tj committed Oct 16, 2009
  6. Removed useless comments

    tj committed Oct 16, 2009
  7. Fixed some old crappy code

    tj committed Oct 16, 2009
  8. Inline docs

    tj committed Oct 16, 2009
  9. Code style changes

    tj committed Oct 16, 2009
  10. Cleaning up specs

    tj committed Oct 16, 2009
Commits on Oct 11, 2009
  1. Gem description

    tj committed Oct 11, 2009
Commits on Oct 10, 2009
  1. Docs

    tj committed Oct 10, 2009