svn commit: r386975 - in head/devel/rubygem-rash: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu May 21 21:26:08 UTC 2015
Author: sunpoet
Date: Thu May 21 21:26:07 2015
New Revision: 386975
URL: https://svnweb.freebsd.org/changeset/ports/386975
Log:
- Add LICENSE
- Fix gemspec
- Reformat pkg-descr
- Bump PORTREVISION for package change
- Take maintainership
Added:
head/devel/rubygem-rash/files/
head/devel/rubygem-rash/files/patch-gemspec (contents, props changed)
Modified:
head/devel/rubygem-rash/Makefile
head/devel/rubygem-rash/pkg-descr
Modified: head/devel/rubygem-rash/Makefile
==============================================================================
--- head/devel/rubygem-rash/Makefile Thu May 21 21:26:02 2015 (r386974)
+++ head/devel/rubygem-rash/Makefile Thu May 21 21:26:07 2015 (r386975)
@@ -3,16 +3,19 @@
PORTNAME= rash
PORTVERSION= 0.4.0
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at 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 <bsd.port.mk>
Added: head/devel/rubygem-rash/files/patch-gemspec
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/rubygem-rash/files/patch-gemspec Thu May 21 21:26:07 2015 (r386975)
@@ -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<hashie>, ["~> 2.0.0"])
++ s.add_runtime_dependency(%q<hashie>, [">= 2.0.0"])
+ s.add_development_dependency(%q<rake>, ["~> 0.9"])
+ s.add_development_dependency(%q<rdoc>, ["~> 3.9"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.5"])
Modified: head/devel/rubygem-rash/pkg-descr
==============================================================================
--- head/devel/rubygem-rash/pkg-descr Thu May 21 21:26:02 2015 (r386974)
+++ head/devel/rubygem-rash/pkg-descr Thu May 21 21:26:07 2015 (r386975)
@@ -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
More information about the svn-ports-all
mailing list