I find it a bit annoying to have to modify the query object to add options when Notmuch::Database.query() can do that just fine. This series also adds a mapping to the notmuch_exclude_t enum in order to be able to specify NOTMUCH_EXCLUDE_ALL and others. This patch series goes on top of my ruby test cleanups [1]. [1] id:20210501115923.483816-1-felipe.contreras@gmail.com Felipe Contreras (3): ruby: use notmuch_exclude_t enum ruby: add keyword arguments to db.query test: ruby: simplify basic tests bindings/ruby/database.c | 47 +++++++++++++++++++++++++++++++++++++--- bindings/ruby/defs.h | 2 +- bindings/ruby/init.c | 26 +++++++++++++++++++++- bindings/ruby/query.c | 8 ++++--- test/T395-ruby.sh | 47 +++++++++++++++++++++++++++++++++------- 5 files changed, 114 insertions(+), 16 deletions(-) -- 2.31.0 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org