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

19 commits

Author SHA1 Message Date
Ryan Fitzgerald
04dbded0c2 Pull out Indent#should_correct_indentation? 2012-12-28 19:05:06 -08:00
Conrad Irwin
09160e7906 write to history incrementally
This makes it less essential for drivers to finalize the pry instance.
2012-12-28 16:57:30 -08:00
Conrad Irwin
7c13b1f7b1 Docstrings for Pry::REPL 2012-12-28 16:24:07 -08:00
Conrad Irwin
8a23c9a8a7 Use correct_indent not auto_indent...
Prior to this change, when auto_indent was set to true for some tests,
the green dots would be cleared half-way through.

We should probably re-consider these options, but it seems useful to
explicitly disable ANSI code rewriting during specs while leaving
indentation mutating read lines (before this change, there was a bug
in REPL that did not manifest because auto_indent was false).
2012-12-28 16:06:54 -08:00
Conrad Irwin
fdb703a8de Refactor completion API (git diff -w) 2012-12-28 15:21:23 -08:00
Conrad Irwin
2c95c99735 Rename loop to rep 2012-12-28 14:19:42 -08:00
Conrad Irwin
9ce0397b7a Remove input_stack and fix REPLFileLoader 2012-12-28 13:35:48 -08:00
Conrad Irwin
a5d72a146f Make interactive? explicit 2012-12-28 11:18:51 -08:00
Ryan Fitzgerald
b8999b0afc Rename retrieve_line to read 2012-12-27 22:11:30 -08:00
Ryan Fitzgerald
9fc0ee5a46 Rename repl to loop 2012-12-27 22:10:44 -08:00
Ryan Fitzgerald
1ea1927b43 Rename accept_line to eval 2012-12-27 22:06:50 -08:00
Ryan Fitzgerald
48481a1bfd Rename reset_line to reset_eval_string 2012-12-27 19:56:43 -08:00
Ryan Fitzgerald
3c6ffaf69c Slightly refactor REPL initialization 2012-12-23 00:08:40 -08:00
Conrad Irwin
00939762c4 Re-add (deprecated) Pry#repl for @robgleeson 2012-12-21 22:06:41 -08:00
Conrad Irwin
141f692cfc Readd Pry#repl 2012-12-21 21:51:28 -08:00
Conrad Irwin
827ccddfed Simplify accept_line a bit 2012-12-21 01:49:43 -08:00
Conrad Irwin
4d4c0ab6b2 Pry.accept_line returns a 'should continue?' boolean 2012-12-21 00:41:53 -08:00
Conrad Irwin
37b2f20a34 accept_eof -> accept_line(nil) 2012-12-21 00:40:23 -08:00
Ryan Fitzgerald
9d48aba5b8 s/Driver/REPL 2012-12-21 00:02:19 -08:00
Renamed from lib/pry/driver.rb (Browse further)