summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #1752 from jackkinsella/push-edit-contents-to-historyJohn Mair2018-05-184-5/+34
|\ | | | | Push edit contents to history (issue #1749)
| * Pad multiline units of the edit command consistently with numberingJack Kinsella2018-03-262-5/+21
| |
| * Push full edit command contents to history, enabling up-and-enter actionJack Kinsella2018-03-252-0/+13
|/
* Merge pull request #1747 from nitsas/fix_typo_in_changelogJohn Mair2018-02-231-1/+1
|\ | | | | Fix typo in CHANGELOG.md
| * Fix typo in CHANGELOG.mdChris Nitsas2018-02-231-1/+1
|/
* rubinius is dead, and it's causing me test failures. byebyeJohn Mair2018-02-231-1/+0
|
* get this bitch working on rubies that dont support keyword argsJohn Mair2018-02-231-2/+2
|
* move definitions into specsJohn Mair2018-02-231-2/+2
|
* Wrap 2.1 specific specs (keyword args) in 2.1 version check guardJohn Mair2018-02-231-14/+17
|
* Merge pull request #1746 from Ch4s3/support_keyword_argumentsJohn Mair2018-02-232-9/+54
|\ | | | | support keyword args in `show-doc`
| * unit testsChase2018-02-211-0/+43
| |
| * touch up, fix typo, keyreq, var namesChase2018-02-201-9/+10
| |
| * support keyword args inChase2018-02-201-2/+3
|/
* Merge pull request #1744 from kmcphillips/masterJohn Mair2018-02-122-4/+24
|\ | | | | Recover from any SystemCallError on failure to read or write history file
| * Recover from any SystemCallError on failure to read or write history file.Kevin McPhillips2018-02-112-4/+24
|/
* Merge pull request #1741 from dgutov/fix_full_scan_completionKyrylo Silin2018-01-231-0/+1
|\ | | | | Fix full scan completion in bare pry
| * require 'set'Dmitry Gutov2018-01-221-0/+1
|/ | | | It's not loaded in a bare pry session.
* Travis: JRuby 9.1.15.0 (#1734)Olle Jonsson2018-01-081-1/+1
|
* Merge pull request #1735 from olleolleolle/fix/yard-warnings-for-see-directiveJohn Mair2018-01-082-3/+3
|\ | | | | Avoid YARD RedundantBraces warnings
| * Merge branch 'master' into fix/yard-warnings-for-see-directiveOlle Jonsson2018-01-081-1/+1
| |\ | |/ |/|
* | Merge pull request #1736 from olleolleolle/fix/avoid-yard-UnknownParam-warningKyrylo Silin2018-01-081-1/+1
|\ \ | | | | | | Avoid YARD UnknownParam warning
| * | Yardoc: avoid UnknownParam warningOlle Jonsson2018-01-071-1/+1
|/ /
| * Fix YARD warnings about see directiveOlle Jonsson2018-01-072-3/+3
|/
* test against 2.4.3 (#1732)Robert2017-12-281-2/+1
|
* test against 2.5 (#1729)Robert2017-12-281-0/+1
|
* Add a new command, "clear-screen", that clears the content of the (#1723)Robert2017-12-262-0/+17
| | | screen Pry is running in regardless of platform (Windows or UNIX-like).
* remove donation pleeJohn Mair2017-12-241-2/+0
| | | lame af
* Fix README logoJohn Mair2017-12-241-1/+1
|
* Fixe test failures due to 'uninitialized constant Pry::Forwardable' in ruby ↵Yuki Nishijima2017-12-241-1/+1
| | | | 2.5 (#1728)
* update CHANGELOG.mdr-obert2017-12-221-0/+4
|
* add assign(), fix #1726r-obert2017-12-222-2/+18
|
* fix a bug where "cd Hash.new" reported self as a Pry::Config in prompt.r-obert2017-12-223-14/+30
| | | | | from_hash is recursive, turning Hash values into Pry::Config objects. fix #1724
* Remove the CONTRIBUTORS file (#1716)Fernando Seror Garcia2017-11-212-89/+1
| | | | | It's no longer a meaningless file, both because it's outdated and because Github provides with the same info in a more detailed and interactive way.
* add gem-stat command … (#1707)r-obert2017-11-182-8/+99
| | | | | | | | | | | | thanks to @dannytatom for the original gem-stats rubygems plugin, which inspired this Pry command. it returns some general statistics about a rubygem when given a name. note that rubygems rate limits the requests, and thanks to that this command can be a "Fail Whale" although the error is handled gracefully. This commit depends on pull request: https://github.com/pry/pry/pull/1701
* add rbx-3.86, add Pry::Platform.known_engines, allow expected failures in ↵r-obert2017-11-188-16/+45
| | | | | | | | | | | | | | | spec suite (#1694) * Add Pry::Platform.known_engines * Add fixes for rbx-3.86, and cleanup .travis.yml * Optionally skip a test on specific Ruby engine(s). And tag specs that currently do not pass on Rubinius. Travis takes much longer to complete after this change. Maybe there are switches we can pass to speed up Rubinius, or this will improve on new versions of Rubinius.
* Update RSpec version to 3.7 (#1712)Fernando Seror Garcia2017-11-171-1/+1
|
* Deprecate Pry::Command#text. Please use black(), white(), etc directly (#1701)r-obert2017-11-1618-36/+52
| | | | instead (as you would with helper functions from BaseHelpers and CommandHelpers)
* update changelog (#1703)John Mair2017-11-141-1/+1
|
* bump version (#1702)v0.11.3John Mair2017-11-141-1/+1
|
* Update Rakefile to properly run specs (#1700)John Mair2017-11-141-1/+1
| | | Use bundle exec
* fix #1471, fix #1621 (#1689)r-obert2017-11-114-12/+72
| | | | | | | | * Abort early when searching for a superclass if the target method has been called through 'super' keyword from a prepended module. * mv spec/regression spec/integration * add hanami integration spec
* Fix a bug where Method objects were not returned for setters inherited (#1688)r-obert2017-11-113-8/+16
| | | | from a default (Pry::Config::Default). Eg, this is no longer an error: [1] pry(main)> Pry.config.method(:exception_whitelist=)
* jruby-9.1.14.0 (#1690)r-obert2017-11-111-1/+1
| | | add new JRuby to the Travis matrix.
* do not capture a Proc in Text helper methods. (#1691)r-obert2017-11-102-6/+17
| | | | | | | | The &block we were capturing is not used or passed anywhere. For performance, we shouldn't capture a Proc that we do not use. Improve documentation of both methods. * update CHANGELOG.md
* add Pry::Testable, and friends. (#1679)r-obert2017-11-0413-210/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add Pry::Testable, and friends. This commit replaces lib/pry/test/helper.rb by using category modules. There's now: * Pry::Testable: * Pry::Testable::Evalable * Pry::Testable::Mockable * Pry::Testable::Utility * Pry::Testable::PryTester 'include Pry::Testable' includes all of the above. For the pry test suite it worked out best to include 'Pry::Testable' at the top-level. In plugins I've written though this hasn't been the case, and I only normally need: Pry::Testable::Evalable. So it reduces pollution for the third-party cases, which this code is intended for since it lives within lib/ of the project. What do you think? * breaking change: add set_testenv_variables and unset_testenv_variables * breaking change: add Pry::Testable::Variables, and rename constant_scope() to temporary_constants(). * breaking change: rename inject_var as insert_variable, and move its definition to Pry::Testable::Variables. * include Pry::Testable::Evalable & include Pry::Testable::Variables into the top-level, but keep the other two modules spec-local. * document third argument of insert_variable. * update CHANGELOG.md * note changelog entry is a breaking change * update documentation
* add Pry::Platform. (#1670)r-obert2017-11-025-129/+162
| | | | | | | | | | | | | | | | Platform is a category module that adds utility functions for querying platform information relating to Pry. Some methods are moved from BaseHelpers, and for backwards compatibility included via 'include Pry::Platform'. module_function is not used by BaseHelpers anymore, in favour of include/extend being used in its place. There is also less indentation noise in BaseHelpers module. With _pry_.h (available on the backup master branch) these methods exist on a single module that doesn't pollute the command scope, although for backwards compatibility we still include the functions as top-level command functions.
* Merge pull request #1686 from r-obert/restore-jruby-as-first-class-citizenJohn Mair2017-11-011-0/+1
|\ | | | | Restore #1649 (sort of)
| * Merge branch 'master' into restore-jruby-as-first-class-citizenJohn Mair2017-11-012-0/+13
| |\ | |/ |/|
* | Add utility functions for drawing colorised (#1673)r-obert2017-10-232-0/+13
| | | | | | | | text on a colorised background.
* | Merge pull request #1675 from pry/changelog-formattingRyan Fitzgerald2017-10-221-5/+5
|\ \ | | | | | | Update formatting in CHANGELOG.md