X12 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/CHANGELOG +6 -1
  2. data/Rakefile +14 -3
  3. data/example/parse.rb +1 -0
  4. data/lib/X12.rb +2 -2
  5. data/lib/X12/Base.rb +5 -1
  6. data/lib/X12/Field.rb +18 -14
  7. data/lib/X12/Loop.rb +10 -6
  8. data/lib/X12/Parser.rb +31 -5
  9. data/lib/X12/Segment.rb +15 -2
  10. data/misc/997.d12 +8 -775
  11. data/misc/IEA.d12 +10 -0
  12. data/misc/ISA.d12 +24 -0
  13. data/misc/SE.d12 +12 -0
  14. data/misc/ST.d12 +7 -0
  15. data/misc/Tbl143.d12 +302 -0
  16. data/misc/Tbl479.d12 +238 -0
  17. data/misc/Tbl715.d12 +11 -0
  18. data/misc/Tbl716.d12 +27 -0
  19. data/misc/Tbl717.d12 +10 -0
  20. data/misc/Tbl718.d12 +29 -0
  21. data/misc/Tbl720.d12 +12 -0
  22. data/misc/Tbl723.d12 +14 -0
  23. data/misc/TblI01.d12 +11 -0
  24. data/misc/TblI03.d12 +6 -0
  25. data/misc/TblI05.d12 +42 -0
  26. data/misc/TblI10.d12 +5 -0
  27. data/misc/TblI11.d12 +18 -0
  28. data/misc/TblI13.d12 +6 -0
  29. data/misc/TblI14.d12 +7 -0
  30. data/test/tc_factory_997.rb +6 -6
  31. data/test/tc_parse_997.rb +4 -4
  32. metadata +23 -37
  33. data/doc/classes/X12.html +0 -174
  34. data/doc/classes/X12/Base.html +0 -677
  35. data/doc/classes/X12/Composite.html +0 -156
  36. data/doc/classes/X12/Empty.html +0 -186
  37. data/doc/classes/X12/Field.html +0 -339
  38. data/doc/classes/X12/Loop.html +0 -202
  39. data/doc/classes/X12/Parser.html +0 -306
  40. data/doc/classes/X12/Segment.html +0 -277
  41. data/doc/classes/X12/Table.html +0 -198
  42. data/doc/created.rid +0 -1
  43. data/doc/files/CHANGELOG.html +0 -108
  44. data/doc/files/README.html +0 -474
  45. data/doc/files/TODO.html +0 -95
  46. data/doc/files/lib/X12/Base_rb.html +0 -83
  47. data/doc/files/lib/X12/Composite_rb.html +0 -83
  48. data/doc/files/lib/X12/Empty_rb.html +0 -83
  49. data/doc/files/lib/X12/Field_rb.html +0 -83
  50. data/doc/files/lib/X12/Loop_rb.html +0 -83
  51. data/doc/files/lib/X12/Parser_rb.html +0 -83
  52. data/doc/files/lib/X12/Segment_rb.html +0 -83
  53. data/doc/files/lib/X12/Table_rb.html +0 -83
  54. data/doc/files/lib/X12_rb.html +0 -100
  55. data/doc/fr_class_index.html +0 -35
  56. data/doc/fr_file_index.html +0 -38
  57. data/doc/fr_method_index.html +0 -62
  58. data/doc/index.html +0 -27
  59. data/doc/rdoc-style.css +0 -208
  60. data/test/ts_x12.rb +0 -27
@@ -1,95 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: TODO</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <!-- banner header -->
50
-
51
- <div id="bodyContent">
52
-
53
-
54
-
55
- <div id="contextContent">
56
-
57
- <div id="description">
58
- <h1>TODO list</h1>
59
- <p>
60
- $Id: TODO 35 2008-11-13 18:33:44Z ikk $
61
- </p>
62
- <p>
63
- Please refer to the task list on Rubyforge site for all outstanding tasks,
64
- see <a
65
- href="http://rubyforge.org/pm/?group_id=7297">rubyforge.org/pm/?group_id=7297</a>
66
- </p>
67
-
68
- </div>
69
-
70
-
71
- </div>
72
-
73
-
74
- </div>
75
-
76
-
77
- <!-- if includes -->
78
-
79
- <div id="section">
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
- <!-- if method_list -->
89
-
90
-
91
- </div>
92
-
93
-
94
- </body>
95
- </html>
@@ -1,83 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: Base.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <!-- banner header -->
50
-
51
- <div id="bodyContent">
52
-
53
-
54
-
55
- <div id="contextContent">
56
-
57
-
58
-
59
- </div>
60
-
61
-
62
- </div>
63
-
64
-
65
- <!-- if includes -->
66
-
67
- <div id="section">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <!-- if method_list -->
77
-
78
-
79
- </div>
80
-
81
-
82
- </body>
83
- </html>
@@ -1,83 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: Composite.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <!-- banner header -->
50
-
51
- <div id="bodyContent">
52
-
53
-
54
-
55
- <div id="contextContent">
56
-
57
-
58
-
59
- </div>
60
-
61
-
62
- </div>
63
-
64
-
65
- <!-- if includes -->
66
-
67
- <div id="section">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <!-- if method_list -->
77
-
78
-
79
- </div>
80
-
81
-
82
- </body>
83
- </html>
@@ -1,83 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: Empty.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <!-- banner header -->
50
-
51
- <div id="bodyContent">
52
-
53
-
54
-
55
- <div id="contextContent">
56
-
57
-
58
-
59
- </div>
60
-
61
-
62
- </div>
63
-
64
-
65
- <!-- if includes -->
66
-
67
- <div id="section">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <!-- if method_list -->
77
-
78
-
79
- </div>
80
-
81
-
82
- </body>
83
- </html>
@@ -1,83 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: Field.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <!-- banner header -->
50
-
51
- <div id="bodyContent">
52
-
53
-
54
-
55
- <div id="contextContent">
56
-
57
-
58
-
59
- </div>
60
-
61
-
62
- </div>
63
-
64
-
65
- <!-- if includes -->
66
-
67
- <div id="section">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <!-- if method_list -->
77
-
78
-
79
- </div>
80
-
81
-
82
- </body>
83
- </html>
@@ -1,83 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: Loop.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <!-- banner header -->
50
-
51
- <div id="bodyContent">
52
-
53
-
54
-
55
- <div id="contextContent">
56
-
57
-
58
-
59
- </div>
60
-
61
-
62
- </div>
63
-
64
-
65
- <!-- if includes -->
66
-
67
- <div id="section">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- <!-- if method_list -->
77
-
78
-
79
- </div>
80
-
81
-
82
- </body>
83
- </html>