Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve docs [ci skip]pry-helpers | 0xAB | 2017-08-31 | 1 | -1/+8 |
| | |||||
* | make '_pry_' available in scope of calling functions. | 0xAB | 2017-08-31 | 1 | -5/+9 |
| | |||||
* | support 'include _pry_.helpers' | 0xAB | 2017-08-30 | 1 | -2/+3 |
| | |||||
* | add Pry#helpers, fix #1634 | 0xAB | 2017-08-30 | 1 | -0/+11 |
| | |||||
* | add Pry::Prompt.remove_alias() | 0xAB | 2017-08-29 | 2 | -0/+35 |
| | |||||
* | improve testcases for Pry::Prompt | 0xAB | 2017-08-29 | 1 | -10/+33 |
| | |||||
* | polish Pry::Prompt | 0xAB | 2017-08-29 | 4 | -9/+18 |
| | |||||
* | 10, 100, 110 etc are potentially valid inputs | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | mark aliased prompt as "[active]" in list-prompts | 0xAB | 2017-08-28 | 2 | -5/+7 |
| | |||||
* | return PromptInfo from _pry_.prompt if it is a known prompt | 0xAB | 2017-08-28 | 3 | -4/+11 |
| | |||||
* | selected_prompt?() detects _pry_.prompt = Pry::DEFAULT_PROMPT | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | fix selected_prompt? | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | use Pry::Prompt['default'] in config/default.rb | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | support `Pry.config.prompt = Pry::Prompt['nav']` by calling to_a in push_prompt | 0xAB | 2017-08-28 | 2 | -1/+6 |
| | |||||
* | to_s on insert to avoid type worries later | 0xAB | 2017-08-28 | 1 | -3/+4 |
| | |||||
* | remove noise from response | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | 0 isnt valid as response | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | in case of multiple aliases referencing different prompts, provide | 0xAB | 2017-08-28 | 2 | -2/+30 |
| | | | | multiple choice from 'change-prompt' command. | ||||
* | eql? based on just proc_array | 0xAB | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | Disallow duplicate aliases | 0xAB | 2017-08-28 | 1 | -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. | 0xAB | 2017-08-28 | 1 | -1/+3 |
| | | | | [ci skip] | ||||
* | rename get_prompt as [] | 0xAB | 2017-08-28 | 4 | -11/+10 |
| | |||||
* | fix alias namespace collision | 0xAB | 2017-08-27 | 1 | -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. | 0xAB | 2017-08-27 | 2 | -5/+7 |
| | | | | | | | pry(main)> alias-prompt default foo pry(main)> alias-prompt foo bar "default" now has two aliases: foo, & bar. | ||||
* | add alias-prompt command | 0xAB | 2017-08-27 | 2 | -0/+34 |
| | |||||
* | add Pry::Prompt.alias_prompt, ref #1628 | 0xAB | 2017-08-27 | 5 | -28/+95 |
| | |||||
* | doesn't compile on Ubuntu, & probably never used. | 0xAB | 2017-08-27 | 1 | -2/+0 |
| | |||||
* | Merge pull request #1628 from pry/extensible-prompts | Robert | 2017-08-26 | 5 | -26/+100 |
|\ | | | | | add Pry::Prompt.add_prompt(), Pry::Prompt.get_prompt() & Pry::Prompt.remove_prompt(). | ||||
| * | Merge remote-tracking branch 'pry/master' into extensible-promptsextensible-prompts | 0xAB | 2017-08-23 | 5 | -4/+34 |
| |\ | |||||
| * | | extend Pry::Prompt for integrating custom prompts. | 0xAB | 2017-08-23 | 5 | -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." | 0xAB | 2017-08-23 | 1 | -15/+0 |
| | | | | | | | | | | | | | | | | | | This reverts commit 7ab051420926a06f8bf7743b75d18a264c3e57ad. Pushed by mistake. Still in PR. | ||||
* | | | Remove 1.9.2 from .travis.yml | 0xAB | 2017-08-23 | 1 | -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. | 0xAB | 2017-08-20 | 1 | -0/+15 |
| |/ |/| | |||||
* | | update CHANGELOG.md, modify testcase | 0xAB | 2017-08-20 | 2 | -3/+7 |
| | | |||||
* | | Pry::WrappedModule::Candidate#class_regexes now handles modules that have ↵ | John Anderson | 2017-08-20 | 2 | -3/+18 |
| | | | | | | | | overidden Module.name | ||||
* | | allow 2.4.1 specs to fail - in case the GC bug is tickled | John Anderson | 2017-08-20 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #1624 from SaladFork/feature/background-color-helpers | r-obert | 2017-08-20 | 2 | -0/+11 |
|\ \ | |/ |/| | Add text helpers for background colors | ||||
| * | update CHANGELOG.md | 0xAB | 2017-08-20 | 1 | -0/+1 |
| | | |||||
| * | Merge remote-tracking branch 'pry/master' into feature/background-color-helpers | 0xAB | 2017-08-20 | 8 | -66/+49 |
| |\ | |/ |/| | |||||
* | | update CHANGELOG.md (commit implementing this was reverted) | 0xAB | 2017-08-20 | 1 | -1/+0 |
| | | |||||
* | | update CHANGELOG.md | 0xAB | 2017-08-20 | 1 | -0/+1 |
| | | |||||
* | | fix 2.4 ruby warning | 0xAB | 2017-08-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1590 from dgutov/string_literal_methods_completion | Robert | 2017-08-13 | 6 | -63/+47 |
|\ \ | | | | | | | Fix string literal methods completion | ||||
| * | | add Pry::BasicObject::ArgumentError | r-obert | 2017-08-13 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into string_literal_methods_completion | r-obert | 2017-07-16 | 2 | -0/+2 |
| |\ \ | |/ / |/| | | |||||
| * | | Fix method completion on string literals | Dmitry Gutov | 2017-07-06 | 5 | -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 tests | Dmitry Gutov | 2017-07-06 | 1 | -53/+0 |
| | | | |||||
| | * | add changelog for #1624 | 0xAB | 2017-08-20 | 1 | -0/+1 |
| | | | |||||
| | * | Add text helpers for background colors | Elad Shahar | 2017-08-07 | 1 | -0/+10 |
| |/ |/| | |||||
* | | whereami?!?!?!?! fix #1597 | r-obert | 2017-07-15 | 2 | -0/+2 |
|/ |