Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 18:15:00 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375047 - in head/devel: . rubygem-nenv
Message-ID:  <201412201815.sBKIF089059572@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 20 18:14:59 2014
New Revision: 375047
URL: https://svnweb.freebsd.org/changeset/ports/375047
QAT: https://qat.redports.org/buildarchive/r375047/

Log:
  - Add rubygem-nenv 0.1.1
  
  Using ENV in Ruby is like using raw SQL statements - it feels wrong, because it
  is. If you agree, this gem is for you.
  
  The benefits over using ENV directly:
  - much friendlier stubbing in tests
  - you no longer have to care whether false is "0" or "false" or whatever
  - NO MORE ALL CAPS EVERYWHERE!
  - keys become methods
  - namespaces which can be passed around as objects
  - you can subclass!
  - you can marshal/unmarshal your own types automatically!
  - strict mode saves you from doing validation yourself
  - and there's more to come...
  - it's designed to be as lightweight and as fast as possible compared to ENV
  - designed to be both hackable and convenient
  
  WWW: https://github.com/e2/nenv
  RG:  https://rubygems.org/gems/nenv

Added:
  head/devel/rubygem-nenv/
  head/devel/rubygem-nenv/Makefile   (contents, props changed)
  head/devel/rubygem-nenv/distinfo   (contents, props changed)
  head/devel/rubygem-nenv/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Dec 20 18:14:52 2014	(r375046)
+++ head/devel/Makefile	Sat Dec 20 18:14:59 2014	(r375047)
@@ -4483,6 +4483,7 @@
     SUBDIR += rubygem-mutter
     SUBDIR += rubygem-naught
     SUBDIR += rubygem-needle
+    SUBDIR += rubygem-nenv
     SUBDIR += rubygem-nesty
     SUBDIR += rubygem-nice-ffi
     SUBDIR += rubygem-nio4r

Added: head/devel/rubygem-nenv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-nenv/Makefile	Sat Dec 20 18:14:59 2014	(r375047)
@@ -0,0 +1,18 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	nenv
+PORTVERSION=	0.1.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Convenient wrapper for ENV
+
+LICENSE=	MIT
+
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-nenv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-nenv/distinfo	Sat Dec 20 18:14:59 2014	(r375047)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/nenv-0.1.1.gem) = 8c6706840e3359fd0815e50b9da0a32702bf5d7171b1d0d1fc90cfae46ca74c1
+SIZE (rubygem/nenv-0.1.1.gem) = 9728

Added: head/devel/rubygem-nenv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-nenv/pkg-descr	Sat Dec 20 18:14:59 2014	(r375047)
@@ -0,0 +1,18 @@
+Using ENV in Ruby is like using raw SQL statements - it feels wrong, because it
+is. If you agree, this gem is for you.
+
+The benefits over using ENV directly:
+- much friendlier stubbing in tests
+- you no longer have to care whether false is "0" or "false" or whatever
+- NO MORE ALL CAPS EVERYWHERE!
+- keys become methods
+- namespaces which can be passed around as objects
+- you can subclass!
+- you can marshal/unmarshal your own types automatically!
+- strict mode saves you from doing validation yourself
+- and there's more to come...
+- it's designed to be as lightweight and as fast as possible compared to ENV
+- designed to be both hackable and convenient
+
+WWW: https://github.com/e2/nenv
+RG:  https://rubygems.org/gems/nenv



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412201815.sBKIF089059572>