freebsd-ports/devel/rubygem-pstore/Makefile
Po-Chuan Hsieh e284b8513f
devel/rubygem-pstore: Add rubygem-pstore 0.1.1
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.

WWW: https://github.com/ruby/pstore
2021-12-22 02:38:54 +08:00

20 lines
373 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= pstore
PORTVERSION= 0.1.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Transactional File Storage for Ruby Objects
LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>