From owner-svn-ports-head@FreeBSD.ORG Sat Dec 20 18:15:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F6C3497; Sat, 20 Dec 2014 18:15:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 196361B7B; Sat, 20 Dec 2014 18:15:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBKIF0gK059592; Sat, 20 Dec 2014 18:15:00 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBKIF089059572; Sat, 20 Dec 2014 18:15:00 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201412201815.sBKIF089059572@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 20 Dec 2014 18:15:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375047 - in head/devel: . rubygem-nenv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2014 18:15:01 -0000 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 +# $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 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