pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-tty-prompt devel/ruby-tty-prompt: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/674e47731b0c
branches:  trunk
changeset: 439091:674e47731b0c
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Sep 14 00:16:20 2020 +0000

description:
devel/ruby-tty-prompt: update to 0.22.0

Update ruby-tty-prompt to 0.22.0.


## [v0.22.0] - 2020-07-20

### Added
* Add #slider format customization with a proc by Sven Pchnit(@2called-chaos)
* Add convert message customization
* Add conversion of input into Array, Hash or URI object
* Add callable objects as possible values in :active_color and :help_color
* Add shortcuts to select of all/reverse choices in #multi_select prompt
* Add :help option to #slider prompt
* Add :quiet option to remove final prompt output by Katelyn Schiesser (@slowbro)
* Add :show_help option to control help display in #select, #multi_select, #enum_select
  and #slider prompts

### Changed
* Changed question :validation option to :validate by Sven Pachnit(@2called-chaos)
* Change ConverterRegistry to store only proc values and simplify interface
* Change Converters to stop raising errors and print console error messages instead
* Change :range conversion to handle float numbers
* Change yes?/no? prompt to infer default value from words and raise when
  no boolean can be deduced
* Change Prompt#new to use keyword arguments
* Change #select/#multi_select prompts default help text
* Change #multi_select to preserve original ordering in returned answers
* Change to remove necromancer dependency
* Change TTY::TestPrompt to TTY::Prompt::Test
* Change #select,#multi_select & #enum_select to allow mix of options and block parameters configuration
* Change to allow filtering through symbol choice names
* Change all errors to inherit from common Error class

### Fixed
* Fix multiline prompt to return default value when no input provided
* Fix color option overriding in say, ok, error and warn prompts
* Fix Prompt#inspect format to display all public attributes

diffstat:

 devel/ruby-tty-prompt/Makefile |   9 ++++-----
 devel/ruby-tty-prompt/PLIST    |   8 +++++---
 devel/ruby-tty-prompt/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 13 deletions(-)

diffs (83 lines):

diff -r 9c4c478fb736 -r 674e47731b0c devel/ruby-tty-prompt/Makefile
--- a/devel/ruby-tty-prompt/Makefile    Mon Sep 14 00:15:12 2020 +0000
+++ b/devel/ruby-tty-prompt/Makefile    Mon Sep 14 00:16:20 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/03/15 17:12:59 taca Exp $
+# $NetBSD: Makefile,v 1.3 2020/09/14 00:16:20 taca Exp $
 
-DISTNAME=      tty-prompt-0.21.0
+DISTNAME=      tty-prompt-0.22.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,9 +8,8 @@
 COMMENT=       Beautiful and powerful interactive command line prompt
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-necromancer>=0.6:../../devel/ruby-necromancer
-DEPENDS+=      ${RUBY_PKGPREFIX}-pastel>=0.7.0<0.8:../../devel/ruby-pastel
-DEPENDS+=      ${RUBY_PKGPREFIX}-tty-reader>=0.7.0<0.8:../../devel/ruby-tty-reader
+DEPENDS+=      ${RUBY_PKGPREFIX}-pastel>=0.8<1:../../devel/ruby-pastel
+DEPENDS+=      ${RUBY_PKGPREFIX}-tty-reader>=0.8<1:../../devel/ruby-tty-reader
 
 USE_LANGUAGES= # none
 
diff -r 9c4c478fb736 -r 674e47731b0c devel/ruby-tty-prompt/PLIST
--- a/devel/ruby-tty-prompt/PLIST       Mon Sep 14 00:15:12 2020 +0000
+++ b/devel/ruby-tty-prompt/PLIST       Mon Sep 14 00:16:20 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/03/15 17:12:59 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/09/14 00:16:20 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/LICENSE.txt
@@ -10,17 +10,18 @@
 ${GEM_LIBDIR}/lib/tty/prompt/choice.rb
 ${GEM_LIBDIR}/lib/tty/prompt/choices.rb
 ${GEM_LIBDIR}/lib/tty/prompt/confirm_question.rb
+${GEM_LIBDIR}/lib/tty/prompt/const.rb
 ${GEM_LIBDIR}/lib/tty/prompt/converter_dsl.rb
 ${GEM_LIBDIR}/lib/tty/prompt/converter_registry.rb
 ${GEM_LIBDIR}/lib/tty/prompt/converters.rb
 ${GEM_LIBDIR}/lib/tty/prompt/distance.rb
 ${GEM_LIBDIR}/lib/tty/prompt/enum_list.rb
+${GEM_LIBDIR}/lib/tty/prompt/errors.rb
 ${GEM_LIBDIR}/lib/tty/prompt/evaluator.rb
 ${GEM_LIBDIR}/lib/tty/prompt/expander.rb
 ${GEM_LIBDIR}/lib/tty/prompt/keypress.rb
 ${GEM_LIBDIR}/lib/tty/prompt/list.rb
 ${GEM_LIBDIR}/lib/tty/prompt/mask_question.rb
-${GEM_LIBDIR}/lib/tty/prompt/messages.rb
 ${GEM_LIBDIR}/lib/tty/prompt/multi_list.rb
 ${GEM_LIBDIR}/lib/tty/prompt/multiline.rb
 ${GEM_LIBDIR}/lib/tty/prompt/paginator.rb
@@ -29,12 +30,13 @@
 ${GEM_LIBDIR}/lib/tty/prompt/question/modifier.rb
 ${GEM_LIBDIR}/lib/tty/prompt/question/validation.rb
 ${GEM_LIBDIR}/lib/tty/prompt/result.rb
+${GEM_LIBDIR}/lib/tty/prompt/selected_choices.rb
 ${GEM_LIBDIR}/lib/tty/prompt/slider.rb
 ${GEM_LIBDIR}/lib/tty/prompt/statement.rb
 ${GEM_LIBDIR}/lib/tty/prompt/suggestion.rb
 ${GEM_LIBDIR}/lib/tty/prompt/symbols.rb
+${GEM_LIBDIR}/lib/tty/prompt/test.rb
 ${GEM_LIBDIR}/lib/tty/prompt/timer.rb
 ${GEM_LIBDIR}/lib/tty/prompt/utils.rb
 ${GEM_LIBDIR}/lib/tty/prompt/version.rb
-${GEM_LIBDIR}/lib/tty/test_prompt.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 9c4c478fb736 -r 674e47731b0c devel/ruby-tty-prompt/distinfo
--- a/devel/ruby-tty-prompt/distinfo    Mon Sep 14 00:15:12 2020 +0000
+++ b/devel/ruby-tty-prompt/distinfo    Mon Sep 14 00:16:20 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/03/15 17:12:59 taca Exp $
+$NetBSD: distinfo,v 1.3 2020/09/14 00:16:20 taca Exp $
 
-SHA1 (tty-prompt-0.21.0.gem) = 3a5de96e4638b2e6a5860c8d04f31f6740734331
-RMD160 (tty-prompt-0.21.0.gem) = 9100386dca168ccdefe768c3bcaca44bcc398d97
-SHA512 (tty-prompt-0.21.0.gem) = cca5b2fadfb369e9d7a4bb6020bc59550a9c78ebff06936e1ae98674f8ee17e5b4cc43d627429ddf2c245ea032992cb6d6323a06502ec893d170d48f31a3024e
-Size (tty-prompt-0.21.0.gem) = 44544 bytes
+SHA1 (tty-prompt-0.22.0.gem) = 9dddea829057a76eff9b4845b0135fe75f1e3be6
+RMD160 (tty-prompt-0.22.0.gem) = f0998c061855e5faa9df583922807b14b5a6fa94
+SHA512 (tty-prompt-0.22.0.gem) = d55b0b36486899380f50ed27cce245db72e48b3623ee60c5298b1be976d9358de8a59baa716f55b983af94edf03096e6dfa9b3210a7aac06e522cacbd1ef60c8
+Size (tty-prompt-0.22.0.gem) = 48640 bytes



Home | Main Index | Thread Index | Old Index