Commit Graph

16 Commits

Author SHA1 Message Date
John Mair ad0e3b9d9f * got run command working by passing in extra 'target' argument. Got
command string interpolation working, so .cd #{my_dir} now works.
2011-04-08 21:10:49 +12:00
John Mair 0e1e5524b3 updated TODO 2011-04-08 10:30:23 +12:00
John Mair f026516673 version 0.8.0pre4, suppress output from command that dont have return
values. suppress output from all expressions that end in a ';'. Added
`gem-cd` command that chdir to the directory containing the gem files.
2011-04-08 02:13:16 +12:00
John Mair cfba7fee9e version 0.8.0pre2, refactored out command_processor.rb. fixed '?' as alias for show-doc
(needed to escape regex).
2011-04-07 19:05:22 +12:00
John Mair 479c44a107 added execution of shell commands when ':' is first char of command,
forwards to system(). Added back in #{direc} before requires as
without it the installed gems were interferring
2011-04-07 15:31:03 +12:00
John Mair 96a4d513d8 trying to fix yard and rdoc parsing 2011-04-05 18:03:58 +12:00
John Mair e1d2372e07 version 0.7.0, added pry-doc support and a few misc things.
* added pry-doc support for ruby core C methods, (show-doc and
  show-method)
* added _ex_ local for recovering last exception
* added -mj option to ls to display methods defined strictly on
  singleton class.
2011-03-15 16:31:40 +13:00
John Mair d299f3be30 version 0.6.8pre4, changed Pry::Commands.dup to Pry::Commands.clone due to rubinius bug. Made .pryrc run on ordinary pry sessions (not just command line), still need to complete whereami command 2011-03-05 01:37:59 +13:00
John Mair 52349f552a version 0.6.7 release: major features are (1) syntax highlighting (2) in order to support this had to build many platform gems as windows requires win32console gem which *nix does not 2011-03-04 00:50:04 +13:00
John Mair b3e6c7424e updated TODO 2011-03-03 18:07:39 +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 c0e494756c version 0.6.1 release, added optional return value to `exit` and `exit-all` commands, added !@ alias for exit-all, added :keep_retval option to `command` method in CommandBase, improved `pry` command line executable -e option 2011-02-26 04:32:54 +13:00
John Mair 7ce581e7fd version 0.6.1(pre), added !! as alias for exit-all, added cd/ to return to pry toplevel, improved `pry` command line so it uses a rep session on -e code 2011-02-25 15:42:17 +13:00
John Mair 29722bb9f5 * version 0.5.0 release
* Use clipped version of Pry.view() for large objects
* Exit Pry session on ^d
* Use Shellwords for breaking up parameters to pry commands
* Use OptionParser to parse options for default pry commands
* Add version command
* Refactor 'status' command: add current method info
* Add meth_name_from_binding utility lambda to commands.rb
* Add -M, -m, -v(erbose), -a(ll), -s(uper), -l(ocals), -i(ivars), -k(klass
	vars), etc options to ls
* add -M(instance method) options to show-method and show-doc
* add --help option to most commands
* Get rid of ls_method and ls_imethods (subsumed by more powerful ls)
* Get rid of show_idoc and show_imethod
* Add special eval-file command that evals target file in current context
2011-02-17 18:36:39 +13:00
John Mair 42d1c126af version 0.5.0pre4 Almost ready for release. Updated examples to match new changes, updated README. 2011-02-17 10:22:59 +13:00
John Mair f8f0919189 Got rid of show_imethod and show_idoc, merged into show-method and show-doc with special -M option. Changed all underscored command names to hyphenated-names, e.g jump-to instead of jump_to.
* added a bunch of new command options to ls command, supercharging it. Using optparse.
* added options to show-method and show-doc
* now showing file/line for show-method, show-doc, show-command commands
* cleaned up 'help', and got rid of aliases from help display; now showing aliases in primary command help output.
2011-02-17 05:27:55 +13:00