Project

tcd_x12

0.0
No commit activity in last 3 years
No release in over 3 years
A gem to handle parsing and generation of ANSI X12 documents. Currently tested with Ruby >= 1.9.2. Gem supports X12 EDI transactions 270, 997, 837p and 835. Anyone wanting to create additional XML files for other transactions welcomed.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.0
~> 10.0

Runtime

 Project Readme

X12

Gem Ruby Version Inline docs License Documentation

Changes welcome, especially new document types or better tests.

Installation

Add this line to your application's Gemfile:

gem 'tcd_x12'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tcd_x12

Documentation

Major deficiencies

  • Validation is not implemented.
  • Field types are ignored.
  • No access methods for composites’ fields.

Acknowledgments

The authors of the project were inspired by the following works:

  • The Perl X12 parser by Prasad Poruporuthan, search.cpan.org/~prasad/X12-0.09/lib/X12/Parser.pm

  • The Ruby port of the above by Chris Parker, rubyforge.org/projects/x12-parser/

  • This project originated from App Design's X12 parser.

  • Project was forked by Sean Walberg, creating version 1.2.0 in April 2012.

  • Project was forked by Marty Petersen in November 2012, creating pd_x12.

  • Project was forked by Clay Dunston in October 2019, creating tcd_x12.

License

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA