aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-09-04 03:41:39 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-09-04 03:42:25 +0000
commita3bb4e88d7d51527f4159ea9a73771f0715fd885 (patch)
tree0e04c2e2819e52ccd98e14c44d0ae7a621be93d0
parent26077cb03e7e84e17b411d5aff894dd70db2cc32 (diff)
downloadports-a3bb4e88d7d51527f4159ea9a73771f0715fd885.tar.gz
ports-a3bb4e88d7d51527f4159ea9a73771f0715fd885.zip
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
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-snaky_hash/Makefile20
-rw-r--r--devel/rubygem-snaky_hash/distinfo3
-rw-r--r--devel/rubygem-snaky_hash/pkg-descr9
4 files changed, 33 insertions, 0 deletions
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