Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test for non pagination when same line count of HighLine#page_at | Abinoam Praxedes Marques Jr | 2015-10-09 | 1 | -0/+29 |
| | |||||
* | Add test for #168 - raising when quiting paging | Abinoam Praxedes Marques Jr | 2015-10-09 | 1 | -0/+13 |
| | |||||
* | Skip readline test on rubinius | Abinoam Praxedes Marques Jr | 2015-02-24 | 1 | -0/+8 |
| | |||||
* | Normalize to Test::Unit assertions | Abinoam Praxedes Marques Jr | 2015-02-24 | 1 | -2/+2 |
| | |||||
* | Use match to ignore control codes when using Readline mode | Abinoam Praxedes Marques Jr | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | Make test/tc_highline work on Ruby pre-2.1.0 | Eli Young | 2015-02-20 | 1 | -9/+10 |
| | |||||
* | Merge pull request #122 from abinoam/issue_98 | James Edward Gray II | 2015-02-02 | 1 | -0/+13 |
|\ | | | | | Issue #98 | ||||
| * | Add fail test for #say handling of non-String objects (#98) | Abinoam Praxedes Marques Jr | 2015-02-02 | 1 | -0/+13 |
| | | |||||
* | | Add failing test to #112 | Abinoam Praxedes Marques Jr | 2015-02-01 | 1 | -0/+45 |
|/ | | | | | | | When default is: - String, should show default at prompt and return string - Symbol, should show default at prompt (Symbol converted to String) but return Symbol without conversions. - Object (other), should NOT show default at prompt and return the Object without conversions. | ||||
* | Add failing test for #113 - readline and limit don't work together | Abinoam Praxedes Marques Jr | 2015-02-01 | 1 | -1/+63 |
| | |||||
* | Merge pull request #119 from abinoam/issue_114 | James Edward Gray II | 2015-02-01 | 1 | -0/+24 |
|\ | | | | | Issue #114 - Grey is Gray and Light is Bright | ||||
| * | Add tests for light is the same as bright - #114 | Abinoam Praxedes Marques Jr | 2015-02-01 | 1 | -0/+12 |
| | | |||||
| * | Make GREY alias of GRAY - #114 | Abinoam Praxedes Marques Jr | 2015-02-01 | 1 | -0/+12 |
| | | |||||
* | | Add failing test for #117 - backspace overflow when utf8 | Abinoam Praxedes Marques Jr | 2015-02-01 | 1 | -0/+20 |
| | | |||||
* | | Add issue #117 failing test - echoing char when multi-byte charcter | Abinoam Praxedes Marques Jr | 2015-02-01 | 1 | -0/+12 |
| | | |||||
* | | Add issue #115 test - backspace handling utf-8 chars | Abinoam Praxedes Marques Jr | 2015-01-31 | 1 | -0/+12 |
| | | | | | | | | | | Add a (failing) test for backspace handling when echo is off and characters are utf-8 | ||||
* | | Add test for handling of backspace when echo is false (ascii characters) | Abinoam Praxedes Marques Jr | 2015-01-31 | 1 | -0/+12 |
| | | | | | | | | Related to issue #115 | ||||
* | | Add issue #116 test - correct returned string encoding | Abinoam Praxedes Marques Jr | 2015-01-31 | 1 | -0/+12 |
|/ | |||||
* | `format_statement` no longer throws an exception when receiving nil | michaeljbishop | 2014-02-14 | 1 | -0/+5 |
| | |||||
* | Restored use of message_source.inspect for nonstrings. Fixed tests to not ↵ | Keith Bennett | 2014-01-03 | 1 | -2/+2 |
| | | | | expect colons. | ||||
* | Add jline to valid CHARACTER_MODE list in tests | Justin Collins | 2013-06-21 | 1 | -1/+2 |
| | |||||
* | Add test for frozen statement | Dāvis | 2013-06-01 | 1 | -0/+5 |
| | |||||
* | Add test for terminal_size | Justin Collins | 2013-04-15 | 1 | -0/+5 |
| | |||||
* | Add tests for multi-line indentation | Dāvis | 2013-02-27 | 1 | -0/+16 |
| | |||||
* | Better integration for indentation support | davispuh | 2013-02-03 | 1 | -3/+36 |
| | |||||
* | Added indentation and newline feature | davispuh | 2013-02-03 | 1 | -0/+17 |
| | |||||
* | Adjusting code indent | Kenichi Kamiya | 2013-01-09 | 1 | -3/+3 |
| | |||||
* | Tweaked HighLine#say's regex, added tests | Kenneth Murphy | 2012-09-19 | 1 | -0/+22 |
| | |||||
* | Lists print out empty strings when presented with nil values | Eric Saxby | 2012-08-31 | 1 | -0/+8 |
| | |||||
* | Remove shebangs. Fix shebang-spec. | Scott Gonyea | 2012-06-12 | 1 | -4/+0 |
| | |||||
* | Change shebangs to use /usr/bin/env to find the ruby. | Scott Gonyea | 2012-06-12 | 1 | -2/+2 |
| | |||||
* | Add typing verification through multiple matching entries | michael | 2012-05-13 | 1 | -4/+61 |
| | | | | | | | | | | Setting verify_match on a question will allow for "please type it in again for verification" style entries, such as commonly seen when setting/changing passwords, etc. This leverages the existing gather mechanism to control asking for multiple entries, but returns a single answer once all gathered entries match. | ||||
* | Duplicate the string passed in to Question.new | michael | 2012-05-13 | 1 | -1/+13 |
| | | | | | The question string is modified by some of the methods in Question, so use a copy of the original string. | ||||
* | Fix version tests for multi-digit components. | Diego Elio Pettenò | 2012-01-24 | 1 | -1/+1 |
| | |||||
* | Fixing a regression. | James Edward Gray II | 2012-01-08 | 1 | -0/+10 |
| | |||||
* | Adding uneven column modes for lists. | James Edward Gray II | 2011-11-04 | 1 | -3/+35 |
| | |||||
* | Simplify :inline mode logic in HighLine#list | Lachlan Dowding | 2011-07-11 | 1 | -2/+44 |
| | | | | | 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. | ||||
* | Fix HighLine#list empty item array test to work correctly | Lachlan Dowding | 2011-07-11 | 1 | -2/+2 |
| | |||||
* | Handle empty items consistently in HighLine#list | Lachlan Dowding | 2011-07-11 | 1 | -2/+11 |
| | | | | | | | | | | | | | 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. | ||||
* | Add tests for convenience methods and String extensions | Richard LeBer | 2011-06-27 | 1 | -0/+8 |
| | |||||
* | Add uncolor method and tests | Richard LeBer | 2011-06-27 | 1 | -0/+28 |
| | |||||
* | Refactor rgb colors using const_missing. Add rgb color tests. Bug fixes -- ↵ | Richard LeBer | 2011-06-27 | 1 | -0/+10 |
| | | | | all tests now pass | ||||
* | fix test of test_mode, include 'ncurses' | Stephen Bannasch | 2009-10-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | The tests all complete successfully in JRuby only if I make sure rubygems is loaded by adding: require 'rubygems' To the test code. Currently there is a bug in JRuby's processing of RUBYOPT http://jira.codehaus.org/browse/JRUBY-4060 so just setting: export RUBYOPT=rubygems doesn't solve the problem. | ||||
* | changed the test_type_conversion test so that it wouldn't fail with ruby 1.9 | Jake Benilov | 2009-03-27 | 1 | -2/+2 |
| | | | | the failure was caused by a change in what kind of format Date#parse accepted | ||||
* | restructuring | Gregory Brown | 2009-02-02 | 1 | -0/+823 |