git: 5e379be75ff3 - main - devel/rubygem-hashie4: Add rubygem-hashie4 4.1.0 (copied from rubygem-hashie)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Feb 2022 12:50:44 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e379be75ff3983bc564c96342b47960d60d13a4 commit 5e379be75ff3983bc564c96342b47960d60d13a4 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-02-28 09:54:43 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-02-28 12:45:55 +0000 devel/rubygem-hashie4: Add rubygem-hashie4 4.1.0 (copied from rubygem-hashie) - Add PORTSCOUT --- devel/Makefile | 1 + devel/rubygem-hashie4/Makefile | 22 ++++++++++++++++++++++ devel/rubygem-hashie4/distinfo | 3 +++ devel/rubygem-hashie4/pkg-descr | 11 +++++++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 20b790d2064c..c90dccbdebf2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6437,6 +6437,7 @@ SUBDIR += rubygem-hashery SUBDIR += rubygem-hashie SUBDIR += rubygem-hashie-forbidden_attributes + SUBDIR += rubygem-hashie4 SUBDIR += rubygem-health_check SUBDIR += rubygem-heapy SUBDIR += rubygem-highline diff --git a/devel/rubygem-hashie4/Makefile b/devel/rubygem-hashie4/Makefile new file mode 100644 index 000000000000..a9690062219e --- /dev/null +++ b/devel/rubygem-hashie4/Makefile @@ -0,0 +1,22 @@ +# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> + +PORTNAME= hashie +PORTVERSION= 4.1.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 4 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple collection of useful Hash extensions + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +PORTSCOUT= limit:^4\. + +.include <bsd.port.mk> diff --git a/devel/rubygem-hashie4/distinfo b/devel/rubygem-hashie4/distinfo new file mode 100644 index 000000000000..7b3c7e1ab48b --- /dev/null +++ b/devel/rubygem-hashie4/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1580746263 +SHA256 (rubygem/hashie-4.1.0.gem) = 7890dcb9ec18a4b66acec797018c73824b89cef5eb8cda36e8e8501845e87a09 +SIZE (rubygem/hashie-4.1.0.gem) = 52224 diff --git a/devel/rubygem-hashie4/pkg-descr b/devel/rubygem-hashie4/pkg-descr new file mode 100644 index 000000000000..9abd3c031679 --- /dev/null +++ b/devel/rubygem-hashie4/pkg-descr @@ -0,0 +1,11 @@ +Hashie is available as a RubyGem which extend Hashes and make them more useful. + +- Hashie::Mash: gives simple pseudo-object functionality that can be built from + hashes and easily extended +- Hashie::Dash: has a discrete set of defined properties and only those + properties may be set on the hash. +- Hashie::Trash: a Dash that allows you to translate keys on initialization. +- Hashie::Clash: allows you to easily construct complex hashes using method + notation chaining. + +WWW: https://github.com/hashie/hashie