Skip to content

Commit

Permalink
devel/rubygem-snaky_hash: Add rubygem-snaky_hash 2.0.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sunpoet committed Sep 4, 2022
1 parent 26077cb commit a3bb4e8
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
9 changes: 9 additions & 0 deletions 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

0 comments on commit a3bb4e8

Please sign in to comment.