unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 0/3] ruby: improve db.query
@ 2021-05-01 12:04 Felipe Contreras
  2021-05-01 12:04 ` [PATCH 1/3] ruby: use notmuch_exclude_t enum Felipe Contreras
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Felipe Contreras @ 2021-05-01 12:04 UTC (permalink / raw)
  To: notmuch; +Cc: Ludovic LANGE, Stefano Zacchiroli

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-06-08  1:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-01 12:04 [PATCH 0/3] ruby: improve db.query Felipe Contreras
2021-05-01 12:04 ` [PATCH 1/3] ruby: use notmuch_exclude_t enum Felipe Contreras
2021-05-23 12:28   ` David Bremner
2021-05-01 12:04 ` [PATCH 2/3] ruby: add keyword arguments to db.query Felipe Contreras
2021-05-23 12:29   ` David Bremner
2021-05-24  2:23     ` Felipe Contreras
2021-05-01 12:04 ` [PATCH 3/3] test: ruby: simplify basic tests Felipe Contreras
2021-05-23 12:32   ` David Bremner
2021-05-23 22:51     ` Felipe Contreras
2021-06-07 23:53       ` David Bremner
2021-06-08  1:29         ` Felipe Contreras

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).