1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

36 commits

Author SHA1 Message Date
John Mair
06aa0b9bbc passing all tests. created a __binding__ method to return a binding unpolluted by Pry context, no longer using instance_eval, thanks to Mon_Ouie's trick. Added test for multi-line, added nest for class nesting 2010-12-25 15:36:39 +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
John Mair
f645753e0a fixed readme 2010-12-19 14:45:05 +13:00
John Mair
55cf95a1f0 fixed docs 2010-12-19 02:00:58 +13:00
John Mair
ec8f9ec71f Added out parameter to Output class, so can redirect standard output to any valid IO object. Renamed show_instance_method to show_imethod and method_doc to show_doc, and instance_method_doc to show_idoc, updated README. 2010-12-19 01:54:16 +13:00
John Mair
d2009e6de1 version bump 0.3.0, added method_doc and friends, added cat, updated README, adjusted Rakefile to use 0.2.0 method_source gem 2010-12-19 01:10:23 +13:00
John Mair
6491b0454f added default of TOPLEVEL_BINDING to Pry.start() 2010-12-18 22:17:07 +13:00
John Mair
53e3301ad0 Version to 0.2.8; moved default_prompt and wait_prompt to Pry class. Instance prompts default to these values (can override by calling default_prompt/wait_prompt accessors on instance 2010-12-18 00:01:34 +13:00
John Mair
6ab89b4448 updated docs 2010-12-17 20:32:38 +13:00
John Mair
c6ee635460 Ripper for 1.9, RubyParser for 1.8. Fixed 1.8 inspect difficulties, added help for new commands, using method_source gem, updated README 2010-12-17 18:10:47 +13:00
John Mair
a31d9e31c1 nested pry, seems to create an anonymous object e.g pry (wait for new repl) then pry -- self changes!. Also exit_program seems broken! 2010-12-15 17:56:06 +13:00
John Mair
1471507b3a added ls/cd/cd.. 2010-12-15 15:21:13 +13:00
John Mair
23cb880422 version bump 0.2.5pre1, added valid_expression? using rue maneuver 2010-12-15 02:27:41 +13:00
John Mair
b243fa84b7 now object-based and added show_method command 2010-12-14 01:46:50 +13:00
John Mair
fa55956fdc formatting 2010-12-12 23:31:04 +13:00
John Mair
b6394c8835 refactor 2010-12-12 13:35:07 +13:00
John Mair
3542106257 fixed formatting, refactored and cleaned up some code 2010-12-12 10:53:14 +13:00
John Mair
1d271ba47b reverted lambdas to procs for prompts so that not force users to use the nested parameter if not want to 2010-12-12 02:18:51 +13:00
John Mair
9f07da8ee6 fixed output.rb formatting 2010-12-11 22:20:51 +13:00
John Mair
09685f360c * added new commands: help, status
* removed exit_at alias for jump_to, now only jump_to is valid
* updated documentation
* added another format for pry method, can now use 5.pry or pry(5)
2010-12-11 22:08:01 +13:00
John Mair
3ea896efba cleaned up code (ugly comments) 2010-12-11 18:31:34 +13:00
John Mair
191eb63c6a * version bump to 0.2.0
* added bunch of new nesting functionality
* added input/output accessors instead of binding to stdin/stdout
* added _ for last result
* changed command format (no more sigils)
2010-12-11 18:22:17 +13:00
John Mair
a25c40d2db version bump to 0.1.3 and slight aesthetic changes to code 2010-12-11 18:19:55 +13:00
John Mair
baeaebfa5b doc update 2010-12-09 05:18:01 +13:00
John Mair
4fcf81b976 refactored binding tests into binding_for() method 2010-12-09 04:39:42 +13:00
John Mair
558fcb3a06 fixed error in docs 2010-12-09 04:06:25 +13:00
John Mair
9d7058d837 updated docs, added info, fixed typos 2010-12-09 03:57:50 +13:00
John Mair
02af19e4e9 cleared up info in docs 2010-12-09 03:06:52 +13:00
John Mair
890ca85030 rescuing SyntaxError as well in valid_expression? 2010-12-09 02:49:28 +13:00
John Mair
ed56b42dd9 updated readme 2010-12-09 01:06:49 +13:00
John Mair
2d64a41bb6 updated readme 2010-12-09 00:45:15 +13:00
John Mair
62d1e31819 updated README 2010-12-09 00:39:06 +13:00
John Mair
2dc06b23c8 adding READMEs and CHANGELOG etc 2010-12-08 20:30:38 +13:00
John Mair
a3399b96ed added # commands, all Pry commands begin with # 2010-12-08 13:19:55 +13:00
John Mair
53e40e9865 first commit 2010-12-07 21:11:35 +13:00