./misc/ruby-pry, IRB alternative and runtime developer console

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.11.3, Package name: ruby24-pry-0.11.3, Maintainer: pkgsrc-users

Pry is a powerful alternative to the standard IRB shell for Ruby. It
is written from scratch to provide a number of advanced features.

Pry also aims to be more than an IRB replacement; it is an attempt to
bring REPL driven programming to the Ruby language. It is currently
not as powerful as tools like SLIME for lisp, but that is the general
direction Pry is heading.

Pry is also fairly flexible and allows significant user customization
is trivial to set it to read from any object that has a readline
method and write to any object that has a puts method - many other
aspects of Pry are also configurable making it a good choice for
implementing custom shells.

Required to run:
[devel/ruby-readline] [textproc/ruby-coderay] [misc/ruby-method_source] [lang/ruby24-base]

Required to build:

Master sites:

SHA1: 10166421f0125ec21a583de46789026151039ef1
RMD160: 0bd8df5cc378042624a2c1a21b6404dd86d8adbe
Filesize: 148 KB

Version history: (Expand)

CVS history: (Expand)

   2018-03-14 16:04:44 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
misc/ruby-pry: update to 0.11.3

pkgsrc change: add support for pkg_alternatives

### HEAD

#### Features

* Add Pry::Testable, an improved modular replacement for PryTestHelpers.
  **breaking change**.

See pull request [#1679](https://github.com/pry/pry/pull/1679).

* Add a new category module: "Pry::Platform". Loosely related to #1668 \ 

See pull request [#1670](https://github.com/pry/pry/pull/1670)

* Add `mac_osx?` and `linux?` utility functions to Pry::Helpers::BaseHelpers.

See pull request [#1668](https://github.com/pry/pry/pull/1668).

* Add utility functions for drawing colorised text on a colorised background.

See pull request [#1673](https://github.com/pry/pry/pull/1673).

#### Bug fixes

* Fix a case of infinite recursion in \ 
  that users of the [Hanami](http://hanamirb.org/) web framework experienced and
  reported since 2015.

See pull request [#1639](https://github.com/pry/pry/pull/1689).

* Fix a bug where Method objects were not returned for setters inherited
  from a default (Pry::Config::Default). Eg, this is no longer an error:

      pry(main)> d = Pry::Config.from_hash({}, Pry::Config::Default.new)
      pry(main)> d.method(:exception_whitelist=) # Error

See pull request [#1688](https://github.com/pry/pry/pull/1688).

* Do not capture unused Proc objects in Text helper methods `no_color` and \ 
  for performance reasons. Improve the documentation of both methods.

See pull request [#1691](https://github.com/pry/pry/pull/1691).

* Fix `String#pp` output color.

See pull request [#1674](https://github.com/pry/pry/pull/1674).

### 0.11.0

* Add alias 'whereami[?!]+' for 'whereami' command. \ 
* Improve Ruby 2.4 support ([#1611](https://github.com/pry/pry/pull/1611)):
  * Deprecated constants are hidden from `ls` output by default, use the `-d` \ 
switch to see them.
  * Fix warnings that originate in Pry while using the repl.
* Improve completion speed in large applications. \ 
* Pry::ColorPrinter.pp: add `newline` argument and pass it on to PP. \ 
* Use `less` or system pager pager on MS Windows if it is available. \ 
* Add `Pry.configure` as an alternative to the current way of changing \ 
configuration options in `.pryrc` files. \ 
* Add `Pry::Config::Behavior#eager_load!` to add a possible workaround for \ 
issues like ([#1501](https://github.com/pry/pry/issues/1501))
* Remove Slop as a runtime dependency by vendoring v3.4 as Pry::Slop.
  People can depend on Slop v4 and Pry at the same time without running into \ 
version conflicts. ([#1497](https://github.com/pry/pry/issues/1497))
* Fix auto-indentation of code that uses a single-line rescue \ 
* Remove "Pry::Config#refresh", please use \ 
"Pry::Config#clear" instead.
* Defining a method called "ls" no longer breaks the "ls" \ 
command ([#1407](https://github.com/pry/pry/issues/1407))
* Don't raise when directory permissions don't allow file expansion \ 
* Syntax highlight <tt> tags in documentation output.
* Add support for BasicObject subclasses who implement their own #inspect (#1341)
* Fix 'include RSpec::Matchers' at the top-level (#1277)
* Add 'gem-readme' command, prints the README file bundled with a rubygem
* Add 'gem-search' command, searches for a gem with the rubygems.org HTTP API
* Fixed bug in the `cat` command where it was impossible to use line numbers \ 
with files ([#1349](https://github.com/pry/pry/issues/1349))
* Fixed uncaught Errno::EOPNOTSUPP exception when $stdout is a socket \ 
* Display a warning when you cd'ed inside a C object and executed 'show-source' \ 
without arguments ([#691](https://github.com/pry/pry/issues/691))
* Make the stagger_output method more reliable by reusing possibly available Pry \ 
instance ([#1364](https://github.com/pry/pry/pull/1364))
* Make the 'gem-install' message less confusing by removing backticks \ 
* Fixed error when Pry was trying to load incompatible versions of plugins \ 
* Fixed bug when `hist --clear` led to ArgumentError \ 
* Fixed the "uninitialized constant Pry::ObjectPath::StringScanner" \ 
exception during autocomplete ([#1330](https://github.com/pry/pry/issues/1330))
* Secured usage of colours with special characters (RL_PROMPT_START_IGNORE and \ 
RL_PROMPT_END_IGNORE) in Pry::Helpers::Text \ 
([#493](https://github.com/pry/pry/issues/493#i … t-39232771))
* Fixed regression with `pry -e` when it messes the terminal \ 
* Fixed regression with space prefixes of expressions \ 
* Introduced the new way to define hooks for commands (with \ 
`Pry.hooks.add_hook("{before,after}_commandName")`). The old way is \ 
deprecated, but still supported (with `Pry.commands.{before,after}_command`) \ 
* Removed old API's using `Pry::Hooks.from_hash` altogether
* Removed hints on Foreman support (see \ 
* Fixed support for the tee command ([#1334](https://github.com/pry/pry/issues/1334))
* Implemented support for CDPATH for ShellCommand \ 
([#1433](https://github.com/pry/pry/issues/1433), \ 
* `Pry::CLI.parse_options` does not start Pry anymore \ 
* The gem uses CPU-less platforms for Windows now \ 
* Add `Pry::Config::Memoization` to make it easier to implement your own \ 
`Pry::Config::Default` class.([#1503](https://github.com/pry/pry/pull/1503/))
* Lazy load the config defaults for `Pry.config.history` and `Pry.config.gist`.
   2016-11-19 15:38:04 by Takahiro Kambe | Files touched by this commit (6)
Log message:
Remove RUBY_RDOC_VERSION since All RUBY_VERSION_DEFAULT versions of Ruby
are satisfy minimum RUBY_RDOC_VERSION now.
   2016-10-17 16:30:35 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-pry to 0.10.4.

* Clean up warnings.
   2015-12-12 15:50:16 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-pry to 0.10.3.

### 0.10.3

* cherry-pick 0d1d72b and e0e5c75 to fix the install of Pry on Windows.
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-10-04 15:02:20 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-pry to 0.10.2.

### 0.10.2

* cherry-pick c2ed9ec135bd791a32c70fbe05cc0508ea17c4040e from master (fix inf. \ 
loop with prepended methods source retrieval)
* Update some specs for recent ruby versions  (2.2+)
   2015-02-04 16:33:12 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-pry to 0.10.1.

Changes are too many to write here, please refer CHANGELOG.md file.
   2014-09-23 10:51:00 by Filip Hajny | Files touched by this commit (1)
Log message:
Needs rdoc 4.0.0 or newer. Fixes build with RUBY_VERSION_DEFAULT=193,
no change on newer Ruby versions.