Project

nemah

0.0
No commit activity in last 3 years
No release in over 3 years
Nemah is a library for calculating the proper amount of fodder for your horse.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 2.2
~> 10.1
~> 2.14
 Project Readme

Nemah Build Status Code Climate Gem version

Nemah is a library for calculating the proper amount of fodder for your horse. In real life, Nemah is an Arabian horse with an immense appetite.

Requirements

Given that Nemah is an Arabian princess, she wants as many rubies as possible, but no fewer than 2.0. Thus MRI and JRuby are supported, whereas Rubinius needs to add support for keyword arguments.

Installation.

Add this line to your application's Gemfile:

gem 'nemah'

And then execute:

$ bundle

Or install it yourself as:

$ gem install nemah

Usage

Currently implemented functionality

  • Calculate a working horse's need of energy, protein, solids, macrominerals, and selenium.
  • Calculations are made internally with at least three digits precision. Public methods will return values rounded to two decimals by default.
  • Balances, e.g. calcium-phosphor, protein-energy etc.
  • Rations, i.e. given a horse with a need, and a fodder list, does the horse get enough nutrients in proper balances?

Yet to be implemented

  • Microminerals and their specific balances apart from selenium.
  • Given a horse, its needs, and a list of fodder, calculate suitable rations.
  • Support horses with very specific needs, e.g. mares with foals, young horses, race horses etc.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request