Commit Graph

12 Commits

Author SHA1 Message Date
John Mair 4b9198d03c version 0.6.8, added whereami command, made .pryrc run at the start of each runtime session, put syntax highlighting on by default 2011-03-06 03:17:54 +13:00
John Mair 18553b4beb Updated more docs and formatting.
Changed tests to remove opts[:output] and then removed opts[:output]; replaced with output method, changed prompt in example_commands.rb to have a math* wait prompt. Added bullet points to examples in README.markdown. Added more info on TexPlay and Gosu for example_image_edit
2011-01-21 22:34:22 +13:00
John Mair 9e1e35e5f4 removed input.rb and output.rb 2011-01-19 22:15:58 +13:00
John Mair f45e8bfbd0 finished updating and improving command API; now command API is as follows: command 'blah' do |x| puts x; end where x is a parameter passed to the command from the pry prompt 2011-01-18 03:38:09 +13:00
John Mair ebdcfdf145 saving before refactor to implement action block instead of action proc for commands. All tests passing in 1.8 and 1.9. 2011-01-12 18:08:56 +11:00
John Mair 70bc1222e2 changed get_prompt to select_prompt 2011-01-10 01:37:22 +13:00
John Mair 878ca414d7 adding back a bunch of tests, almost finished. Also renamed default_prompt to prompt and prompt to get_prompt, etc 2011-01-08 01:25:24 +13:00
John Mair 12758922e8 other tests passing: commands 2011-01-06 11:07:06 +13:00
John Mair 329f49afa1 updating tests to reflect new program organization/design 2011-01-05 16:23:11 +13:00
John Mair 00ec4c84d3 passing ALL tests now for 1.8 AND 1.9 2010-12-25 16:21:16 +13:00
John Mair 5ae3b69667 all tests passing, new functionality in form of: hash args to Pry.start() for :input and :output 2010-12-24 21:30:51 +13:00
John Mair aa03df81ca * added tests (test.rb and test_helper.rb files)
* defined input/output accessors for Pry class to set global defaults for input and output (overridable by specific instances).
* Added reset_defaults method to set input/output and prompt lambdas back to defaults
* added output callback for 'cd' command
* changed eval_string += val to eval_string << val in Pry#r method, for performance reasons (no copy made with <<)
2010-12-24 01:16:04 +13:00