From owner-svn-ports-head@freebsd.org Fri Apr 14 12:04:10 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B468D3D116; Fri, 14 Apr 2017 12:04:10 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 D07049E; Fri, 14 Apr 2017 12:04:09 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3EC48pu007343; Fri, 14 Apr 2017 12:04:08 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3EC48S8007338; Fri, 14 Apr 2017 12:04:08 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201704141204.v3EC48S8007338@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Fri, 14 Apr 2017 12:04:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438504 - in head/devel: . rubygem-rabl 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.23 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: Fri, 14 Apr 2017 12:04:10 -0000 Author: jrm Date: Fri Apr 14 12:04:08 2017 New Revision: 438504 URL: https://svnweb.freebsd.org/changeset/ports/438504 Log: New port, devel/rubygem-rabl: General ruby templating with json, bson, xml and msgpack support Adding devel/rubygem-rabl, because it is a dependency of the upcoming www/mastodon port. WWW: https://github.com/nesquena/rabl/ Approved by: swills (mentor, implicit) Added: head/devel/rubygem-rabl/ head/devel/rubygem-rabl/Makefile (contents, props changed) head/devel/rubygem-rabl/distinfo (contents, props changed) head/devel/rubygem-rabl/pkg-descr (contents, props changed) head/devel/rubygem-rabl/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Apr 14 11:50:17 2017 (r438503) +++ head/devel/Makefile Fri Apr 14 12:04:08 2017 (r438504) @@ -5444,6 +5444,7 @@ SUBDIR += rubygem-ptreloaded SUBDIR += rubygem-pygments.rb SUBDIR += rubygem-r18n-core + SUBDIR += rubygem-rabl SUBDIR += rubygem-racc SUBDIR += rubygem-rack-mini-profiler SUBDIR += rubygem-rack-raw-upload Added: head/devel/rubygem-rabl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-rabl/Makefile Fri Apr 14 12:04:08 2017 (r438504) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= rabl +PORTVERSION= 0.13.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= jrm@FreeBSD.org +COMMENT= General ruby templating with json, bson, xml and msgpack support + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-activesupport4>=2.3.14:devel/rubygem-activesupport4 + +NO_ARCH= yes + +USE_RUBY= yes +USES= gem + +.include Added: head/devel/rubygem-rabl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-rabl/distinfo Fri Apr 14 12:04:08 2017 (r438504) @@ -0,0 +1,3 @@ +TIMESTAMP = 1492169247 +SHA256 (rubygem/rabl-0.13.1.gem) = 988c4ff58aa3fe2adcc46c14cf4a751f03e274bbda780bc6801e973c52bad80a +SIZE (rubygem/rabl-0.13.1.gem) = 133120 Added: head/devel/rubygem-rabl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-rabl/pkg-descr Fri Apr 14 12:04:08 2017 (r438504) @@ -0,0 +1,16 @@ +RABL (Ruby API Builder Language) is a Rails and Padrino ruby templating system +for generating JSON, XML, MessagePack, PList and BSON. It provides a more +expressive and powerful solution for generating APIs than ActiveRecord's +'to_json' method. It is particularly helpful when the JSON representation is +complex or doesn't match the exact schema defined within the database. + +With it, one can easily: + + - Create arbitrary nodes with names based on combining data in an object + - Pass arguments to methods and store the result as a child node + - Render partial templates and inherit to reduce code duplication + - Rename or alias attributes to change the name from the model + - Append attributes from a child into a parent node + - Include nodes only if a certain condition has been met + +WWW: https://github.com/nesquena/rabl/ Added: head/devel/rubygem-rabl/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-rabl/pkg-plist Fri Apr 14 12:04:08 2017 (r438504) @@ -0,0 +1,34 @@ +%%GEM_LIB_DIR%%/fixtures/ashared/views_rails_3/users/phone_number.xml.rabl +%%GEM_LIB_DIR%%/fixtures/padrino_test/app/views +%%GEM_LIB_DIR%%/fixtures/padrino_test/db/migrate +%%GEM_LIB_DIR%%/fixtures/padrino_test/models +%%GEM_LIB_DIR%%/fixtures/padrino_test/test/app/controllers/posts_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/padrino_test/test/app/controllers/users_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails2/app/models +%%GEM_LIB_DIR%%/fixtures/rails2/app/views +%%GEM_LIB_DIR%%/fixtures/rails2/db/migrate +%%GEM_LIB_DIR%%/fixtures/rails2/test/functionals/posts_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails2/test/functionals/users_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails3/app/models +%%GEM_LIB_DIR%%/fixtures/rails3/app/views +%%GEM_LIB_DIR%%/fixtures/rails3/db/migrate +%%GEM_LIB_DIR%%/fixtures/rails3/test/functional/posts_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails3/test/functional/users_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails3_2/app/models +%%GEM_LIB_DIR%%/fixtures/rails3_2/app/views +%%GEM_LIB_DIR%%/fixtures/rails3_2/db/migrate +%%GEM_LIB_DIR%%/fixtures/rails3_2/test/functional/posts_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails3_2/test/functional/users_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails4/app/models +%%GEM_LIB_DIR%%/fixtures/rails4/app/views +%%GEM_LIB_DIR%%/fixtures/rails4/db/migrate +%%GEM_LIB_DIR%%/fixtures/rails4/test/functional/posts_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails4/test/functional/users_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/rails5/app/models +%%GEM_LIB_DIR%%/fixtures/rails5/app/views +%%GEM_LIB_DIR%%/fixtures/rails5/db/migrate +%%GEM_LIB_DIR%%/fixtures/sinatra_test/db/migrate +%%GEM_LIB_DIR%%/fixtures/sinatra_test/models +%%GEM_LIB_DIR%%/fixtures/sinatra_test/test/functional/posts_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/sinatra_test/test/functional/users_controller_test.rb +%%GEM_LIB_DIR%%/fixtures/sinatra_test/views