mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 19:20:36 -04:00
since gdbm is gemified in upstream after Ruby 2.5 [1]. Ruby 2.4 can also use the gdbm gem because it is a gem! - Add MOVED entry - Bump PORTEPOCH because PORTVERSION goes barwards - Update pkg-descr and WWW - Remove unnecessary pkg-message [1] https://bugs.ruby-lang.org/issues/5481 Update lang/ruby* ports: - Do not build gdbm together with Ruby interpreter, but build as a rubygem - Remove ${BUILD_WRKSRC}/ext/gdbm instead of moving it to ${WRKDIR} - Update pkg-message to mention rubygem-gdbm instead of ruby-gdbm Also following changes are made to ruby-gdbm consumers: - Updade dependency to depend on rubygem-gdbm - Bump PORTREVISION due to dependency change PR: 230436 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Sponsored by: HAW International, Inc.
19 lines
946 B
Text
19 lines
946 B
Text
Ruby extension for GNU dbm (gdbm) -- a simple database engine for
|
|
storing key-value pairs on disk.
|
|
|
|
GNU dbm is a library for simple databases. A database is a file that
|
|
stores key-value pairs. Gdbm allows the user to store, retrieve, and
|
|
delete data by key. It furthermore allows a non-sorted traversal of
|
|
all key-value pairs. A gdbm database thus provides the same
|
|
functionality as a hash. As with objects of the Hash class, elements
|
|
can be accessed with []. Furthermore, GDBM mixes in the Enumerable
|
|
module, thus providing convenient methods such as #find, #collect,
|
|
#map, etc.
|
|
|
|
A process is allowed to open several different databases at the same
|
|
time. A process can open a database as a "reader" or a
|
|
"writer". Whereas a reader has only read-access to the database, a
|
|
writer has read- and write-access. A database can be accessed either
|
|
by any number of readers or by exactly one writer at the same time.
|
|
|
|
WWW: https://rubygems.org/gems/gdbm
|