BSD Ports

devel/rubygem-pstore 0.2.1 FreeBSD

Transactional File Storage for Ruby Objects

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
12.6 KiB, 36.8 KiB installed

Description

PStore implements a file based persistence mechanism based on a Hash. User code can store hierarchies of Ruby objects (values) into the data store file by name (keys). An object hierarchy may be just a single object. User code may later read values back from the data store or even update data, as needed.

The transactional behavior ensures that any changes succeed or fail together. This can be used to ensure that the data store is not left in a transitory state, where some values were updated but others were not.

Behind the scenes, Ruby objects are stored to the data store file with Marshal. That carries the usual limitations. Proc objects cannot be marshalled, for example.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-pstore0.2.1
DragonFlydevel/rubygem-pstore0.2.0
MidnightBSDdevel/rubygem-pstore0.2.1

Install

Binary package:

pkg install rubygem-pstore

From the ports tree:

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

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

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

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.2.10.2.10.1.10.2.00.2.1
FreeBSD:14:quarterly0.2.10.2.1n/a0.2.00.2.1
FreeBSD:15:latest0.2.10.2.1n/a0.2.00.2.0
FreeBSD:15:quarterly0.2.10.2.1n/an/an/a
FreeBSD:16:latest0.2.10.2.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 6
Run dependencies 6
Required by 77

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/pstore-0.2.1.gem1536003904d0f2c66579e96d1e6704cdabc0c88df7ea8ed8782d9f3569f6f6c702c1a
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.