Files | Admin

Notes:

Release Name: 0.3.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:

HashFunctions are now exported as Ruby methods for the recently released
Metropolis application.  There are attempts at improving thread-safety,
but still tread carefully since it's not ideal as upstream does not yet
support it.



Changes: GIT-VERSION-GEN | 2 +- GNUmakefile | 6 +++- ext/tdb/extconf.rb | 2 + ext/tdb/hash_functions.c | 40 +++++++++++++++++++++++++++++++++++++++ ext/tdb/tdb.c | 19 ++++++++++++++++- lib/tdb/mt.rb | 8 +------ test/test_tdb_hash_functions.rb | 15 ++++++++++++++ test/test_tdb_mt.rb | 23 +++++++++++++-------- 8 files changed, 94 insertions(+), 21 deletions(-) commit 11d170ed584350905dc3b09859a3d079190ccb16 Author: Eric Wong Date: Mon Dec 13 18:37:49 2010 -0800 Ruby tdb - 0.3.0 - TDB::HashFunctions for Metropolis There are attempts at improving thread-safety, but still tread carefully since it's not ideal as upstream does not yet support it. commit 91369e7c1027c8f58b167b6352842e0784b4d0f1 Author: Eric Wong Date: Fri Dec 10 18:25:24 2010 -0800 mt: longer test Just in case it wasn't long enough to expose any issues or crash the system. commit 40b3033aa688a2758a0e958a65000e450d474f97 Author: Eric Wong Date: Fri Dec 10 18:23:25 2010 -0800 enforce locking for TDB creation/destroy TDB objects aren't created often, so this shouldn't be noticeable, and there's no other way if any notion of thread-safety is desired. commit 56378c0fc1704cab0e0e1e6800befaf84e419b43 Author: Eric Wong Date: Fri Dec 10 18:05:41 2010 -0800 mt: just break when attempting TDB methods inside #each Too tricky to support, for now. commit 93e36dd664a9d3f95456769ca2d29c48503bd0e7 Author: Eric Wong Date: Fri Dec 10 17:56:14 2010 -0800 add a new TDB::HashFunctions module It's nice to have common hash functions available... commit 4e4166437ac88aa6df4ffcd4ed8452cb5eb8750e Author: Eric Wong Date: Thu Dec 9 22:30:08 2010 +0000 rdoc: enable webcvs links for cgit Might as well enable it to help people browse code.