git: a3bb4e88d7d5 - main - devel/rubygem-snaky_hash: Add rubygem-snaky_hash 2.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 03:52:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3bb4e88d7d51527f4159ea9a73771f0715fd885

commit a3bb4e88d7d51527f4159ea9a73771f0715fd885
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:41:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:42:25 +0000

    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(+)

diff --git a/devel/Makefile b/devel/Makefile
index 508caa64fb29..70bb15ad682c 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 000000000000..d5619f9041c1
--- /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 <bsd.port.mk>
diff --git a/devel/rubygem-snaky_hash/distinfo b/devel/rubygem-snaky_hash/distinfo
new file mode 100644
index 000000000000..2d4f6f068c22
--- /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 000000000000..22fd2e0c4b24
--- /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