1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Add LICENSE

- Fix gemspec
- Reformat pkg-descr
- Bump PORTREVISION for package change
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-05-21 21:26:07 +00:00
parent aab59cfd0d
commit 1344651a90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386975
3 changed files with 21 additions and 8 deletions

View File

@ -3,16 +3,19 @@
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 <bsd.port.mk>

View File

@ -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"])

View File

@ -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