BSD Ports

devel/rubygem-rabl 0.17.0 FreeBSD

General ruby templating with json, bson, xml and msgpack support

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
29.2 KiB, 96.8 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-rabl0.17.0
DragonFlydevel/rubygem-rabl0.17.0

Install

Binary package:

pkg install rubygem-rabl

From the ports tree:

cd /usr/ports/devel/rubygem-rabl/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-rabl>0:devel/rubygem-rabl

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.17.00.17.00.16.10.17.00.17.0
FreeBSD:14:quarterly0.17.00.17.0n/a0.17.00.17.0
FreeBSD:15:latest0.17.00.17.0n/a0.17.00.17.0
FreeBSD:15:quarterly0.17.00.17.0n/an/an/a
FreeBSD:16:latest0.17.00.17.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 12

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/rabl-0.17.0.gem332804870e3cbfe28ae89ff5964b583105950cd8c49167440f63e9317b241d4afe70f
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.