Permalink
Commits on Jul 14, 2012
  1. version 0.9.10 release

    banister committed Jul 14, 2012
Commits on Jul 13, 2012
Commits on Jul 12, 2012
  1. I Young Greedyguts

    Cap
    Of silk moiré,
    Little wand**
    Of ivory,
    
    Clothes
    Very dark,
    Paul watches
    The cupboard,
    
    Sticks out
    Little tongue
    At pear,
    
    Prepares
    Gives a poke,
    And squitters
    
    A.R.
    banister committed Jul 12, 2012
Commits on Jul 11, 2012
  1. Don't use Enumerators in unit tests

    In previous commit (5d983f4) I added
    Enumerators to unit tests. It appears that Enumerator is not available
    for Ruby 1.8.7 and friends. So, let's rewrite the related to Enumerator
    code and hard-code everything again.
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
    kyrylo committed Jul 11, 2012
  2. Use Pad instead of global variables in tests

    First of all, rewrite `test_cd.rb`, so instead of hard-coded so called
    "binding stack" and "old stack" strings with indices (`bs1`, `os2`,
    etc.) we use Enumerator that lazily creates these strings for us.
    Also, implement exactly the same Enumerator for the
    `test_command_integration.rb`, because we use there a lot of operations
    with binding stack.
    
    Next, replace all unwanted use of global variables in other unit tests
    with Pad.
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
    kyrylo committed Jul 11, 2012
Commits on Jul 9, 2012
  1. Highlight code in comments as ruby regardless

    Before this change, ? Array.try_convert would highlight the code
    snippets as C, but because it's actually a ruby method all the code in
    the comment is ruby.
    ConradIrwin committed Jul 9, 2012
  2. Merge pull request #638 from jollysonali/patch-1

    Fixed grammar in README
    kyrylo committed Jul 9, 2012
  3. Fixed grammar in README

    jollysonali committed Jul 9, 2012
Commits on Jul 7, 2012
  1. Merge pull request #635 from kyrylo/extend-command-group-regexp

    Refactor tests for command groups
    banister committed Jul 7, 2012
Commits on Jul 6, 2012
  1. Refactor tests for command groups

    We should not rely on default commands, because they can be removed or
    shuffled around in the future. Use our custom command in the tests.
    
    Also, add a test that ensures that a group does not disappear after the
    call without parameters.
    
    Reported-by: John Mair <jrmair@gmail.com>
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
    kyrylo committed Jul 6, 2012
  2. version 0.10.pre.1

    ConradIrwin committed Jul 6, 2012
  3. Be more careful exception handling in Readline [Fixes #632, #605]

    Firstly wrap the entire completion_proc in a begin/rescue/end so that
    even if something we're not expecting goes wrong, we don't fail.
    
    Secondly, only throw the user out of pry if reading from readline fails
    five times in a row. This avoids a transient error (like a time-out, or
    a failed tab completion) from kicking you out of pry; but also avoids
    the infinite looping problem that can happen if the error is not transient.
    ConradIrwin committed Jul 4, 2012
Commits on Jul 5, 2012
  1. Merge pull request #634 from kyrylo/extend-command-group-regexp

    Extend command group regexp (bugfix)
    Robert Gleeson committed Jul 5, 2012
  2. Fix wrong command groups

    Fix issue #631 (In `help` output: aliases are no longer grouped under
    Aliases heading but under (other))
    
    Forbid redefining a group of a command once it is initialized. Also, add
    some unit tests, checking for that, so we won't miss this if it happens
    next time.
    
    Reported-by: John Mair <jrmair@gmail.com>
    Cc: Rob Gleeson <rob@flowof.info>
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
    kyrylo committed Jul 5, 2012
  3. Fix indentation level

    Adjust wrong nesting (remove extra blank from each line) in some tests.
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
    kyrylo committed Jul 5, 2012
Commits on Jul 4, 2012
Commits on Jul 2, 2012
  1. improve the 'cat' command

    * Ensure that `cat --ex N` sets bt_index to N so that successive --ex progress from that point.
    * Prevent cat from breaking on unrecognized file types, and add .prytheme as a YAML file type
    banister committed Jul 2, 2012
  2. Fix warnings

    rf- committed Jul 2, 2012
Commits on Jul 1, 2012
  1. Merge pull request #624 from kyrylo/add-a-cd-unit-test

    Add "path with an exceptional situatuion" test
    banister committed Jul 1, 2012
  2. Merge pull request #627 from kyrylo/bugfix-623-edit-command-cannot-ha…

    …ndle-paths-with-spaces-in-the-name
    
    Fix space handling for `edit` command
    banister committed Jul 1, 2012
  3. try to fix tests

    banister committed Jul 1, 2012