pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-thor devel/ruby-thor: update to 1.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a925935a8832
branches:  trunk
changeset: 414276:a925935a8832
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 24 18:30:19 2020 +0000

description:
devel/ruby-thor: update to 1.0.1

Update ruby-thor to 1.0.1.


# 1.0.1
* Fix thor when `thor/base` and `thor/group` are required without `thor.rb`.
* Handle relative source path in `create_link`.

# 1.0.0
* Drop support to Ruby 1.8 and 1.9.
* Deprecate relying on default `exit_on_failure?`.
  In preparation to make Thor commands exit when there is a failure we are deprecating
  defining a command without defining what behavior is expected when there is a failure.

  To fix the deprecation you need to define a class method called `exit_on_failure?` returning

  `false` if you want the current behavior or `true` if you want the new behavior.
* Deprecate defining an option with the default value using a different type as defined in the option.
* Allow options to be repeatable. See #674.

diffstat:

 devel/ruby-thor/Makefile |   4 ++--
 devel/ruby-thor/PLIST    |   5 ++---
 devel/ruby-thor/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 10 deletions(-)

diffs (52 lines):

diff -r 73a30102c3ab -r a925935a8832 devel/ruby-thor/Makefile
--- a/devel/ruby-thor/Makefile  Tue Mar 24 18:28:11 2020 +0000
+++ b/devel/ruby-thor/Makefile  Tue Mar 24 18:30:19 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2018/12/17 14:57:05 taca Exp $
+# $NetBSD: Makefile,v 1.11 2020/03/24 18:30:19 taca Exp $
 
-DISTNAME=      thor-0.20.3
+DISTNAME=      thor-1.0.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 73a30102c3ab -r a925935a8832 devel/ruby-thor/PLIST
--- a/devel/ruby-thor/PLIST     Tue Mar 24 18:28:11 2020 +0000
+++ b/devel/ruby-thor/PLIST     Tue Mar 24 18:30:19 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2017/03/20 12:48:32 taca Exp $
+@comment $NetBSD: PLIST,v 1.8 2020/03/24 18:30:19 taca Exp $
 bin/thor${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.document
@@ -18,14 +18,13 @@
 ${GEM_LIBDIR}/lib/thor/base.rb
 ${GEM_LIBDIR}/lib/thor/command.rb
 ${GEM_LIBDIR}/lib/thor/core_ext/hash_with_indifferent_access.rb
-${GEM_LIBDIR}/lib/thor/core_ext/io_binary_read.rb
-${GEM_LIBDIR}/lib/thor/core_ext/ordered_hash.rb
 ${GEM_LIBDIR}/lib/thor/error.rb
 ${GEM_LIBDIR}/lib/thor/group.rb
 ${GEM_LIBDIR}/lib/thor/invocation.rb
 ${GEM_LIBDIR}/lib/thor/line_editor.rb
 ${GEM_LIBDIR}/lib/thor/line_editor/basic.rb
 ${GEM_LIBDIR}/lib/thor/line_editor/readline.rb
+${GEM_LIBDIR}/lib/thor/nested_context.rb
 ${GEM_LIBDIR}/lib/thor/parser.rb
 ${GEM_LIBDIR}/lib/thor/parser/argument.rb
 ${GEM_LIBDIR}/lib/thor/parser/arguments.rb
diff -r 73a30102c3ab -r a925935a8832 devel/ruby-thor/distinfo
--- a/devel/ruby-thor/distinfo  Tue Mar 24 18:28:11 2020 +0000
+++ b/devel/ruby-thor/distinfo  Tue Mar 24 18:30:19 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2018/12/17 14:57:05 taca Exp $
+$NetBSD: distinfo,v 1.11 2020/03/24 18:30:19 taca Exp $
 
-SHA1 (thor-0.20.3.gem) = 923d0cfe80a6d7d39e7211a3dab4a4b7589c9052
-RMD160 (thor-0.20.3.gem) = ad2ea220c4ab167e70f605b9134fba8ade5c8719
-SHA512 (thor-0.20.3.gem) = 4c834408321f4f13b4878ee0e57a1fcd9a2294faf6d4c8c52ed909c2f14634b7810e3a0bffa1920f37ccd7baced2ff103a06f679f653a133bd647ac1e9add522
-Size (thor-0.20.3.gem) = 55808 bytes
+SHA1 (thor-1.0.1.gem) = c3af15b03015939d5e87459ac56d6915e755c932
+RMD160 (thor-1.0.1.gem) = eb16bca2d94b7b13fa6edd7d1e6ed15c1f0071c0
+SHA512 (thor-1.0.1.gem) = 51560fabff2df52ff1d6745d419dfd3e26d58d79d36e2baa5a6aa9304a5ac0dc539abf956cfa9d8c1ad882586aa7e9edc886ea4cdc9a9574315befaf5dfb91b0
+Size (thor-1.0.1.gem) = 56320 bytes



Home | Main Index | Thread Index | Old Index