Low commit activity in last 3 years
No release in over a year
Xapian bindings for Ruby without dependency on system Xapian library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 13.0
 Project Readme

xapian-full-alaveteli

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.

Updating

The process for updating the gem is as follows:

  • Update the Rakefile:
    • ver should match the Xapian version
    • sha256 should match the hash for each Xapian archive.
  • Clear the lib directory.
  • Run rake compile to download the Xapian bindings for the version specified and compiles:
    • lib/xapian.rb Ruby Xapian bindings
    • lib/_xapian.{so,bundle} shared library for the current platform.
  • Run rake test to check the Xapian bindings can be loaded in Ruby.
  • Update xapian-full.gemspec:
    • s.version should be the Xapian version, followed by the iteration of the gem, e.g. 1.4.11.1
    • s.file will need updating to reflect the new archive file names
    • s.date and s.authors should be updated appropriately
    • s.required_ruby_version may need updating, consult the Xapian release notes for any changes.
  • Run gem build xapian-full.gemspec and push to Rubygems.
  • Make sure any code using the bindings has been updated to reflect any changes.