From a3bb4e88d7d51527f4159ea9a73771f0715fd885 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sun, 4 Sep 2022 11:41:39 +0800 Subject: [PATCH] devel/rubygem-snaky_hash: Add rubygem-snaky_hash 2.0.0 SnakyHash gem is used by the oauth and oauth2 gems, and others, to normalize hash keys and lookups, and provide a nice psuedo-object interface. It has its roots in the Rash (specifically the rash_alt flavor), which is a special Mash, made popular by the hashie gem. Classes that include SnakyHash::Snake should inherit from Hashie::Mash. WWW: https://gitlab.com/oauth-xx/snaky_hash --- devel/Makefile | 1 + devel/rubygem-snaky_hash/Makefile | 20 ++++++++++++++++++++ devel/rubygem-snaky_hash/distinfo | 3 +++ devel/rubygem-snaky_hash/pkg-descr | 9 +++++++++ 4 files changed, 33 insertions(+) create mode 100644 devel/rubygem-snaky_hash/Makefile create mode 100644 devel/rubygem-snaky_hash/distinfo create mode 100644 devel/rubygem-snaky_hash/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 508caa64fb29d..70bb15ad682c3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6955,6 +6955,7 @@ SUBDIR += rubygem-slop SUBDIR += rubygem-slop3 SUBDIR += rubygem-slow_enumerator_tools + SUBDIR += rubygem-snaky_hash SUBDIR += rubygem-snowplow-tracker SUBDIR += rubygem-soap4r SUBDIR += rubygem-solve diff --git a/devel/rubygem-snaky_hash/Makefile b/devel/rubygem-snaky_hash/Makefile new file mode 100644 index 0000000000000..d5619f9041c13 --- /dev/null +++ b/devel/rubygem-snaky_hash/Makefile @@ -0,0 +1,20 @@ +PORTNAME= snaky_hash +PORTVERSION= 2.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Hashie::Mash joint to make \#snakelife better + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-hashie>=0:devel/rubygem-hashie \ + rubygem-version_gem>=1.1<2:devel/rubygem-version_gem + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-snaky_hash/distinfo b/devel/rubygem-snaky_hash/distinfo new file mode 100644 index 0000000000000..2d4f6f068c22c --- /dev/null +++ b/devel/rubygem-snaky_hash/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1662212114 +SHA256 (rubygem/snaky_hash-2.0.0.gem) = fe8b2e39e8ff69320f7812af73ea06401579e29ff1734a7009567391600687de +SIZE (rubygem/snaky_hash-2.0.0.gem) = 11264 diff --git a/devel/rubygem-snaky_hash/pkg-descr b/devel/rubygem-snaky_hash/pkg-descr new file mode 100644 index 0000000000000..22fd2e0c4b242 --- /dev/null +++ b/devel/rubygem-snaky_hash/pkg-descr @@ -0,0 +1,9 @@ +SnakyHash gem is used by the oauth and oauth2 gems, and others, to normalize +hash keys and lookups, and provide a nice psuedo-object interface. + +It has its roots in the Rash (specifically the rash_alt flavor), which is a +special Mash, made popular by the hashie gem. + +Classes that include SnakyHash::Snake should inherit from Hashie::Mash. + +WWW: https://gitlab.com/oauth-xx/snaky_hash