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

24 commits

Author SHA1 Message Date
Lee Jarvis
09011ef726 bump slop version 2011-04-24 15:30:51 +01:00
Lee Jarvis
169090cc02 dont alter LOAD_PATH and require files relative to lib/ 2011-04-24 12:56:47 +01:00
John Mair
22ead20471 updated Rakefile, pushed version 0.8.0 2011-04-24 13:57:45 +12:00
Lee Jarvis
02668e07f9 added slop dependency 2011-04-18 22:30:52 +01:00
John Mair
2014b79fea Added pager and pagebreaks (-b option) to show-method, show-doc,
cat-file. Also changed output headers to get rid of --, as per
epitron's commit.
2011-04-10 02:42:17 +12:00
John Mair
d111b19f82 fixed run command builder, now takes target parameter, also accepts system
commands.

Also:
* changed Rakefile to remove the -k flag from bacon test
* changed pry_instance attr_reader to attr_accessor in CommandProcessor class
* updated tests to reflect new `run` parameters
2011-04-08 16:09:47 +12:00
John Mair
3c271ff712 turned chomp! into an rstrip! in process_line(). Fixed 1.8.7 compat
for `read_between_lines` function commands.rb. Removed before/after
hook output text (too spammy). Fixed file-mode completion, so it works
straight away. CHanged 'pry' rake task to 'binding.pry' instead of
just 'pry' so that context is given.
2011-04-08 13:06:39 +12:00
John Mair
41d744c075 version 0.7.1, upgraded dependency on method_source to 0.4.0 so that
accurately returns C source for immediate value instance methods.

* refactored repl into 2 help methods: repl_prologue, repl_epilogue
* added session_target method to Pry instances so can retrieve target
of session for parents, e.g _pry_.parent.session_target
* refactored ls command to use Symbol#to_proc
2011-03-16 20:02:15 +13:00
John Mair
43ff3593f9 got pry working with pry-doc, and modified show-doc and show-method
commands to use pry-doc if pry-doc exists, otherwise to use
source_location based techniques.
2011-03-14 14:46:50 +13:00
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
f1c5fa4a69 version 0.6.7pre3, getting syntax higlighting working and adding new commands to pry commandline, see TODO 2011-03-03 00:18:26 +13:00
John Mair
7ed6c17ebc version 0.6.6, building separate jruby gem since it breaks with the recent version of method_source 2011-03-02 02:14:38 +13:00
John Mair
52a84cd598 version 0.6.3, added method_source 0.3.4 dependency (1.8 show-metthod support). Added docs, added Set to inspect classes 2011-02-28 05:06:52 +13:00
John Mair
22d31c0b92 version 0.5.7, added Pry executable, pry --help at command line for more info 2011-02-21 05:54:18 +13:00
John Mair
afa3cabf77 0.4.8, re-release due to rubygems problems. Also, removed show_version task from Rakefile, and replaced it with a version task 2011-02-12 11:26:53 +13:00
John Mair
d890d7b38d version 0.4.4, oops added examples/ 2011-01-27 15:34:36 +13:00
John Mair
8682e269eb Version 0.4.2
* Added alias_command and desc commands to Pry::CommandBase
* Added pry and version tasks to Rakefile to start a pry session and show current version
* Added tests for alias_command and desc commands
* made it so ls_methods and ls_imethods return sort arrays
* made it so show_method without a paramater displays current method, if exists, who displays error if not
2011-01-27 07:05:40 +13:00
John Mair
228b95f516 added new 'alias_command' and 'desc' commands to CommandBase; also made it so show_method comamnd without parameters does a show_method on __method__ 2011-01-26 23:13:46 +13:00
John Mair
2ca16a0657 Version 0.4.1
* Made is to 'def meth;end' in an object (not a class) defines singleton methods, not methods on the class.
* Reorganized and reworded some documentation, adding info on rubygems-test
* added rubygems-test support
* added more tests to reflect new method definition behaviour
2011-01-24 13:39:15 +13:00
John Mair
6aacc8721d Made it so defining methods on a pry'd on object puts the methods on the singleton class of the object rather than on the class. Added rubygems-test support.
Alternatively, if the object cannot support singleton methods, e.g immediates and Numerics, the method will go on the class instead.
2011-01-24 03:50:15 +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
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
890ca85030 rescuing SyntaxError as well in valid_expression? 2010-12-09 02:49:28 +13:00
John Mair
2dc06b23c8 adding READMEs and CHANGELOG etc 2010-12-08 20:30:38 +13:00