diff --git a/Changes b/Changes index 947f86c..fb8ef47 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,13 @@ Revision history for Perl extension Unqlite {{$NEXT}} +0.02 2013-07-05T06:42:59Z + + - Store RC to magic to fix race condition + (charsbar) + - Added `tie` interface. + (charsbar) + 0.01 2013-07-03T19:02:44Z - original version diff --git a/META.json b/META.json index 7c579f9..a49c33f 100644 --- a/META.json +++ b/META.json @@ -63,5 +63,8 @@ "web" : "https://github.com/tokuhirom/UnQLite" } }, - "version" : "0.01" + "version" : "0.02", + "x_contributors" : [ + "Kenichi Ishigaki " + ] } diff --git a/README.md b/README.md index 91251a1..1286c87 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,11 @@ UnQLite - Perl bindings for UnQLite $db->kv_delete('foo'); undef $db; # close database + # tie interface + tie my %hash, 'UnQLite', 'foo.db'; + $hash{foo} = 'bar'; + say $hash{foo}; # => bar + # DESCRIPTION UnQLite is a in-process software library which implements a self-contained, serverless, zero-configuration, transactional NoSQL database engine. UnQLite is a document store database similar to MongoDB, Redis, CouchDB etc. as well a standard Key/Value store similar to BerkeleyDB, LevelDB, etc. diff --git a/lib/UnQLite.pm b/lib/UnQLite.pm index c490944..0fb5a71 100644 --- a/lib/UnQLite.pm +++ b/lib/UnQLite.pm @@ -4,7 +4,7 @@ use strict; use warnings; use Carp (); -our $VERSION = "0.01"; +our $VERSION = "0.02"; our $rc = 0; use XSLoader;