./devel/ruby-necromancer, Conversion from one object type to another

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


Branch: CURRENT, Version: 0.7.0, Package name: ruby27-necromancer-0.7.0, Maintainer: pkgsrc-users

Necromancer

> Conversion from one object type to another with a bit of black magic.

Necromancer provides independent type conversion component for [TTY]
(https://github.com/piotrmurach/tty) toolkit.

## Motivation

Conversion between Ruby core types frequently comes up in projects but is
solved by half-baked solutions. This library aims to provide an independent
and extensible API to support a robust and generic way to convert between
core Ruby types.

## Features

* Simple and expressive API
* Ability to specify own converters
* Ability to compose conversions out of simpler ones
* Support conversion of custom defined types
* Ability to specify strict conversion mode


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 16 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-01-10 16:21:29 by Takahiro Kambe | Files touched by this commit (4) | Package updated
Log message:
devel/ruby-necromancer: update to 0.7.0

0.7.0 (2020-12-29)

Added

* Add HashConverters for transforming string into hash of string, integer,
  float or boolean values
* Add converters for transforming string to array of booleans, integers,
  floats and numeric

Changed

* Change StringToRange converter to work with decimal numbers and spaces
* Change :strict to be a keyword argument
* Change StringToNumeric converter to allow numbers with space characters
   2020-03-15 18:09:41 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-necromancer: update to 0.6.0

Update ruby-necromancer to 0.6.0.

## [v0.6.0] - 2020-03-08

### Changed
* Change gemspec to remove test artifacts
   2020-01-16 16:39:38 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-necromancer: update to 0.5.1

Update ruby-necromancer to 0.5.1.

## [v0.5.1] - 2019-11-24

### Changed
* Change gemspec to include metadata
   2019-11-12 16:24:44 by Takahiro Kambe | Files touched by this commit (4)
Log message:
devel/ruby-necromancer: add version 0.5.0 package

Add ruby-necromancer version 0.5.0 package.

Necromancer

> Conversion from one object type to another with a bit of black magic.

Necromancer provides independent type conversion component for [TTY]
(https://github.com/piotrmurach/tty) toolkit.

## Motivation

Conversion between Ruby core types frequently comes up in projects but is solved \ 
by half-baked solutions. This library aims to provide an independent and \ 
extensible API to support a robust and generic way to convert between core Ruby \ 
types.

## Features

* Simple and expressive API
* Ability to specify own converters
* Ability to compose conversions out of simpler ones
* Support conversion of custom defined types
* Ability to specify strict conversion mode