Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcd/eddy
๐งจ EDI toolkit (WIP)
https://github.com/tcd/eddy
edi x12
Last synced: 2 months ago
JSON representation
๐งจ EDI toolkit (WIP)
- Host: GitHub
- URL: https://github.com/tcd/eddy
- Owner: tcd
- License: mit
- Created: 2019-11-25T16:49:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T15:29:31.000Z (over 4 years ago)
- Last Synced: 2024-11-06T13:39:09.179Z (2 months ago)
- Topics: edi, x12
- Language: Ruby
- Homepage:
- Size: 2.19 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- Electronic-Interchange-Github-Resources - tcd/eddy - ๐งจ EDI toolkit (WIP) (Libraries / Ruby)
README
# Eddy
[![Gem](https://img.shields.io/gem/v/eddy)][rubygems]
[![Build Status](https://travis-ci.org/tcd/eddy.svg?branch=master)][travis-ci]
[![Coverage Status](https://coveralls.io/repos/github/tcd/eddy/badge.svg?branch=master)][coveralls]
[![License](https://img.shields.io/github/license/tcd/eddy)][license]
[![Documentation](http://img.shields.io/badge/docs-rubydoc.info-blue.svg)][docs][rubygems]: https://rubygems.org/gems/eddy
[travis-ci]: https://travis-ci.org/tcd/eddy
[coveralls]: https://coveralls.io/github/tcd/eddy?branch=master
[license]: https://github.com/tcd/eddy/blob/master/LICENSE.txt
[docs]: https://www.rubydoc.info/gems/eddy/0.10.0## Installation
### Without Rails
Add this line to your application's Gemfile:
```ruby
gem 'eddy'
```And then execute:
```sh
bundle
```### With Rails
Use [eddy-rails](https://github.com/tcd/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](https://opensource.org/licenses/MIT).
## Dependencies
- [erikhuda/thor](https://github.com/erikhuda/thor)
- [tcd/ginny](https://github.com/tcd/ginny)
- [tcd/coolkit](https://github.com/tcd/coolkit)
- [dry-rb/dry-inflector](https://github.com/dry-rb/dry-inflector)
- [davishmcclurg/json_schemer](https://github.com/davishmcclurg/json_schemer)
- [gjtorikian/ecma-re-validator](https://github.com/gjtorikian/ecma-re-validator)
- [ammar/regexp_parser](https://github.com/ammar/regexp_parser)
- [tenderlove/hana](https://github.com/tenderlove/hana)
- [hannesg/uri_template](https://github.com/hannesg/uri_template)
- [ammar/regexp_parser](https://github.com/ammar/regexp_parser)## Alternatives (in Ruby)
- [irobayna/stupidedi](https://github.com/irobayna/stupidedi) - Ruby API for parsing and generating ASC X12 EDI transactions
- [spiridonov/baldr](https://github.com/spiridonov/baldr) - Lightweight EDI X12 translator
- [~~mjpete3/x12~~](https://github.com/mjpete3/x12) [tcd/x12](https://github.com/tcd/x12) - A gem to handle parsing and generation of ANSI X12 documents.### See Also
- [michaelachrisco/Electronic-Interchange-Github-Resources](https://github.com/michaelachrisco/Electronic-Interchange-Github-Resources) - List of EDI (Mostly) Github Resources