summaryrefslogtreecommitdiff
path: root/bindings/ruby/database.c
AgeCommit message (Collapse)Author
2014-09-16ruby: handle return status of database closePeter Wang
Throw an exception if notmuch_database_destroy fails.
2012-05-15ruby: Update for changes to notmuch_database_get_directoryAustin Clements
2012-05-05ruby: Update Ruby bindings for new notmuch_database_{open, create} signaturesAustin Clements
2012-04-28ruby: Use notmuch_database_destroy instead of notmuch_database_closeJustus Winter
Adapt the ruby bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2011-10-04ruby: Fix macros, use quotingAli Polatel
Fix Data_Get_Notmuch_* macro definitions broken by prev. commit Adequate quoting for Data_Get_Notmuch_* macros Remove duplicated RSTRING_PTR() macros, move it to defs.h
2011-10-04ruby: be consistent with notmuch's coding styleAli Polatel
No functional change, just indentation
2011-10-04ruby: Add wrappers for database_find_message*Ali Polatel
Two new wrappers: Notmuch::Database.find_message(id) => Notmuch::Message or nil Notmuch::Database.find_message_by_filename(path) => Notmuch::Message or nil
2011-09-24ruby: Wrap notmuch_database_{begin,end}_atomicAli Polatel
Adding ruby wrappers for functions: - notmuch_database_begin_atomic() - notmuch_database_end_atomic() added by 957f1ba3fc1d737887029ff1787fc6bea94de00b New functions: Notmuch::Database.begin_atomic() Notmuch::Database.end_atomic()
2010-06-06ruby: Don't barf if an object is destroyed more than onceAli Polatel
Raise RuntimeError instead. Also revise Notmuch::Database a bit. Add Notmuch::Database.open singleton method.
2010-06-06ruby: Use rb_scan_args()Ali Polatel
2010-06-06ruby: Kill garbage collection related cruft.Ali Polatel
Let the user destroy objects that she wants explicitly. It's not possible to specify the order objects are garbage collected. See id:86y6f8v838.fsf@harikalardiyari.ev on ruby-talk for more information.
2010-06-06ruby: fix documentation of DB.upgrade!Ali Polatel
2010-06-06Initial ruby bindingsAli Polatel