Hoodoo

Simplify the implementation of services within an API-based software platform.

See Hoodoo Guides for extensive documentation and examples.

Note

Latest version v3.1.1 only supports activerecord 7.0 onwards. Use v2.12.11 if you need to support lower activerecord version

Usage

Add the gem to your Gemfile:

gem 'hoodoo', '~> 3.0'

Require hoodoo when needed:

require 'hoodoo'

Functionality includes:

Master documentation is through RDoc (see below).

Workflow / branches

Development occurs on either master directly, or temporary hotfix or feature branches which are subsequently merged to master. This model is used because Gem versions, once Hoodoo is stored in a public Gem repository, will allow other software to decide what changes to import or ignore. The Gem version is not usually altered while Hoodoo stays within a private repository.

See also CONTRIBUTING.md.

Tests

Run the tests:

bundle exec rake

…or…

bundle exec rspec

Documentation (RDoc)

The Hoodoo public API is documented through source code comments with examples and workflow indications. RDoc turns these into HTML. See earlier for some pointers to classes of interest that will be linked to the relevant class documentation if you read all of this through the RDoc output.

If working on an installed copy of the gem through normal channels, you should be able to issue this command:

gem server

…and browse to port 8808 on localhost to get an index of all gem documentation, including that for Hoodoo. Out of the box from GitHub, RDoc precompiled documentation is available but there is a risk it might be out of date. If working on development of the gem in a GitHub repository clone, you can generate or entirely regenerate RDoc files (re-RDoc) with:

bundle exec rake rerdoc

Some additional higher level hand written documentation may also be present as Markdown data inside the docs folder.

Contributors

Licence

Please see the LICENSE and hoodoo.gemspec file for licence details. Those files are authoritative. At the time of writing - though this note might get out of date - Hoodoo is released under the LGPL v3; see: