D 2018-01-28T23:27:35.325 L Xregistry P d15ff1a01cebaa5214e6e19f7b5b76f698b71e79 U wbp W 1355

Xregistry

A cross-platform registry class for Ruby for storing application configuration parameters. The application programming interface (API) is based on the FOX registry class, which is part of the FOX GUI toolkit ([http://www.fox-toolkit.org/]). This gem defines a class that can be used in the same way as the FOX registry, but without needing the FOX toolkit. The original FOX registry uses the Windows registry if running under Windows, and an .INI type file if running under Unix-type systems. This class also uses the Windows registry if running under Windows, but uses an SQLite3 database if running under a Unix-type system.

Comparison with Wregistry

I have written another Ruby gem Wregistry with similar capabilities to Xregistry. The main differences between the two are:
  • Xregistry is in itself a pure Ruby gem, but uses the sqlite3 gem to provide access to the SQLite3 database.
  • Xregistry uses the Windows registry (via 'win32/registry' if running under Windows.
  • Wregistry is a C-extension, and does not depend on the sqlite3 gem, but uses the SQLite3 library directly.
  • Wregistry always uses the SQLite3 library, whether or not running under Windows.
  • Z dd2bc418c13d40aeeaef5d35faa3e6a4