John Mair
a04e56012a
made it so commands (with :keep_retval => true) can now return nil as a legitimate return value. Created a new 'void' value to use instead when indicating no return value. also updated tests.
...
'void' method now available to commands, commands must return this when they do not want their result displayed when they use :keep_retval => true. void just maps to a random object Pry::CommandContext::VOID_VALUE.
2011-09-04 13:30:20 +12:00
John Mair
3c1db5ac2f
added signature to stat and show-doc commands in ruby 1.8; added source file output to stat command
2011-09-03 22:37:10 +12:00
John Mair
6cd1d28d98
merged in robgleeson's patch to pass pry instance to prompts, also added test_special_local.rb and test_shell.rb tests
2011-09-02 22:25:18 +12:00
John Mair
b3576244db
added more rbx helpers (command_helpers.rb) and added limited support for cat --ex on rbx
2011-09-01 15:47:29 +12:00
John Mair
84b0601f4a
all special locals are now injected into all bindings for a Pry instance - e.g _ex_ is consistent no matter if you cd into a new context. New 'special local' system, and added tests for the new system
2011-09-01 05:05:21 +12:00
John Mair
d16e396e51
removed all occurences of Pry.active_instance and Pry.last_exception. Now using inject_local() method. Also initializing all locals in repl_prologue
2011-08-31 05:35:41 +12:00
John Mair
3e137e8b1b
added Pry.config.control_d_handler and also changed way control d (^D) works inside multi-line expressions (it clears input buffer)
2011-08-30 02:22:58 +12:00
John Mair
5a38130d7e
updated CHANGELOG
2011-08-22 16:03:21 +12:00
John Mair
5b09af4c92
updated CHANGELOG
2011-08-18 02:02:12 +12:00
John Mair
3b5668f5fe
updated CHANGELOG
2011-08-16 16:05:58 +12:00
John Mair
0777d6e4a7
updated CHANGELOG to indicate fixed jedit editor support and that missing plugins no longer raise exception (just give warnings to )
2011-07-27 23:23:10 +12:00
John Mair
cda95022ed
updated CHANGELOG and TODO, almost ready for 0.9.3 release
2011-07-27 05:17:20 +12:00
John Mair
0394c3e6ea
fixed help for play command, updated TODO and CHANGELOG
2011-07-27 05:09:21 +12:00
John Mair
df10d6397e
updated TODO and CHANGELOG
2011-07-27 03:23:11 +12:00
John Mair
d74ddeea7a
updated CHANGELOG and TODO
2011-07-26 01:07:28 +12:00
John Mair
8c444ba4f1
updated CHANGELOG and TODO
2011-07-25 23:32:21 +12:00
John Mair
5c4feac500
version 0.9.2 release, updated CHANGELOG and version
2011-06-21 03:17:04 +12:00
John Mair
606ce5ccc2
updated CHANGELOG
2011-06-17 00:17:32 -07:00
John Mair
6061f97302
added date to CHANGELOG
2011-06-17 02:27:05 +12:00
John Mair
3ab22b1889
updated CHANGELOG information
2011-06-17 01:42:23 +12:00
John Mair
69b91bfecf
updated CHANGELOG with some 0.9.0 changes
2011-06-16 00:37:10 +12:00
John Mair
21eb9c5e0c
version 0.7.6.1, added slightly better YARD support for syntax
...
highlighting in show-doc command
2011-03-26 23:27:18 +13:00
John Mair
f4d7e418af
version 0.7.6, supercharged 'whereami' method, added AROUND parameter. Improved rubinius support
2011-03-26 22:08:12 +13: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
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
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
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
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
d65a13ae30
version 0.5.8 added -c (context) options to show-method and show-doc and eval-file commands, fixed up ordering issue for options in pry command line
2011-02-21 13:46:29 +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
5eea0501bc
version 0.5.6, added better help messages and error messages. Refactored pry.rb to include all *.rb using Dir and each
2011-02-19 18:21:13 +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
d0cf3ef153
version 0.4.5 fixed show_method command
2011-01-27 22:37:43 +13:00
John Mair
d890d7b38d
version 0.4.4, oops added examples/
2011-01-27 15:34:36 +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
45f2f105f8
almost ready for 0.4.0 release, created new example_input2.rb example for advanced input usage
2011-01-21 19:09:21 +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
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