Files | Admin

Notes:

Release Name: 0.2.0

Notes:
TDB is much like other DBM implementations, except it allows concurrent
writer processes.  TDB was initially developed for Samba, but is used by
other projects as well.  These Ruby bindings allow Ruby apps to read and
write to the same databases used by Samba!

* http://bogomips.org/ruby-tdb/
* ruby.tdb@librelist.org
* git://git.bogomips.org/ruby-tdb.git

Changes:

There is now basic thread-safety for Ruby 1.9 users
that can be enabled by passing :threadsafe => true
to TDB.new

MRI 1.8 users do not need thread-safety as native threads
are not used.



Changes: GIT-VERSION-GEN | 2 +- README | 36 +++++++++++++++++- ext/tdb/extconf.rb | 1 + ext/tdb/lookup3.c | 1 + ext/tdb/tdb.c | 99 +++++++++++++++++++++++++++++++++++++++++---------- lib/tdb.rb | 14 +++++++ lib/tdb/mt.rb | 41 +++++++++++++++++++++ tdb.gemspec | 2 +- test/test_tdb.rb | 24 ++++++++++++ test/test_tdb_mt.rb | 85 +++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 282 insertions(+), 23 deletions(-) commit be4d28e81a028757074a01abfcabf75262624e79 Author: Eric Wong Date: Tue Dec 7 18:38:39 2010 -0800 Ruby tdb - 0.2.0 - optional thread-safety There is now basic thread-safety for Ruby 1.9 users that can be enabled by passing :threadsafe => true to TDB.new MRI 1.8 users do not need thread-safety as native threads are not used. commit 203e6a434475b9c45c806698ae12d403fe2723b7 Author: Eric Wong Date: Mon Dec 6 17:56:50 2010 -0800 README: fix grammar error Oops. commit 76a68577ce61c02689ad450c054b69bf1a8d6f60 Author: Eric Wong Date: Sat Dec 4 15:56:11 2010 -0800 add support for "clear" and "repack" methods TDB#clear maps to tdb_wipe_all and TDB#repack maps to TDB#repack. commit 91774f18ae0bb044c24d75d275ccb90b1bd80ad0 Author: Eric Wong Date: Fri Dec 3 17:45:45 2010 -0800 README: update with thread-safety usage One limitation that's easy to work around, for now. commit c6c2f7782e2270ee4684d2405376a186aa806fcd Author: Eric Wong Date: Fri Dec 3 17:27:53 2010 -0800 add optional thread-safety on a per-object basis Thread-safety is useful sometimes and needless overhead otherwise. Default to whatever TDB upstream defaults to. commit 2a31a29a3398b645722b9ce77a2987948289706e Author: Eric Wong Date: Fri Dec 3 14:42:34 2010 -0800 README: add an extra note for non-Debian users Hopefully upstream fixes this soon for everyone else. commit 2ad2c8b844bd43ad7e15cb7652da00be877ac039 Author: Eric Wong Date: Fri Dec 3 22:00:10 2010 +0000 lookup3: fix build from missing #include This appears to be needed on x86 Debian Lenny but not x86_64 commit 424f350415eccae19f08c2164b3e6ba6943fffb5 Author: Eric Wong Date: Thu Dec 2 14:37:59 2010 -0800 README: add Caveats section We're not perfect, so don't raise expectations too high! commit cd3d6d573985cac087bd51f44bd8ad87b9e4e429 Author: Eric Wong Date: Thu Dec 2 14:14:12 2010 -0800 RDoc updates We still need a lot of work in this area, but this is better than nothing. commit edb517aee23616ee1842148fb7e9afc7aebc6139 Author: Eric Wong Date: Wed Dec 1 10:12:46 2010 +0000 gemspec: do not modify VERSION env 1.9.2 does not like this.