This is a gem containing the Xapian Ruby bindings, together with a build of xapian-core. These are compiled natively on installation and installed in the lib/ directory - the file there is a placeholder, but should reflect the current version.
The process for updating the gem is as follows:
- Update the
Rakefile:vershould match the Xapian versionsha256should match the hash for each Xapian archive.
- Clear the
libdirectory. - Run
rake compileto download the Xapian bindings for the version specified and compiles:lib/xapian.rbRuby Xapian bindingslib/_xapian.{so,bundle}shared library for the current platform.
- Run
rake testto check the Xapian bindings can be loaded in Ruby. - Update
xapian-full.gemspec:s.versionshould be the Xapian version, followed by the iteration of the gem, e.g.1.4.11.1s.filewill need updating to reflect the new archive file namess.dateands.authorsshould be updated appropriatelys.required_ruby_versionmay need updating, consult the Xapian release notes for any changes.
- Run
gem build xapian-full.gemspecand push to Rubygems. - Make sure any code using the bindings has been updated to reflect any changes.