pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-tty-prompt



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Sep 14 00:16:20 UTC 2020

Modified Files:
        pkgsrc/devel/ruby-tty-prompt: Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-tty-prompt/Makefile \
    pkgsrc/devel/ruby-tty-prompt/PLIST pkgsrc/devel/ruby-tty-prompt/distinfo

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-tty-prompt/Makefile
diff -u pkgsrc/devel/ruby-tty-prompt/Makefile:1.2 pkgsrc/devel/ruby-tty-prompt/Makefile:1.3
--- pkgsrc/devel/ruby-tty-prompt/Makefile:1.2   Sun Mar 15 17:12:59 2020
+++ pkgsrc/devel/ruby-tty-prompt/Makefile       Mon Sep 14 00:16:20 2020
@@ -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 @@ HOMEPAGE=       https://piotrmurach.github.io/
 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
 
Index: pkgsrc/devel/ruby-tty-prompt/PLIST
diff -u pkgsrc/devel/ruby-tty-prompt/PLIST:1.2 pkgsrc/devel/ruby-tty-prompt/PLIST:1.3
--- pkgsrc/devel/ruby-tty-prompt/PLIST:1.2      Sun Mar 15 17:12:59 2020
+++ pkgsrc/devel/ruby-tty-prompt/PLIST  Mon Sep 14 00:16:20 2020
@@ -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/block_pagin
 ${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/ch
 ${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
Index: pkgsrc/devel/ruby-tty-prompt/distinfo
diff -u pkgsrc/devel/ruby-tty-prompt/distinfo:1.2 pkgsrc/devel/ruby-tty-prompt/distinfo:1.3
--- pkgsrc/devel/ruby-tty-prompt/distinfo:1.2   Sun Mar 15 17:12:59 2020
+++ pkgsrc/devel/ruby-tty-prompt/distinfo       Mon Sep 14 00:16:20 2020
@@ -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