Index: security/Makefile =================================================================== --- security/Makefile +++ security/Makefile @@ -896,6 +896,7 @@ SUBDIR += ruby-hmac SUBDIR += ruby-password SUBDIR += ruby-tcpwrap + SUBDIR += rubygem-attr_required SUBDIR += rubygem-bcrypt SUBDIR += rubygem-bcrypt-ruby SUBDIR += rubygem-doorkeeper Index: security/rubygem-attr_required/Makefile =================================================================== --- /dev/null +++ security/rubygem-attr_required/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= attr_required +PORTVERSION= 1.0.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Ruby implementations of attr_required and attr_optional + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +post-install: + ${CHMOD} -R go-w ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ + +.include Index: security/rubygem-attr_required/distinfo =================================================================== --- /dev/null +++ security/rubygem-attr_required/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/attr_required-1.0.0.gem) = ac0d5cd4f55bca3acc3f7d1a56f5bf92d9a01a42c21bec8cbc37f177a2505c5d +SIZE (rubygem/attr_required-1.0.0.gem) = 8704 Index: security/rubygem-attr_required/pkg-descr =================================================================== --- /dev/null +++ security/rubygem-attr_required/pkg-descr @@ -0,0 +1,7 @@ +This gem provides implementations of attr_required and attr_optional +(like attr_accessor) for Ruby. + +This can help RFC library developers to define which attributes +are REQUIRED and which are OPTIONAL. + +WWW: https://github.com/nov/attr_required