./devel/ruby-thor, Scripting framework that replaces rake, sake and rubigen

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


Branch: CURRENT, Version: 1.1.0, Package name: ruby26-thor-1.1.0, Maintainer: pkgsrc-users

Thor is a simple and efficient tool for building self-documenting
command line utilities. It removes the pain of parsing command line
options, writing "USAGE:" banners, and can also be used as an
alternative to the [Rake](http://github.com/jimweirich/rake) build
tool. The syntax is Rake-like, so it should be familiar to most Rake
users.


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a016bf22c8759a819e44364cb58727d502894e17
RMD160: 79a54615da513e4ebdb5d34c3477871fa0de6725
Filesize: 55.5 KB

Version history: (Expand)


CVS history: (Expand)


   2021-01-26 16:33:05 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-thor: update to 1.1.0

1.1.0 (2021-01-20)

* Don't use ANSI colors when terminal is dumb.
* Ensure default option/argument is not erroneously aliased.
* Fixes a bug in the calculation of the print_wrapped method.
* Obey :mute and options[:quiet] in Shell#say.
* Support Ruby 3.0.
* Add force option to the gsub_file action.
   2021-01-13 16:11:03 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
devel/ruby-thor: remove CONFLICTS

Remove CONFLICTS since add pkg_alternatives support.

Bump PKGREVISION.
   2020-03-24 19:30:19 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.
   2018-12-17 15:57:05 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-thor: update to 0.20.3

# 0.20.3
* Support old versions of `did_you_mean`.

# 0.20.2
* Fix `did_you_mean` support.
   2017-09-10 15:36:01 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-thor to 0.20.0.

0.20.0							2017/08/16

* Add check_default_type! to check if the default value of an option matches
  the defined type. It removes the warning on usage and gives the command
  authors the possibility to check for programming errors.

* Add disable_required_check! to disable check for required options in some
  commands. It is a substitute of disable_class_options that was not working
  as intended.

* Add inject_into_module.
   2017-03-20 13:48:32 by Takahiro Kambe | Files touched by this commit (4) | Package updated
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
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

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.
   2014-08-27 02:04:19 by Amitai Schlair | Files touched by this commit (3) | Package updated
Log message:
Update to 0.19.1. No changelog provided.