git: efa7cd884a83 - main - devel/rubygem-rash_alt: Add rubygem-rash_alt 0.4.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 20:59:29 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=efa7cd884a83c6627fe100d20cf8038ef31e9375
commit efa7cd884a83c6627fe100d20cf8038ef31e9375
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 20:57:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 20:57:02 +0000
devel/rubygem-rash_alt: Add rubygem-rash_alt 0.4.12
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
---
devel/Makefile | 1 +
devel/rubygem-rash_alt/Makefile | 21 +++++++++++++++++++++
devel/rubygem-rash_alt/distinfo | 3 +++
devel/rubygem-rash_alt/pkg-descr | 7 +++++++
4 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 3f5b6449c169..6a7a8a4b60ac 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/rubygem-rash_alt/Makefile b/devel/rubygem-rash_alt/Makefile
new file mode 100644
index 000000000000..c30e3c64aee5
--- /dev/null
+++ b/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>
diff --git a/devel/rubygem-rash_alt/distinfo b/devel/rubygem-rash_alt/distinfo
new file mode 100644
index 000000000000..75edc9474fe1
--- /dev/null
+++ b/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
diff --git a/devel/rubygem-rash_alt/pkg-descr b/devel/rubygem-rash_alt/pkg-descr
new file mode 100644
index 000000000000..145f67ca2667
--- /dev/null
+++ b/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