pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-necromancer devel/ruby-necromancer: add ver...
details: https://anonhg.NetBSD.org/pkgsrc/rev/425c112157ca
branches: trunk
changeset: 417513:425c112157ca
user: taca <taca%pkgsrc.org@localhost>
date: Tue Nov 12 15:24:44 2019 +0000
description:
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
diffstat:
devel/ruby-necromancer/DESCR | 18 ++++++++++++++
devel/ruby-necromancer/Makefile | 14 +++++++++++
devel/ruby-necromancer/PLIST | 50 +++++++++++++++++++++++++++++++++++++++++
devel/ruby-necromancer/distinfo | 6 ++++
4 files changed, 88 insertions(+), 0 deletions(-)
diffs (104 lines):
diff -r 2da06ab7b465 -r 425c112157ca devel/ruby-necromancer/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-necromancer/DESCR Tue Nov 12 15:24:44 2019 +0000
@@ -0,0 +1,18 @@
+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
diff -r 2da06ab7b465 -r 425c112157ca devel/ruby-necromancer/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-necromancer/Makefile Tue Nov 12 15:24:44 2019 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2019/11/12 15:24:44 taca Exp $
+
+DISTNAME= necromancer-0.5.0
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/piotrmurach/necromancer
+COMMENT= Conversion from one object type to another
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2da06ab7b465 -r 425c112157ca devel/ruby-necromancer/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-necromancer/PLIST Tue Nov 12 15:24:44 2019 +0000
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/12 15:24:44 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/necromancer.rb
+${GEM_LIBDIR}/lib/necromancer/configuration.rb
+${GEM_LIBDIR}/lib/necromancer/context.rb
+${GEM_LIBDIR}/lib/necromancer/conversion_target.rb
+${GEM_LIBDIR}/lib/necromancer/conversions.rb
+${GEM_LIBDIR}/lib/necromancer/converter.rb
+${GEM_LIBDIR}/lib/necromancer/converters/array.rb
+${GEM_LIBDIR}/lib/necromancer/converters/boolean.rb
+${GEM_LIBDIR}/lib/necromancer/converters/date_time.rb
+${GEM_LIBDIR}/lib/necromancer/converters/numeric.rb
+${GEM_LIBDIR}/lib/necromancer/converters/range.rb
+${GEM_LIBDIR}/lib/necromancer/null_converter.rb
+${GEM_LIBDIR}/lib/necromancer/version.rb
+${GEM_LIBDIR}/necromancer.gemspec
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/unit/can_spec.rb
+${GEM_LIBDIR}/spec/unit/config_spec.rb
+${GEM_LIBDIR}/spec/unit/configuration/new_spec.rb
+${GEM_LIBDIR}/spec/unit/conversions/fetch_spec.rb
+${GEM_LIBDIR}/spec/unit/conversions/register_spec.rb
+${GEM_LIBDIR}/spec/unit/conversions/to_hash_spec.rb
+${GEM_LIBDIR}/spec/unit/convert_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/array/array_to_boolean_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/array/array_to_numeric_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/array/array_to_set_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/array/object_to_array_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/array/string_to_array_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/boolean/boolean_to_integer_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/boolean/integer_to_boolean_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/boolean/string_to_boolean_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/date_time/string_to_date_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/date_time/string_to_datetime_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/date_time/string_to_time_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/numeric/string_to_float_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/numeric/string_to_integer_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/numeric/string_to_numeric_spec.rb
+${GEM_LIBDIR}/spec/unit/converters/range/string_to_range_spec.rb
+${GEM_LIBDIR}/spec/unit/inspect_spec.rb
+${GEM_LIBDIR}/spec/unit/new_spec.rb
+${GEM_LIBDIR}/spec/unit/register_spec.rb
+${GEM_LIBDIR}/tasks/console.rake
+${GEM_LIBDIR}/tasks/coverage.rake
+${GEM_LIBDIR}/tasks/spec.rake
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 2da06ab7b465 -r 425c112157ca devel/ruby-necromancer/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-necromancer/distinfo Tue Nov 12 15:24:44 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/12 15:24:44 taca Exp $
+
+SHA1 (necromancer-0.5.0.gem) = 5b3d7144e4a9d0810326e5405ad49c27b4f0599a
+RMD160 (necromancer-0.5.0.gem) = 79dda6a8649c1f7c572f70eb670130a667067d79
+SHA512 (necromancer-0.5.0.gem) = 582f566eec1bbf418d4466ba334e20a28b4e44c53ecdb41b62637e58b1a9337faf7af9c8af6a32ab9e49241ec1f5fde5f54d27d227e196478580c1c814e7c0ce
+Size (necromancer-0.5.0.gem) = 19968 bytes
Home |
Main Index |
Thread Index |
Old Index