Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 12:04:08 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438504 - in head/devel: . rubygem-rabl
Message-ID:  <201704141204.v3EC48S8007338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



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