./devel/ruby-tty-prompt, Beautiful and powerful interactive command line prompt

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


Branch: CURRENT, Version: 0.23.1, Package name: ruby27-tty-prompt-0.23.1, Maintainer: pkgsrc-users

# TTY::Prompt

> A beautiful and powerful interactive command line prompt.

TTY::Prompt provides independent prompt component for TTY
(https://github.com/piotrmurach/tty) toolkit.

## Features

* Number of prompt types for gathering user input
* A robust API for validating complex inputs
* User friendly error feedback
* Intuitive DSL for creating complex menus
* Ability to page long menus
* Support for Linux, OS X, FreeBSD and Windows systems


Required to run:
[lang/ruby26-base] [devel/ruby-necromancer] [devel/ruby-pastel] [devel/ruby-tty-reader]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 48.5 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-04 17:10:45 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-tty-prompt: update to 0.23.1

0.23.1 - 2021-04-17

Changed

* Change validate to allow access to invalid input inside the message

Fixed

* Fix Choice#from to differentiate between no value being set and nil value
   2021-01-11 14:28:12 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-tty-prompt: update to 0.23.0

pkgsrc change: update HOMEPAGE to https://ttytoolkit.org/.

## [v0.23.0] - 2020-12-14

### Added
* Add the ability to provide an arbitrary array of values to Prompt::Slider by \ 
Katelyn Schiesser (@slowbro)

### Changed
* Change to allow default option to be choice name as well as index in select, \ 
multi_select and enum_select prompts

### Fixed
* Fix left and right key navigation while filtering choices in the #select and \ 
#multi_select prompts
   2020-09-14 02:16:20 by Takahiro Kambe | Files touched by this commit (3) | Package updated
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
   2020-03-15 18:12:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-tty-prompt: update to 0.21.0

Update ruby-tty-prompt to 0.21.0.

## [v0.21.0] - 2019-03-08

### Added
* Add :min option to #multi_select prompt by Katelyn Schiesser(@slowbro)

### Changed
* Change gemspec to remove test artifacts

### Fixed
* Fix :help_color option for multi_selct prompt by @robbystk
   2020-01-19 15:56:27 by Takahiro Kambe | Files touched by this commit (4)
Log message:
devel/ruby-tty-prompt: add version 0.20.0 package

Add ruby-tty-prompt version 0.20.0 package.

# TTY::Prompt

> A beautiful and powerful interactive command line prompt.

TTY::Prompt provides independent prompt component for TTY
(https://github.com/piotrmurach/tty) toolkit.

## Features

* Number of prompt types for gathering user input
* A robust API for validating complex inputs
* User friendly error feedback
* Intuitive DSL for creating complex menus
* Ability to page long menus
* Support for Linux, OS X, FreeBSD and Windows systems