Eddy

Gem Build Status Coverage Status License Documentation

Installation

Without Rails

Add this line to your application's Gemfile:

gem 'eddy'

And then execute:

bundle

With Rails

Use eddy-rails.

Validation

  • Ensures mandatory elements have assigned an value.
  • Ensures values passed to ID elements are included in the associated code list.
  • Accepts Time#utc objects for DT and TM elements.
  • Makes sure element values aren't set above max length.
  • Pads strings and numbers to ensure min length is met.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tcd/eddy.

License

The gem is available as open source under the terms of the MIT License.

Dependencies

Alternatives (in Ruby)

See Also