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 attributesdiff -r1.2 -r1.3 pkgsrc/devel/ruby-tty-prompt/Makefile
(taca)
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2020/03/15 17:12:59 taca Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2020/09/14 00:16:20 taca Exp $ | |
2 | 2 | |||
3 | DISTNAME= tty-prompt-0.21.0 | 3 | DISTNAME= tty-prompt-0.22.0 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | 5 | |||
6 | MAINTAINER= pkgsrc-users@NetBSD.org | 6 | MAINTAINER= pkgsrc-users@NetBSD.org | |
7 | HOMEPAGE= https://piotrmurach.github.io/tty | 7 | HOMEPAGE= https://piotrmurach.github.io/tty | |
8 | COMMENT= Beautiful and powerful interactive command line prompt | 8 | COMMENT= Beautiful and powerful interactive command line prompt | |
9 | LICENSE= mit | 9 | LICENSE= mit | |
10 | 10 | |||
11 | DEPENDS+= ${RUBY_PKGPREFIX}-necromancer>=0.6:../../devel/ruby-necromancer | 11 | DEPENDS+= ${RUBY_PKGPREFIX}-pastel>=0.8<1:../../devel/ruby-pastel | |
12 | DEPENDS+= ${RUBY_PKGPREFIX}-pastel>=0.7.0<0.8:../../devel/ruby-pastel | 12 | DEPENDS+= ${RUBY_PKGPREFIX}-tty-reader>=0.8<1:../../devel/ruby-tty-reader | |
13 | DEPENDS+= ${RUBY_PKGPREFIX}-tty-reader>=0.7.0<0.8:../../devel/ruby-tty-reader | |||
14 | 13 | |||
15 | USE_LANGUAGES= # none | 14 | USE_LANGUAGES= # none | |
16 | 15 | |||
17 | OVERRIDE_GEMSPEC= necromancer>=0.6 | 16 | OVERRIDE_GEMSPEC= necromancer>=0.6 | |
18 | 17 | |||
19 | .include "../../lang/ruby/gem.mk" | 18 | .include "../../lang/ruby/gem.mk" | |
20 | .include "../../mk/bsd.pkg.mk" | 19 | .include "../../mk/bsd.pkg.mk" |
@@ -1,40 +1,42 @@ | @@ -1,40 +1,42 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2020/03/15 17:12:59 taca Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2020/09/14 00:16:20 taca Exp $ | |
2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | 2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | |
3 | ${GEM_LIBDIR}/CHANGELOG.md | 3 | ${GEM_LIBDIR}/CHANGELOG.md | |
4 | ${GEM_LIBDIR}/LICENSE.txt | 4 | ${GEM_LIBDIR}/LICENSE.txt | |
5 | ${GEM_LIBDIR}/README.md | 5 | ${GEM_LIBDIR}/README.md | |
6 | ${GEM_LIBDIR}/lib/tty-prompt.rb | 6 | ${GEM_LIBDIR}/lib/tty-prompt.rb | |
7 | ${GEM_LIBDIR}/lib/tty/prompt.rb | 7 | ${GEM_LIBDIR}/lib/tty/prompt.rb | |
8 | ${GEM_LIBDIR}/lib/tty/prompt/answers_collector.rb | 8 | ${GEM_LIBDIR}/lib/tty/prompt/answers_collector.rb | |
9 | ${GEM_LIBDIR}/lib/tty/prompt/block_paginator.rb | 9 | ${GEM_LIBDIR}/lib/tty/prompt/block_paginator.rb | |
10 | ${GEM_LIBDIR}/lib/tty/prompt/choice.rb | 10 | ${GEM_LIBDIR}/lib/tty/prompt/choice.rb | |
11 | ${GEM_LIBDIR}/lib/tty/prompt/choices.rb | 11 | ${GEM_LIBDIR}/lib/tty/prompt/choices.rb | |
12 | ${GEM_LIBDIR}/lib/tty/prompt/confirm_question.rb | 12 | ${GEM_LIBDIR}/lib/tty/prompt/confirm_question.rb | |
13 | ${GEM_LIBDIR}/lib/tty/prompt/const.rb | |||
13 | ${GEM_LIBDIR}/lib/tty/prompt/converter_dsl.rb | 14 | ${GEM_LIBDIR}/lib/tty/prompt/converter_dsl.rb | |
14 | ${GEM_LIBDIR}/lib/tty/prompt/converter_registry.rb | 15 | ${GEM_LIBDIR}/lib/tty/prompt/converter_registry.rb | |
15 | ${GEM_LIBDIR}/lib/tty/prompt/converters.rb | 16 | ${GEM_LIBDIR}/lib/tty/prompt/converters.rb | |
16 | ${GEM_LIBDIR}/lib/tty/prompt/distance.rb | 17 | ${GEM_LIBDIR}/lib/tty/prompt/distance.rb | |
17 | ${GEM_LIBDIR}/lib/tty/prompt/enum_list.rb | 18 | ${GEM_LIBDIR}/lib/tty/prompt/enum_list.rb | |
19 | ${GEM_LIBDIR}/lib/tty/prompt/errors.rb | |||
18 | ${GEM_LIBDIR}/lib/tty/prompt/evaluator.rb | 20 | ${GEM_LIBDIR}/lib/tty/prompt/evaluator.rb | |
19 | ${GEM_LIBDIR}/lib/tty/prompt/expander.rb | 21 | ${GEM_LIBDIR}/lib/tty/prompt/expander.rb | |
20 | ${GEM_LIBDIR}/lib/tty/prompt/keypress.rb | 22 | ${GEM_LIBDIR}/lib/tty/prompt/keypress.rb | |
21 | ${GEM_LIBDIR}/lib/tty/prompt/list.rb | 23 | ${GEM_LIBDIR}/lib/tty/prompt/list.rb | |
22 | ${GEM_LIBDIR}/lib/tty/prompt/mask_question.rb | 24 | ${GEM_LIBDIR}/lib/tty/prompt/mask_question.rb | |
23 | ${GEM_LIBDIR}/lib/tty/prompt/messages.rb | |||
24 | ${GEM_LIBDIR}/lib/tty/prompt/multi_list.rb | 25 | ${GEM_LIBDIR}/lib/tty/prompt/multi_list.rb | |
25 | ${GEM_LIBDIR}/lib/tty/prompt/multiline.rb | 26 | ${GEM_LIBDIR}/lib/tty/prompt/multiline.rb | |
26 | ${GEM_LIBDIR}/lib/tty/prompt/paginator.rb | 27 | ${GEM_LIBDIR}/lib/tty/prompt/paginator.rb | |
27 | ${GEM_LIBDIR}/lib/tty/prompt/question.rb | 28 | ${GEM_LIBDIR}/lib/tty/prompt/question.rb | |
28 | ${GEM_LIBDIR}/lib/tty/prompt/question/checks.rb | 29 | ${GEM_LIBDIR}/lib/tty/prompt/question/checks.rb | |
29 | ${GEM_LIBDIR}/lib/tty/prompt/question/modifier.rb | 30 | ${GEM_LIBDIR}/lib/tty/prompt/question/modifier.rb | |
30 | ${GEM_LIBDIR}/lib/tty/prompt/question/validation.rb | 31 | ${GEM_LIBDIR}/lib/tty/prompt/question/validation.rb | |
31 | ${GEM_LIBDIR}/lib/tty/prompt/result.rb | 32 | ${GEM_LIBDIR}/lib/tty/prompt/result.rb | |
33 | ${GEM_LIBDIR}/lib/tty/prompt/selected_choices.rb | |||
32 | ${GEM_LIBDIR}/lib/tty/prompt/slider.rb | 34 | ${GEM_LIBDIR}/lib/tty/prompt/slider.rb | |
33 | ${GEM_LIBDIR}/lib/tty/prompt/statement.rb | 35 | ${GEM_LIBDIR}/lib/tty/prompt/statement.rb | |
34 | ${GEM_LIBDIR}/lib/tty/prompt/suggestion.rb | 36 | ${GEM_LIBDIR}/lib/tty/prompt/suggestion.rb | |
35 | ${GEM_LIBDIR}/lib/tty/prompt/symbols.rb | 37 | ${GEM_LIBDIR}/lib/tty/prompt/symbols.rb | |
38 | ${GEM_LIBDIR}/lib/tty/prompt/test.rb | |||
36 | ${GEM_LIBDIR}/lib/tty/prompt/timer.rb | 39 | ${GEM_LIBDIR}/lib/tty/prompt/timer.rb | |
37 | ${GEM_LIBDIR}/lib/tty/prompt/utils.rb | 40 | ${GEM_LIBDIR}/lib/tty/prompt/utils.rb | |
38 | ${GEM_LIBDIR}/lib/tty/prompt/version.rb | 41 | ${GEM_LIBDIR}/lib/tty/prompt/version.rb | |
39 | ${GEM_LIBDIR}/lib/tty/test_prompt.rb | |||
40 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec | 42 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2020/03/15 17:12:59 taca Exp $ | 1 | $NetBSD: distinfo,v 1.3 2020/09/14 00:16:20 taca Exp $ | |
2 | 2 | |||
3 | SHA1 (tty-prompt-0.21.0.gem) = 3a5de96e4638b2e6a5860c8d04f31f6740734331 | 3 | SHA1 (tty-prompt-0.22.0.gem) = 9dddea829057a76eff9b4845b0135fe75f1e3be6 | |
4 | RMD160 (tty-prompt-0.21.0.gem) = 9100386dca168ccdefe768c3bcaca44bcc398d97 | 4 | RMD160 (tty-prompt-0.22.0.gem) = f0998c061855e5faa9df583922807b14b5a6fa94 | |
5 | SHA512 (tty-prompt-0.21.0.gem) = cca5b2fadfb369e9d7a4bb6020bc59550a9c78ebff06936e1ae98674f8ee17e5b4cc43d627429ddf2c245ea032992cb6d6323a06502ec893d170d48f31a3024e | 5 | SHA512 (tty-prompt-0.22.0.gem) = d55b0b36486899380f50ed27cce245db72e48b3623ee60c5298b1be976d9358de8a59baa716f55b983af94edf03096e6dfa9b3210a7aac06e522cacbd1ef60c8 | |
6 | Size (tty-prompt-0.21.0.gem) = 44544 bytes | 6 | Size (tty-prompt-0.22.0.gem) = 48640 bytes |