pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/ruby-pry



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Mar 14 15:04:44 UTC 2018

Modified Files:
        pkgsrc/misc/ruby-pry: Makefile PLIST distinfo
Added Files:
        pkgsrc/misc/ruby-pry: ALTERNATIVES

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 below.

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 `Pry::Method::WeirdMethodLocator#find_method_in_superclass`
  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 `no_paging`,
  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. ([#1597](https://github.com/pry/pry/pull/1597))
* 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. ([#1588](https://github.com/pry/pry/pull/1588))
* Pry::ColorPrinter.pp: add `newline` argument and pass it on to PP. ([#1603](https://github.com/pry/pry/pull/1603))
* Use `less` or system pager pager on MS Windows if it is available. ([#1512](https://github.com/pry/pry/pull/1512))
* Add `Pry.configure` as an alternative to the current way of changing configuration options in `.pryrc` files. ([#1502](https://github.com/pry/pry/pull/1502))
* 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 ([#1450](https://github.com/pry/pry/issues/1450))
* 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 ([#1432](https://github.com/pry/pry/issues/1432))
* 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 ([#1352](https://github.com/pry/pry/issues/1352))
* 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 ([#1350](https://github.com/pry/pry/pull/1350))
* Fixed error when Pry was trying to load incompatible versions of plugins ([#1312](https://github.com/pry/pry/issues/1312))
* Fixed bug when `hist --clear` led to ArgumentError ([#1340](https://github.com/pry/pry/pull/1340))
* 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#issuecomment-39232771))
* Fixed regression with `pry -e` when it messes the terminal ([#1387](https://github.com/pry/pry/issues/1387))
* Fixed regression with space prefixes of expressions ([#1369](https://github.com/pry/pry/issues/1369))
* 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`) ([#651](https://github.com/pry/pry/issues/651))
* Removed old API's using `Pry::Hooks.from_hash` altogether
* Removed hints on Foreman support (see [this](https://github.com/ddollar/foreman/pull/536))
* 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), [#1434](https://github.com/pry/pry/issues/1434))
* `Pry::CLI.parse_options` does not start Pry anymore ([#1393](https://github.com/pry/pry/pull/1393))
* The gem uses CPU-less platforms for Windows now ([#1410](https://github.com/pry/pry/pull/1410))
* 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`.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/ruby-pry/ALTERNATIVES
cvs rdiff -u -r1.7 -r1.8 pkgsrc/misc/ruby-pry/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/ruby-pry/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/misc/ruby-pry/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/ruby-pry/Makefile
diff -u pkgsrc/misc/ruby-pry/Makefile:1.7 pkgsrc/misc/ruby-pry/Makefile:1.8
--- pkgsrc/misc/ruby-pry/Makefile:1.7   Sat Nov 19 14:38:03 2016
+++ pkgsrc/misc/ruby-pry/Makefile       Wed Mar 14 15:04:44 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2016/11/19 14:38:03 taca Exp $
+# $NetBSD: Makefile,v 1.8 2018/03/14 15:04:44 taca Exp $
 
-DISTNAME=      pry-0.10.4
+DISTNAME=      pry-0.11.3
 CATEGORIES=    misc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,9 +9,10 @@ COMMENT=       IRB alternative and runtime dev
 LICENSE=       mit
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
-DEPENDS+=      ${RUBY_PKGPREFIX}-method_source>=0.8.2<0.9:../../misc/ruby-method_source
-DEPENDS+=      ${RUBY_PKGPREFIX}-slop>=3.5.0<4.0:../../misc/ruby-slop
+DEPENDS+=      ${RUBY_PKGPREFIX}-method_source>=0.9.0<0.10:../../misc/ruby-method_source
 DEPENDS+=      ${RUBY_PKGPREFIX}-coderay>=1.1.0<2.0:../../textproc/ruby-coderay
 
+RUBYGEM_OPTIONS+=      --format-executable
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/ruby-pry/PLIST
diff -u pkgsrc/misc/ruby-pry/PLIST:1.2 pkgsrc/misc/ruby-pry/PLIST:1.3
--- pkgsrc/misc/ruby-pry/PLIST:1.2      Wed Feb  4 15:33:12 2015
+++ pkgsrc/misc/ruby-pry/PLIST  Wed Mar 14 15:04:44 2018
@@ -1,11 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2015/02/04 15:33:12 taca Exp $
-bin/pry
+@comment $NetBSD: PLIST,v 1.3 2018/03/14 15:04:44 taca Exp $
+bin/pry${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/bin/pry
 ${GEM_LIBDIR}/lib/pry.rb
+${GEM_LIBDIR}/lib/pry/basic_object.rb
 ${GEM_LIBDIR}/lib/pry/cli.rb
 ${GEM_LIBDIR}/lib/pry/code.rb
 ${GEM_LIBDIR}/lib/pry/code/code_file.rb
@@ -43,6 +44,8 @@ ${GEM_LIBDIR}/lib/pry/commands/gem_cd.rb
 ${GEM_LIBDIR}/lib/pry/commands/gem_install.rb
 ${GEM_LIBDIR}/lib/pry/commands/gem_list.rb
 ${GEM_LIBDIR}/lib/pry/commands/gem_open.rb
+${GEM_LIBDIR}/lib/pry/commands/gem_readme.rb
+${GEM_LIBDIR}/lib/pry/commands/gem_search.rb
 ${GEM_LIBDIR}/lib/pry/commands/gist.rb
 ${GEM_LIBDIR}/lib/pry/commands/help.rb
 ${GEM_LIBDIR}/lib/pry/commands/hist.rb
@@ -92,9 +95,11 @@ ${GEM_LIBDIR}/lib/pry/config.rb
 ${GEM_LIBDIR}/lib/pry/config/behavior.rb
 ${GEM_LIBDIR}/lib/pry/config/convenience.rb
 ${GEM_LIBDIR}/lib/pry/config/default.rb
+${GEM_LIBDIR}/lib/pry/config/memoization.rb
 ${GEM_LIBDIR}/lib/pry/core_extensions.rb
 ${GEM_LIBDIR}/lib/pry/editor.rb
 ${GEM_LIBDIR}/lib/pry/exceptions.rb
+${GEM_LIBDIR}/lib/pry/forwardable.rb
 ${GEM_LIBDIR}/lib/pry/helpers.rb
 ${GEM_LIBDIR}/lib/pry/helpers/base_helpers.rb
 ${GEM_LIBDIR}/lib/pry/helpers/command_helpers.rb
@@ -114,10 +119,10 @@ ${GEM_LIBDIR}/lib/pry/method.rb
 ${GEM_LIBDIR}/lib/pry/method/disowned.rb
 ${GEM_LIBDIR}/lib/pry/method/patcher.rb
 ${GEM_LIBDIR}/lib/pry/method/weird_method_locator.rb
-${GEM_LIBDIR}/lib/pry/module_candidate.rb
 ${GEM_LIBDIR}/lib/pry/object_path.rb
 ${GEM_LIBDIR}/lib/pry/output.rb
 ${GEM_LIBDIR}/lib/pry/pager.rb
+${GEM_LIBDIR}/lib/pry/platform.rb
 ${GEM_LIBDIR}/lib/pry/plugins.rb
 ${GEM_LIBDIR}/lib/pry/prompt.rb
 ${GEM_LIBDIR}/lib/pry/pry_class.rb
@@ -126,8 +131,18 @@ ${GEM_LIBDIR}/lib/pry/rbx_path.rb
 ${GEM_LIBDIR}/lib/pry/repl.rb
 ${GEM_LIBDIR}/lib/pry/repl_file_loader.rb
 ${GEM_LIBDIR}/lib/pry/rubygem.rb
+${GEM_LIBDIR}/lib/pry/slop.rb
+${GEM_LIBDIR}/lib/pry/slop/LICENSE
+${GEM_LIBDIR}/lib/pry/slop/commands.rb
+${GEM_LIBDIR}/lib/pry/slop/option.rb
 ${GEM_LIBDIR}/lib/pry/terminal.rb
-${GEM_LIBDIR}/lib/pry/test/helper.rb
+${GEM_LIBDIR}/lib/pry/testable.rb
+${GEM_LIBDIR}/lib/pry/testable/evalable.rb
+${GEM_LIBDIR}/lib/pry/testable/mockable.rb
+${GEM_LIBDIR}/lib/pry/testable/pry_tester.rb
+${GEM_LIBDIR}/lib/pry/testable/utility.rb
+${GEM_LIBDIR}/lib/pry/testable/variables.rb
 ${GEM_LIBDIR}/lib/pry/version.rb
 ${GEM_LIBDIR}/lib/pry/wrapped_module.rb
+${GEM_LIBDIR}/lib/pry/wrapped_module/candidate.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec

Index: pkgsrc/misc/ruby-pry/distinfo
diff -u pkgsrc/misc/ruby-pry/distinfo:1.6 pkgsrc/misc/ruby-pry/distinfo:1.7
--- pkgsrc/misc/ruby-pry/distinfo:1.6   Mon Oct 17 14:30:35 2016
+++ pkgsrc/misc/ruby-pry/distinfo       Wed Mar 14 15:04:44 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2016/10/17 14:30:35 taca Exp $
+$NetBSD: distinfo,v 1.7 2018/03/14 15:04:44 taca Exp $
 
-SHA1 (pry-0.10.4.gem) = 60f5a6b2a96137f62115400d9869d8618474c248
-RMD160 (pry-0.10.4.gem) = 93a7a589fe00164d762fe290c254d9ae0fb8bd3c
-SHA512 (pry-0.10.4.gem) = 8556708cf0ff718219a5feaf1ee58f0152c9d952af830f1892b4c854fac553f0fea29aea3b2d229d1d99b94bc6992693f87914bb78c38999153f4b61f931f106
-Size (pry-0.10.4.gem) = 136192 bytes
+SHA1 (pry-0.11.3.gem) = 10166421f0125ec21a583de46789026151039ef1
+RMD160 (pry-0.11.3.gem) = 0bd8df5cc378042624a2c1a21b6404dd86d8adbe
+SHA512 (pry-0.11.3.gem) = cfdcaf51319df3cf310392850f9ad6dd0ac80078536e20885957b4f433b23a8164906e373e1414b67e6b31dbdbd826e7d73a2527bb4fcf7102f4743415ac1533
+Size (pry-0.11.3.gem) = 151552 bytes

Added files:

Index: pkgsrc/misc/ruby-pry/ALTERNATIVES
diff -u /dev/null pkgsrc/misc/ruby-pry/ALTERNATIVES:1.1
--- /dev/null   Wed Mar 14 15:04:44 2018
+++ pkgsrc/misc/ruby-pry/ALTERNATIVES   Wed Mar 14 15:04:44 2018
@@ -0,0 +1 @@
+bin/pry @PREFIX@/bin/pry@RUBY_SUFFIX@



Home | Main Index | Thread Index | Old Index