Permalink
Commits on Jul 11, 2011
  1. Updating Changelog.

    JEG2 committed Jul 11, 2011
  2. Merge pull request #13 from lachlan/master

    JEG2 committed Jul 11, 2011
    Handle empty items consistently in HighLine#list
  3. Simplify :inline mode logic in HighLine#list

    Lachlan Dowding committed Jul 11, 2011
    The case when items.size == 2 is not needed because ['a'].join(', ') == 'a'
    not 'a, ', therefore we can replace the case statement with a simpler if/else statement.
  4. Simplify the checking for an empty items array in HighLine#list

    Lachlan Dowding committed Jul 11, 2011
    DRY up the code for handling when the items argument is an empty
    array.
  5. Fix HighLine#list empty item array test to work correctly

    Lachlan Dowding committed Jul 11, 2011
  6. Handle empty items consistently in HighLine#list

    Lachlan Dowding committed Jul 11, 2011
    Without this patch HighLine#list throws an error when called with an
    empty items array and a :columns_across or :columns_down mode. For
    example HighLine.new.list([], :columns_across) results in:
    
      NoMethodError: private method `gsub' called for nil:NilClass
        actual_length at .../highline-1.6.2/lib/highline.rb:761
                 list at .../highline-1.6.2/lib/highline.rb:394
    
    This patch fixes this error so that HighLine#list always returns an
    empty string when called with an empty items array, regardless of mode.
Commits on Jul 1, 2011
  1. Merge pull request #12 from rleber/master

    JEG2 committed Jul 1, 2011
    Improvements to color_scheme
  2. Oops -- remove debugging output

    rleber committed Jul 1, 2011
  3. Add reverse conversion ansi_rgb_to_hex, to convert ANSI rgb number to…

    rleber committed Jul 1, 2011
    … 6-digit hex RGB codes
  4. Update CHANGELOG

    rleber committed Jul 1, 2011
Commits on Jun 29, 2011
  1. Merge pull request #11 from rleber/master

    JEG2 committed Jun 29, 2011
    Extension to Highline: Bright colors, RGB colors, convenience methods...
  2. Refactor without Hashie/Mash

    rleber committed Jun 28, 2011
Commits on Jun 28, 2011
  1. Add tests; all tests pass

    rleber committed Jun 28, 2011
Commits on Jun 27, 2011
  1. Add uncolor method and tests

    rleber committed Jun 27, 2011
  2. Refactor rgb colors using const_missing. Add rgb color tests. Bug fix…

    rleber committed Jun 27, 2011
    …es -- all tests now pass
  3. Remove debugging code

    rleber committed Jun 27, 2011
  4. Temporary debugging stuff

    rleber committed Jun 27, 2011
Commits on Jun 26, 2011
  1. Add convenience methods

    rleber committed Jun 26, 2011
  2. Add RGB colors

    rleber committed Jun 26, 2011
  3. Add bright colors

    rleber committed Jun 26, 2011
Commits on May 13, 2011
Commits on Mar 11, 2011
Commits on Mar 10, 2011
Commits on Jan 24, 2011
  1. Updating old source links.

    JEG2 committed Jan 24, 2011
Commits on Jan 4, 2011
  1. Update CHANGELOG and version.

    JEG2 committed Jan 4, 2011
Commits on Jan 3, 2011
Commits on Jul 15, 2010
  1. Bumping the version for release.

    JEG2 committed Jul 15, 2010
  2. Removing unneeded file.

    JEG2 committed Jul 15, 2010