FreeBSD Ports

databases/rubygem-attr_json 2.6.0

Serialized json-hash-backed ActiveRecord attributes

Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
databases, rubygems
Package size
43.5 KiB, 153.7 KiB installed

Description

ActiveRecord attributes stored serialized in a json column, super smooth.

Typed and cast like Active Record. Supporting nested models, dirty tracking, some querying (with postgres jsonb contains), and working smoothy with form builders.

Use your database as a typed object store via ActiveRecord, in the same models right next to ordinary ActiveRecord column-backed attributes and associations. Your json-serialized attr_json attributes use as much of the existing ActiveRecord architecture as we can.

Install

As a binary package — by origin, or by package name:

pkg install databases/rubygem-attr_json
pkg install rubygem-attr_json

From the ports tree:

cd /usr/ports/databases/rubygem-attr_json/ && make install clean

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

RUN_DEPENDS=	rubygem-attr_json>0:databases/rubygem-attr_json

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:latest2.6.02.6.0-2.5.02.6.0
FreeBSD:14:quarterly2.6.02.6.0n/a2.5.02.6.0
FreeBSD:15:latest2.6.02.6.0n/a2.5.02.5.0
FreeBSD:15:quarterly2.6.02.6.0n/an/an/a
FreeBSD:16:latest2.6.02.6.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.

All build dependencies 6
All run dependencies 21

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/attr_json-2.6.0.gem496648a110245c36d5b657540b2980e37acf4eb201b2fd44e818973fb2147519f1af4
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.