summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [TEMP] Write a bunch of failing testswip.show-source-doc-super-kw-supportKyrylo Silin2013-05-182-2/+121
|
* Allow show-source --superJohn Mair2013-05-183-18/+54
| | | | | Fixing this just required refactoring Pry::CodeObject#empty_lookup so it respected the 'super_level' parameter
* Commands::Play: fix typoKyrylo Silin2013-05-101-1/+1
|
* Commands::Play: improve the help outputKyrylo Silin2013-05-101-7/+12
| | | | | * Add a few new examples * Fix typo in the description of `:open` switch
* Move all hacking of rbx paths into Pry::CodeConrad Irwin2013-05-106-26/+6
|
* Remove unneeded special case for rbx.Conrad Irwin2013-05-103-20/+1
|
* Don't reinvent comment_describing in Pry::MethodConrad Irwin2013-05-101-21/+5
|
* reload-code (with no args) should reload 'current file'John Mair2013-05-101-5/+24
| | | | | | This should fix #920. Also added a guard for !code_object.source_file, this existed on 0.9.12 but for some reason was not on master.
* Allow customisation of the prompt objectsKyrylo Silin2013-05-044-3/+26
| | | | | | | | | | | | | | | | Fix issue #885 (Add an API for extending Pry.view_clip) [1] pry(main)> class Barbie | def inspect | 'You can brush my hair, undress me everywhere!' | end | end => nil [2] pry(main)> [3] pry(main)> Pry.config.prompt_safe_objects << Barbie => [String, Numeric, Symbol, nil, true, false, Barbie] [4] pry(main)> cd Barbie.new [5] pry(You can brush my hair, undress me everywhere!):1>
* CodeObject: special case `super` keywordKyrylo Silin2013-05-043-7/+31
| | | | | | Fix issue #917 (`$ super` should work (so should `$ -s`)) This is applies to both `show-source` and `show-doc`.
* Show{Source,Doc}: refactor assuming definitions from the contextKyrylo Silin2013-05-032-11/+2
| | | | I hope you're pleased now, @banister!
* core_extensions: no need in patching JRuby anymoreKyrylo Silin2013-05-031-21/+0
| | | | They already fixed it: http://jira.codehaus.org/browse/JRUBY-6550
* Add SimpleCovRyan Fitzgerald2013-04-272-0/+6
|
* Merge pull request #912 from richo/features/interactive_exitKyrylo Silin2013-04-252-1/+12
|\ | | | | Features/interactive exit
| * Send pry into interactive mode after running with -iRicho Healey2013-04-252-0/+11
| |
| * Fix typo in toplevel_binding invocationRicho Healey2013-04-251-1/+1
|/
* Fix ruby-1.9.2 :/Conrad Irwin2013-04-251-1/+1
|
* Allow frozen_object.pryConrad Irwin2013-04-253-1/+15
|
* Command::Whereami: add ‘@’ as an alias for the ‘whereami’Kyrylo Silin2013-04-211-0/+1
|
* Merge pull request #908 from amonat/fix-gist-descriptionJohn Mair2013-04-201-1/+1
|\ | | | | Restore correct description of gist command
| * Restore correct description of gist commandAndy Monat2013-04-201-1/+1
|/
* Silence deprecation warning on Pry#repl☈king2013-04-191-12/+3
|
* Merge pull request #903 from Paulche/fix_puppet_issueJohn Mair2013-04-162-1/+19
|\ | | | | Fix issue with Puppet
| * Fix issue with PuppetPaul Chechetin2013-04-162-1/+19
|/ | | | | See: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/monkey_patches.rb#L278
* Fix all ruby version not mentioned in previous two commitsConrad Irwin2013-04-071-1/+2
|
* Fix specs on rbxConrad Irwin2013-04-071-9/+9
|
* Fix 1.8.7 specsConrad Irwin2013-04-071-1/+1
|
* Don't autoload constantsConrad Irwin2013-04-071-0/+1
| | | | This fixes `$ ActionController`
* Find nested module definitions [Fixes #832]Conrad Irwin2013-04-072-4/+35
| | | | This fixes `$ ActionController::ForceSSL`
* LICENSE,README,pry.rb: update yearKyrylo Silin2013-04-063-4/+4
|
* Remove the wiki directoryKyrylo Silin2013-04-062-401/+0
| | | | The information is outdated and hasn't updated for 2 years.
* TODO: remove the fileKyrylo Silin2013-04-061-117/+0
| | | | It hasn't updated for 2 years...
* Merge pull request #893 from evaryont/masterConrad Irwin2013-04-021-1/+1
|\ | | | | Support customizing the location of ~/.pryrc
| * Support loading a different pryrc from ENVColin Shea2013-04-021-1/+1
|/ | | | | If the user exports $PRYRC, assume that's the end-user configuration file, and load that instead of `~/.pryrc`. Closes #893.
* Revert "Bump master to v1.0.0pre1"☈king2013-04-011-1/+1
| | | | | | | This reverts commit 0256eaa35d4b7f3ae7491fcaa621269330badbeb. pry-debugger, and at least one other gem, depend on pry ~>0.9.x. Until this is expanded to allow 1.x, I rescind my vote to bump this version.
* Method::Patcher should preserve method visibilityConrad Irwin2013-03-302-1/+9
| | | | (Works around https://github.com/rubinius/rubinius/issues/2248)
* Skip rubinius due to [Issue rubinius/rubinius#2247]Conrad Irwin2013-03-301-7/+10
|
* Merge branch 'pry-method-patcher'Conrad Irwin2013-03-305-53/+98
|\
| * Remove broken requireConrad Irwin2013-03-301-1/+0
| |
| * Move cache reading into Pry::Code for consistencyConrad Irwin2013-03-283-5/+7
| | | | | | | | This necessitates ensuring that the wrapping doesn't add any newlines
| * Modify methods using Pry::Method#redefineConrad Irwin2013-03-284-12/+40
| | | | | | | | | | I considered calling redefine source=, but Pry::Method objects are not designed to be mutable.
| * s/code_object/methodConrad Irwin2013-03-281-19/+19
| |
| * Allow Pry::Method::Patcher to work without _pry_Conrad Irwin2013-03-283-7/+21
| |
| * Split up big Pry::Method#source methodConrad Irwin2013-03-281-16/+24
| |
| * Rename Pry::Commands::Edit::MethodPatcher to Pry::Method::PatcherConrad Irwin2013-03-273-3/+4
| |
| * Move MethodPatcher to Method::PatcherConrad Irwin2013-03-271-0/+0
| |
| * rewrite definition line after editing methodConrad Irwin2013-03-271-13/+6
| |
* | Allow ls -c <anything> [Fixes #891]Conrad Irwin2013-03-281-2/+1
| |
* | Show{Source,Doc}: assume super definitions from the contextKyrylo Silin2013-03-273-38/+94
|/ | | | | | | | | | | Fix issue #877 (show-source -s doesn't work (when no method arg is given)) This behaviour is shared between `show-source` and `show-doc`. So with one fix I kill two bugs. Add tests and rewrite some of the existing ones (related to the `--super` switch).
* Merge remote-tracking branch 'origin/pr/887'Conrad Irwin2013-03-262-1/+39
|\