Index: head/devel/rubygem-rash/Makefile =================================================================== --- head/devel/rubygem-rash/Makefile (revision 386974) +++ head/devel/rubygem-rash/Makefile (revision 386975) @@ -1,18 +1,21 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= rash PORTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple extension to Hashie::Mash for rubyfied keys +LICENSE= MIT + RUN_DEPENDS= rubygem-hashie>=2.0.0:${PORTSDIR}/devel/rubygem-hashie USE_RUBY= yes USE_RUBYGEMS= yes -RUBYGEM_AUTOPLIST=yes +RUBYGEM_AUTOPLIST= yes .include Index: head/devel/rubygem-rash/files/patch-gemspec =================================================================== --- head/devel/rubygem-rash/files/patch-gemspec (nonexistent) +++ head/devel/rubygem-rash/files/patch-gemspec (revision 386975) @@ -0,0 +1,11 @@ +--- rash.gemspec.orig 2015-05-21 19:21:02 UTC ++++ rash.gemspec +@@ -23,7 +23,7 @@ Gem::Specification.new do |s| + s.specification_version = 3 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then +- s.add_runtime_dependency(%q, ["~> 2.0.0"]) ++ s.add_runtime_dependency(%q, [">= 2.0.0"]) + s.add_development_dependency(%q, ["~> 0.9"]) + s.add_development_dependency(%q, ["~> 3.9"]) + s.add_development_dependency(%q, ["~> 2.5"]) Property changes on: head/devel/rubygem-rash/files/patch-gemspec ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/rubygem-rash/pkg-descr =================================================================== --- head/devel/rubygem-rash/pkg-descr (revision 386974) +++ head/devel/rubygem-rash/pkg-descr (revision 386975) @@ -1,12 +1,11 @@ Rash is an extension to Hashie -Rash subclasses Hashie::Mash to convert all keys in the hash -to underscore. +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 +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). +You will now be able to access those keys through underscored key names +(camelCase still available). WWW: https://github.com/tcocca/rash