Skip to content

Commit

Permalink
devel/rubygem-rash_alt: Add rubygem-rash_alt 0.4.12
Browse files Browse the repository at this point in the history
Rash is an extension to Hashie. Rash subclasses Hashie::Mash to convert all keys
in the hash to underscore. The purpose of this is when working w/ Java (or any
other apis) that return hashes (including nested) that have camelCased keys. You
will now be able to access those keys through underscored key names (camelCase
still available).

WWW: https://github.com/shishi/rash_alt
  • Loading branch information
sunpoet committed Jun 21, 2022
1 parent 05c67b7 commit efa7cd8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -6811,6 +6811,7 @@
SUBDIR += rubygem-ransack
SUBDIR += rubygem-rapt
SUBDIR += rubygem-rash
SUBDIR += rubygem-rash_alt
SUBDIR += rubygem-rb-fsevent
SUBDIR += rubygem-rb-inotify
SUBDIR += rubygem-rb-kqueue
Expand Down
21 changes: 21 additions & 0 deletions devel/rubygem-rash_alt/Makefile
@@ -0,0 +1,21 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= rash_alt
PORTVERSION= 0.4.12
CATEGORIES= devel rubygems
MASTER_SITES= RG

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple extension to Hashie::Mash for rubyified keys

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= rubygem-hashie>=3.4:devel/rubygem-hashie

USES= gem
USE_RUBY= yes

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/rubygem-rash_alt/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1655829808
SHA256 (rubygem/rash_alt-0.4.12.gem) = 1d4a6dd5b8fdcecc6b777c0b924dbf31c125ddd8d805e72dc9359db8324e1607
SIZE (rubygem/rash_alt-0.4.12.gem) = 9216
7 changes: 7 additions & 0 deletions devel/rubygem-rash_alt/pkg-descr
@@ -0,0 +1,7 @@
Rash is an extension to Hashie. Rash subclasses Hashie::Mash to convert all keys
in the hash to underscore. The purpose of this is when working w/ Java (or any
other apis) that return hashes (including nested) that have camelCased keys. You
will now be able to access those keys through underscored key names (camelCase
still available).

WWW: https://github.com/shishi/rash_alt

0 comments on commit efa7cd8

Please sign in to comment.