ruby: Don't barf if an object is destroyed more than once
authorAli Polatel <alip@exherbo.org>
Wed, 26 May 2010 17:56:07 +0000 (20:56 +0300)
committerAli Polatel <alip@exherbo.org>
Sun, 6 Jun 2010 06:18:00 +0000 (09:18 +0300)
commit5c9e385591b66fa20cbb186393c48c52831a23b7
tree2c87c8356373a958623e65ef311054799f09e5ea
parentd2a457a5d8238c54445a8a6066f79c112ebd3a04
ruby: Don't barf if an object is destroyed more than once

Raise RuntimeError instead.
Also revise Notmuch::Database a bit.
Add Notmuch::Database.open singleton method.
bindings/ruby/database.c
bindings/ruby/defs.h
bindings/ruby/directory.c
bindings/ruby/filenames.c
bindings/ruby/init.c
bindings/ruby/message.c
bindings/ruby/messages.c
bindings/ruby/query.c
bindings/ruby/tags.c
bindings/ruby/thread.c
bindings/ruby/threads.c