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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-rabl | 0.17.0 |
| DragonFly | devel/rubygem-rabl | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.17.0 | 0.17.0 | 0.16.1 | 0.17.0 | 0.17.0 |
| FreeBSD:14:quarterly | 0.17.0 | 0.17.0 | n/a | 0.17.0 | 0.17.0 |
| FreeBSD:15:latest | 0.17.0 | 0.17.0 | n/a | 0.17.0 | 0.17.0 |
| FreeBSD:15:quarterly | 0.17.0 | 0.17.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.17.0 | 0.17.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-activesupport5>=2.3.14: devel/rubygem-activesupport5
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/rabl-0.17.0.gem | 33280 | 4870e3cbfe28ae89ff5964b583105950cd8c49167440f63e9317b241d4afe70f |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.