summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* improve docs [ci skip]pry-helpers0xAB2017-08-311-1/+8
|
* make '_pry_' available in scope of calling functions.0xAB2017-08-311-5/+9
|
* support 'include _pry_.helpers'0xAB2017-08-301-2/+3
|
* add Pry#helpers, fix #16340xAB2017-08-301-0/+11
|
* add Pry::Prompt.remove_alias()0xAB2017-08-292-0/+35
|
* improve testcases for Pry::Prompt0xAB2017-08-291-10/+33
|
* polish Pry::Prompt0xAB2017-08-294-9/+18
|
* 10, 100, 110 etc are potentially valid inputs0xAB2017-08-281-1/+1
|
* mark aliased prompt as "[active]" in list-prompts0xAB2017-08-282-5/+7
|
* return PromptInfo from _pry_.prompt if it is a known prompt0xAB2017-08-283-4/+11
|
* selected_prompt?() detects _pry_.prompt = Pry::DEFAULT_PROMPT0xAB2017-08-281-1/+1
|
* fix selected_prompt?0xAB2017-08-281-1/+1
|
* use Pry::Prompt['default'] in config/default.rb0xAB2017-08-281-1/+1
|
* support `Pry.config.prompt = Pry::Prompt['nav']` by calling to_a in push_prompt0xAB2017-08-282-1/+6
|
* to_s on insert to avoid type worries later0xAB2017-08-281-3/+4
|
* remove noise from response0xAB2017-08-281-1/+1
|
* 0 isnt valid as response0xAB2017-08-281-1/+1
|
* in case of multiple aliases referencing different prompts, provide0xAB2017-08-282-2/+30
| | | | multiple choice from 'change-prompt' command.
* eql? based on just proc_array0xAB2017-08-281-1/+1
|
* Disallow duplicate aliases0xAB2017-08-281-4/+15
| | | | | | | | | pry(main)> alias-prompt default foo pry(main)> alias-prompt default foo pry(main)> alias-prompt default foo Before there would be 3 aliases to "default", but from now there will be just one alias. the 2nd & 3rd lines are essentially no-ops.
* using Pry.configure in Pry::Prompt[] example.0xAB2017-08-281-1/+3
| | | | [ci skip]
* rename get_prompt as []0xAB2017-08-284-11/+10
|
* fix alias namespace collision0xAB2017-08-271-9/+8
| | | | | | | | | | | Doesn't overwrite, in this case: pry(main)> alias-prompt default foo pry(main)> alias-prompt nav foo But, `change-prompt` will choose the first which appears in linear search of all_prompts. Might need to improve this in future, by returning array from get_prompt, and offering choice via change-prompt.
* support creating aliase from another aliase.0xAB2017-08-272-5/+7
| | | | | | | pry(main)> alias-prompt default foo pry(main)> alias-prompt foo bar "default" now has two aliases: foo, & bar.
* add alias-prompt command0xAB2017-08-272-0/+34
|
* add Pry::Prompt.alias_prompt, ref #16280xAB2017-08-275-28/+95
|
* doesn't compile on Ubuntu, & probably never used.0xAB2017-08-271-2/+0
|
* Merge pull request #1628 from pry/extensible-promptsRobert2017-08-265-26/+100
|\ | | | | add Pry::Prompt.add_prompt(), Pry::Prompt.get_prompt() & Pry::Prompt.remove_prompt().
| * Merge remote-tracking branch 'pry/master' into extensible-promptsextensible-prompts0xAB2017-08-235-4/+34
| |\
| * | extend Pry::Prompt for integrating custom prompts.0xAB2017-08-235-26/+101
| | | | | | | | | | | | | | | | | | | | | | | | A prompt added through Pry::Prompt will be visible in the output of the "list-prompts" command, and it can be used with the "change-prompt" command. So, adding a prompt this way integrates with the rest of Pry and is a good option for plugins who want their prompts to be discoverable by Pry's built-in commands.
* | | Revert "add clear-screen command."0xAB2017-08-231-15/+0
| | | | | | | | | | | | | | | | | | This reverts commit 7ab051420926a06f8bf7743b75d18a264c3e57ad. Pushed by mistake. Still in PR.
* | | Remove 1.9.2 from .travis.yml0xAB2017-08-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | gemspec requirement is >=1.9.3: https://github.com/pry/pry/blob/master/pry.gemspec#L8 1.9.2 on Travis has stopped working: https://travis-ci.org/pry/pry/jobs/267429913
* | | add clear-screen command.0xAB2017-08-201-0/+15
| |/ |/|
* | update CHANGELOG.md, modify testcase0xAB2017-08-202-3/+7
| |
* | Pry::WrappedModule::Candidate#class_regexes now handles modules that have ↵John Anderson2017-08-202-3/+18
| | | | | | | | overidden Module.name
* | allow 2.4.1 specs to fail - in case the GC bug is tickledJohn Anderson2017-08-201-1/+2
| |
* | Merge pull request #1624 from SaladFork/feature/background-color-helpersr-obert2017-08-202-0/+11
|\ \ | |/ |/| Add text helpers for background colors
| * update CHANGELOG.md0xAB2017-08-201-0/+1
| |
| * Merge remote-tracking branch 'pry/master' into feature/background-color-helpers0xAB2017-08-208-66/+49
| |\ | |/ |/|
* | update CHANGELOG.md (commit implementing this was reverted)0xAB2017-08-201-1/+0
| |
* | update CHANGELOG.md0xAB2017-08-201-0/+1
| |
* | fix 2.4 ruby warning0xAB2017-08-201-1/+1
| |
* | Merge pull request #1590 from dgutov/string_literal_methods_completionRobert2017-08-136-63/+47
|\ \ | | | | | | Fix string literal methods completion
| * | add Pry::BasicObject::ArgumentErrorr-obert2017-08-131-1/+1
| | |
| * | Merge branch 'master' into string_literal_methods_completionr-obert2017-07-162-0/+2
| |\ \ | |/ / |/| |
| * | Fix method completion on string literalsDmitry Gutov2017-07-065-9/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove quote characters from the "word break characters" list. This was done in IRB some 5 years ago, in ruby/ruby@f1ce1f1. * Change completer_word_break_characters instead of basic_word_break_characters. The latter is only used during Readline's initialization, to maybe set the value of the former. * Except for JRuby, where completer_word_break_characters= is broken. * Perform this assignment as soon as we can. By the time the completer is created, Readline has already used this value at least once. * Implement String-specific completion. Fixes #1528.
| * | Remove duplicate testsDmitry Gutov2017-07-061-53/+0
| | |
| | * add changelog for #16240xAB2017-08-201-0/+1
| | |
| | * Add text helpers for background colorsElad Shahar2017-08-071-0/+10
| |/ |/|
* | whereami?!?!?!?! fix #1597r-obert2017-07-152-0/+2
|/