pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-thor



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Mar 20 12:48:32 UTC 2017

Modified Files:
        pkgsrc/devel/ruby-thor: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/ruby-thor: ALTERNATIVES

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-thor/ALTERNATIVES
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/ruby-thor/Makefile \
    pkgsrc/devel/ruby-thor/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-thor/PLIST

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

Modified files:

Index: pkgsrc/devel/ruby-thor/Makefile
diff -u pkgsrc/devel/ruby-thor/Makefile:1.7 pkgsrc/devel/ruby-thor/Makefile:1.8
--- pkgsrc/devel/ruby-thor/Makefile:1.7 Wed Aug 27 00:04:19 2014
+++ pkgsrc/devel/ruby-thor/Makefile     Mon Mar 20 12:48:32 2017
@@ -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@localhost
@@ -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"
Index: pkgsrc/devel/ruby-thor/distinfo
diff -u pkgsrc/devel/ruby-thor/distinfo:1.7 pkgsrc/devel/ruby-thor/distinfo:1.8
--- pkgsrc/devel/ruby-thor/distinfo:1.7 Tue Nov  3 03:29:31 2015
+++ pkgsrc/devel/ruby-thor/distinfo     Mon Mar 20 12:48:32 2017
@@ -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

Index: pkgsrc/devel/ruby-thor/PLIST
diff -u pkgsrc/devel/ruby-thor/PLIST:1.6 pkgsrc/devel/ruby-thor/PLIST:1.7
--- pkgsrc/devel/ruby-thor/PLIST:1.6    Wed Aug 27 00:04:19 2014
+++ pkgsrc/devel/ruby-thor/PLIST        Mon Mar 20 12:48:32 2017
@@ -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

Added files:

Index: pkgsrc/devel/ruby-thor/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/ruby-thor/ALTERNATIVES:1.1
--- /dev/null   Mon Mar 20 12:48:32 2017
+++ pkgsrc/devel/ruby-thor/ALTERNATIVES Mon Mar 20 12:48:32 2017
@@ -0,0 +1 @@
+bin/thor @PREFIX@/bin/thor@RUBY_SUFFIX@



Home | Main Index | Thread Index | Old Index