EDI Translator XML-RPC Service (for Evergreen)
-Copyright 2010
+Copyright 2010-2011
License: GNU Public License v 2.0 or later
Author: Joe Atzberger
edi_webrick.rb - the main EDI translator daemon script
install.sh - dependency installer (for debian lenny)
README - this file
+ misc/ - patches to EDI4R; purely temporary until we can
+ get the changes accepted upstream
This service can be run on a local or remote system that has the proper ruby environment
established. See the install.sh script for an example of how to install the needed ruby
--- /dev/null
+--- old/lib/edi4r/edifact.rb 2011-01-26 11:25:45.000000000 -0500
++++ new/lib/edi4r/edifact.rb 2011-01-26 16:13:16.000000000 -0500
+@@ -342,7 +342,7 @@
+ special_chars = special_chars.map{|c| c.chr}
+ @pattern_esc = Regexp.new( [ '([', special_chars, '])' ].flatten.join)
+ @pattern_unesc = Regexp.new( [
+- '([^', @esc_char, ']?)', '[', @esc_char,
++ '([^', @esc_char.chr, ']?)', '[', @esc_char.chr,
+ ']([', special_chars,'])'
+ ].flatten.join )
+ root.show_una = true