diff options
author | taca <taca@pkgsrc.org> | 2017-03-20 12:48:32 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2017-03-20 12:48:32 +0000 |
commit | 43b382bc84861377681bca755fe3ad53679f849f (patch) | |
tree | 5a50f45a442faab640888dbd30fac2f1687cdea2 | |
parent | 1c739c0274497dc8147da04f3dcb847c36ae7334 (diff) | |
download | pkgsrc-43b382bc84861377681bca755fe3ad53679f849f.tar.gz |
Update ruby-thor to 0.19.4.
* pkgsrc change: add pkg_alternatives support.
0.19.4, release 2016-11-28
* Rename Thor::Base#thor_reserved_word? to #is_thor_reserved_word?
0.19.3, release 2016-11-27
* Output a warning instead of raising an exception when a default option value
doesn't match its specified type
0.19.2, release 2016-11-26
* Fix bug with handling of colors passed to ask (and methods like yes? and no?
which it underpins)
* Allow numeric arguments to be negative
* Ensure that default option values are of the specified type (e.g. you can't
specify "foo" as the default for a numeric option), but make symbols and
strings interchangeable
* Add Thor::Shell::Basic#indent method for intending output
* Fix remove_command for an inherited command (see #451)
* Allow hash arguments to only have each key provided once (see #455)
* Allow commands to disable class options, for instance for "help" commands
(see #363)
* Do not generate a negative option (--no-no-foo) for already negative boolean
options (--no-foo)
* Improve compatibility of Thor::CoreExt::HashWithIndifferentAccess with Ruby
standard library Hash
* Allow specifying a custom binding for template evaluation (e.g. #key? and
#fetch)
* Fix support for subcommand-specific "help"s
* Use a string buffer when handling ERB for Ruby 2.3 compatibility
* Update dependencies
-rw-r--r-- | devel/ruby-thor/ALTERNATIVES | 1 | ||||
-rw-r--r-- | devel/ruby-thor/Makefile | 6 | ||||
-rw-r--r-- | devel/ruby-thor/PLIST | 77 | ||||
-rw-r--r-- | devel/ruby-thor/distinfo | 10 |
4 files changed, 13 insertions, 81 deletions
diff --git a/devel/ruby-thor/ALTERNATIVES b/devel/ruby-thor/ALTERNATIVES new file mode 100644 index 00000000000..63a38a34801 --- /dev/null +++ b/devel/ruby-thor/ALTERNATIVES @@ -0,0 +1 @@ +bin/thor @PREFIX@/bin/thor@RUBY_SUFFIX@ diff --git a/devel/ruby-thor/Makefile b/devel/ruby-thor/Makefile index c3aac4b305d..68e42ce755b 100644 --- a/devel/ruby-thor/Makefile +++ b/devel/ruby-thor/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2014/08/27 00:04:19 schmonz Exp $ +# $NetBSD: Makefile,v 1.8 2017/03/20 12:48:32 taca Exp $ -DISTNAME= thor-0.19.1 +DISTNAME= thor-0.19.4 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org @@ -10,5 +10,7 @@ LICENSE= mit CONFLICTS+= ruby[1-9][0-9]-thor-[0-9]* +RUBYGEM_OPTIONS+= --format-executable + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-thor/PLIST b/devel/ruby-thor/PLIST index 3dc5cf7018b..fc3297d581f 100644 --- a/devel/ruby-thor/PLIST +++ b/devel/ruby-thor/PLIST @@ -1,11 +1,11 @@ -@comment $NetBSD: PLIST,v 1.6 2014/08/27 00:04:19 schmonz Exp $ -bin/thor +@comment $NetBSD: PLIST,v 1.7 2017/03/20 12:48:32 taca Exp $ +bin/thor${RUBY_SUFFIX} ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.document ${GEM_LIBDIR}/CHANGELOG.md +${GEM_LIBDIR}/CONTRIBUTING.md ${GEM_LIBDIR}/LICENSE.md ${GEM_LIBDIR}/README.md -${GEM_LIBDIR}/Thorfile ${GEM_LIBDIR}/bin/thor ${GEM_LIBDIR}/lib/thor.rb ${GEM_LIBDIR}/lib/thor/actions.rb @@ -39,76 +39,5 @@ ${GEM_LIBDIR}/lib/thor/shell/color.rb ${GEM_LIBDIR}/lib/thor/shell/html.rb ${GEM_LIBDIR}/lib/thor/util.rb ${GEM_LIBDIR}/lib/thor/version.rb -${GEM_LIBDIR}/spec/actions/create_file_spec.rb -${GEM_LIBDIR}/spec/actions/create_link_spec.rb -${GEM_LIBDIR}/spec/actions/directory_spec.rb -${GEM_LIBDIR}/spec/actions/empty_directory_spec.rb -${GEM_LIBDIR}/spec/actions/file_manipulation_spec.rb -${GEM_LIBDIR}/spec/actions/inject_into_file_spec.rb -${GEM_LIBDIR}/spec/actions_spec.rb -${GEM_LIBDIR}/spec/base_spec.rb -${GEM_LIBDIR}/spec/command_spec.rb -${GEM_LIBDIR}/spec/core_ext/hash_with_indifferent_access_spec.rb -${GEM_LIBDIR}/spec/core_ext/ordered_hash_spec.rb -${GEM_LIBDIR}/spec/exit_condition_spec.rb -${GEM_LIBDIR}/spec/fixtures/application.rb -${GEM_LIBDIR}/spec/fixtures/app{1}/README -${GEM_LIBDIR}/spec/fixtures/bundle/execute.rb -${GEM_LIBDIR}/spec/fixtures/bundle/main.thor -${GEM_LIBDIR}/spec/fixtures/command.thor -${GEM_LIBDIR}/spec/fixtures/doc/%file_name%.rb.tt -${GEM_LIBDIR}/spec/fixtures/doc/COMMENTER -${GEM_LIBDIR}/spec/fixtures/doc/README -${GEM_LIBDIR}/spec/fixtures/doc/block_helper.rb -${GEM_LIBDIR}/spec/fixtures/doc/config.rb -${GEM_LIBDIR}/spec/fixtures/doc/config.yaml.tt -${GEM_LIBDIR}/spec/fixtures/doc/excluding/%file_name%.rb.tt -${GEM_LIBDIR}/spec/fixtures/enum.thor -${GEM_LIBDIR}/spec/fixtures/group.thor -${GEM_LIBDIR}/spec/fixtures/invoke.thor -${GEM_LIBDIR}/spec/fixtures/path with spaces -${GEM_LIBDIR}/spec/fixtures/preserve/script.sh -${GEM_LIBDIR}/spec/fixtures/script.thor -${GEM_LIBDIR}/spec/fixtures/subcommand.thor -${GEM_LIBDIR}/spec/group_spec.rb -${GEM_LIBDIR}/spec/helper.rb -${GEM_LIBDIR}/spec/invocation_spec.rb -${GEM_LIBDIR}/spec/line_editor/basic_spec.rb -${GEM_LIBDIR}/spec/line_editor/readline_spec.rb -${GEM_LIBDIR}/spec/line_editor_spec.rb -${GEM_LIBDIR}/spec/parser/argument_spec.rb -${GEM_LIBDIR}/spec/parser/arguments_spec.rb -${GEM_LIBDIR}/spec/parser/option_spec.rb -${GEM_LIBDIR}/spec/parser/options_spec.rb -${GEM_LIBDIR}/spec/quality_spec.rb -${GEM_LIBDIR}/spec/rake_compat_spec.rb -${GEM_LIBDIR}/spec/register_spec.rb -${GEM_LIBDIR}/spec/runner_spec.rb -${GEM_LIBDIR}/spec/sandbox/application.rb -${GEM_LIBDIR}/spec/sandbox/app{1}/README -${GEM_LIBDIR}/spec/sandbox/bundle/execute.rb -${GEM_LIBDIR}/spec/sandbox/bundle/main.thor -${GEM_LIBDIR}/spec/sandbox/command.thor -${GEM_LIBDIR}/spec/sandbox/doc/%file_name%.rb.tt -${GEM_LIBDIR}/spec/sandbox/doc/COMMENTER -${GEM_LIBDIR}/spec/sandbox/doc/README -${GEM_LIBDIR}/spec/sandbox/doc/block_helper.rb -${GEM_LIBDIR}/spec/sandbox/doc/config.rb -${GEM_LIBDIR}/spec/sandbox/doc/config.yaml.tt -${GEM_LIBDIR}/spec/sandbox/doc/excluding/%file_name%.rb.tt -${GEM_LIBDIR}/spec/sandbox/enum.thor -${GEM_LIBDIR}/spec/sandbox/group.thor -${GEM_LIBDIR}/spec/sandbox/invoke.thor -${GEM_LIBDIR}/spec/sandbox/path with spaces -${GEM_LIBDIR}/spec/sandbox/preserve/script.sh -${GEM_LIBDIR}/spec/sandbox/script.thor -${GEM_LIBDIR}/spec/sandbox/subcommand.thor -${GEM_LIBDIR}/spec/shell/basic_spec.rb -${GEM_LIBDIR}/spec/shell/color_spec.rb -${GEM_LIBDIR}/spec/shell/html_spec.rb -${GEM_LIBDIR}/spec/shell_spec.rb -${GEM_LIBDIR}/spec/subcommand_spec.rb -${GEM_LIBDIR}/spec/thor_spec.rb -${GEM_LIBDIR}/spec/util_spec.rb ${GEM_LIBDIR}/thor.gemspec ${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-thor/distinfo b/devel/ruby-thor/distinfo index 16843e47f3e..5ad9b71532c 100644 --- a/devel/ruby-thor/distinfo +++ b/devel/ruby-thor/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2015/11/03 03:29:31 agc Exp $ +$NetBSD: distinfo,v 1.8 2017/03/20 12:48:32 taca Exp $ -SHA1 (thor-0.19.1.gem) = 57d118b7ce6d51be06faab84c4ad5709977e098f -RMD160 (thor-0.19.1.gem) = 639ccda06f7581180a9891ba6fcb3f641ff2ae28 -SHA512 (thor-0.19.1.gem) = e0ca18fd9916a6e14572859607d1d99bc49da662161923192b642a959bb7f679d389af4a5e9f8b9fdf865cb8fc70227eaafe2ca30fd1be70ca076552cd2eb9af -Size (thor-0.19.1.gem) = 91648 bytes +SHA1 (thor-0.19.4.gem) = be200759879238e3d250c77bda59ca130d983ab2 +RMD160 (thor-0.19.4.gem) = cb8966862a6100ba410278fad33945991facd26d +SHA512 (thor-0.19.4.gem) = 3abb55bb1bf2299c92b7ba66afe0ef755d0ba07523ed8231037d9dd5af0a701c6129d3488a582a401a48048b84f4be3e35a52b473636d8dc647f2534dd1ba015 +Size (thor-0.19.4.gem) = 52736 bytes |