edi4r 0.9.4.1 → 0.9.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/AuthorCopyright +3 -3
  3. data/{ChangeLog → Changelog} +60 -0
  4. data/README +15 -10
  5. data/Tutorial +2 -3
  6. data/VERSION +1 -1
  7. data/bin/edi2xml.rb +12 -16
  8. data/bin/editool.rb +9 -5
  9. data/bin/sedas2eancom02.rb +1385 -0
  10. data/bin/xml2edi.rb +7 -12
  11. data/data/edifact/iso9735/SDCD.20000.csv +1 -0
  12. data/data/edifact/iso9735/SDCD.3for2.csv +1 -0
  13. data/data/edifact/iso9735/SDED.20000.csv +6 -0
  14. data/data/edifact/iso9735/SDED.30000.csv +43 -43
  15. data/data/edifact/iso9735/SDED.3for2.csv +6 -0
  16. data/data/edifact/iso9735/SDED.40000.csv +129 -129
  17. data/data/edifact/iso9735/SDED.40100.csv +130 -130
  18. data/data/edifact/iso9735/SDMD.20000.csv +6 -0
  19. data/data/edifact/iso9735/SDMD.30000.csv +6 -6
  20. data/data/edifact/iso9735/SDMD.3for2.csv +6 -0
  21. data/data/edifact/iso9735/SDMD.40000.csv +17 -17
  22. data/data/edifact/iso9735/SDMD.40100.csv +17 -17
  23. data/data/edifact/iso9735/SDSD.20000.csv +5 -0
  24. data/data/edifact/iso9735/SDSD.3for2.csv +5 -0
  25. data/data/edifact/untdid/EDMD.d01b.csv +1 -1
  26. data/data/sedas/EDCD..csv +0 -0
  27. data/data/sedas/EDED..csv +859 -0
  28. data/data/sedas/EDMD..csv +16 -0
  29. data/data/sedas/EDSD..csv +44 -0
  30. data/lib/edi4r.rb +147 -67
  31. data/lib/edi4r/ansi_x12-rexml.rb +91 -0
  32. data/lib/edi4r/ansi_x12.rb +1684 -0
  33. data/lib/edi4r/diagrams.rb +75 -14
  34. data/lib/edi4r/edifact-rexml.rb +4 -3
  35. data/lib/edi4r/edifact.rb +505 -202
  36. data/lib/edi4r/rexml.rb +13 -7
  37. data/lib/edi4r/sedas.rb +854 -0
  38. data/lib/edi4r/standards.rb +150 -33
  39. data/test/damaged_file.edi +1 -0
  40. data/test/eancom2webedi.rb +1 -0
  41. data/test/groups.edi +1 -1
  42. data/test/test_basics.rb +16 -9
  43. data/test/test_edi_split.rb +30 -0
  44. data/test/test_loopback.rb +7 -2
  45. data/test/test_rexml.rb +34 -2
  46. data/test/test_service_messages.rb +190 -0
  47. data/test/test_streaming.rb +167 -0
  48. data/test/test_tut_examples.rb +3 -1
  49. data/test/webedi2eancom.rb +1 -0
  50. metadata +121 -77
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # -*- encoding: iso-8859-1 -*-
2
3
  #
3
4
  # Mapping demo: Outbound, from inhouse to EANCOM
4
5
  #
metadata CHANGED
@@ -1,77 +1,141 @@
1
- --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.10
3
- specification_version: 1
1
+ --- !ruby/object:Gem::Specification
4
2
  name: edi4r
5
- version: !ruby/object:Gem::Version
6
- version: 0.9.4.1
7
- date: 2006-08-01
8
- summary: "EDI for Ruby: Parse, create, map, or validate EDI interchanges"
9
- require_paths:
10
- - lib
11
- email: edi@informatik.fh-wiesbaden.de
12
- homepage: http://www.informatik.fh-wiesbaden.de/~werntges/proj/edi4r01.html
13
- rubyforge_project:
14
- description: "edi4r turns Ruby into a powerful EDI mapping language: - create or process UN/EDIFACT interchanges intuitively - validate messages with information from the original UN/TDIDs - integrate classical EDI data and XML documents through edi4r's generic EDI/XML translator (add-on gem, DTD provided)."
15
- autorequire: edi4r
16
- default_executable: editool.rb
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.6.2
25
5
  platform: ruby
26
- authors:
6
+ authors:
27
7
  - Heinz W. Werntges
28
- files:
29
- - data/edifact/iso9735/SDMD.20000.csv
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |2
14
+ edi4r turns Ruby into a powerful EDI mapping language:
15
+ - create or process UN/EDIFACT interchanges intuitively
16
+ - validate messages with information from the original UN/TDIDs
17
+ - integrate classical EDI data and XML documents through
18
+ edi4r's generic EDI/XML translator (add-on gem, DTD provided).
19
+ email: edi-ai-dcsm@hs-rm.de
20
+ executables:
21
+ - editool.rb
22
+ - edi2xml.rb
23
+ - xml2edi.rb
24
+ - sedas2eancom02.rb
25
+ extensions: []
26
+ extra_rdoc_files:
27
+ - Changelog
28
+ - README
29
+ - Tutorial
30
+ - TO-DO
31
+ - COPYING
32
+ - VERSION
33
+ - AuthorCopyright
34
+ files:
35
+ - AuthorCopyright
36
+ - COPYING
37
+ - Changelog
38
+ - README
39
+ - TO-DO
40
+ - Tutorial
41
+ - VERSION
42
+ - bin/edi2xml.rb
43
+ - bin/editool.rb
44
+ - bin/sedas2eancom02.rb
45
+ - bin/xml2edi.rb
46
+ - data/edifact/iso9735/SDCD.10000.csv
47
+ - data/edifact/iso9735/SDCD.20000.csv
48
+ - data/edifact/iso9735/SDCD.30000.csv
49
+ - data/edifact/iso9735/SDCD.3for2.csv
30
50
  - data/edifact/iso9735/SDCD.40000.csv
31
- - data/edifact/iso9735/SDED.20000.csv
32
- - data/edifact/iso9735/SDSD.20000.csv
33
- - data/edifact/iso9735/SDMD.40000.csv
34
51
  - data/edifact/iso9735/SDCD.40100.csv
52
+ - data/edifact/iso9735/SDED.10000.csv
53
+ - data/edifact/iso9735/SDED.20000.csv
54
+ - data/edifact/iso9735/SDED.30000.csv
55
+ - data/edifact/iso9735/SDED.3for2.csv
35
56
  - data/edifact/iso9735/SDED.40000.csv
36
- - data/edifact/iso9735/SDSD.40000.csv
37
- - data/edifact/iso9735/SDMD.40100.csv
38
- - data/edifact/iso9735/SDCD.10000.csv
39
57
  - data/edifact/iso9735/SDED.40100.csv
40
- - data/edifact/iso9735/SDSD.40100.csv
41
58
  - data/edifact/iso9735/SDMD.10000.csv
42
- - data/edifact/iso9735/SDCD.30000.csv
43
- - data/edifact/iso9735/SDED.10000.csv
44
- - data/edifact/iso9735/SDSD.10000.csv
59
+ - data/edifact/iso9735/SDMD.20000.csv
45
60
  - data/edifact/iso9735/SDMD.30000.csv
46
- - data/edifact/iso9735/SDED.30000.csv
61
+ - data/edifact/iso9735/SDMD.3for2.csv
62
+ - data/edifact/iso9735/SDMD.40000.csv
63
+ - data/edifact/iso9735/SDMD.40100.csv
64
+ - data/edifact/iso9735/SDSD.10000.csv
65
+ - data/edifact/iso9735/SDSD.20000.csv
47
66
  - data/edifact/iso9735/SDSD.30000.csv
48
- - data/edifact/iso9735/SDCD.20000.csv
49
- - data/edifact/untdid/EDCD.d96a.csv
50
- - data/edifact/untdid/EDED.d96a.csv
51
- - data/edifact/untdid/EDMD.d96a.csv
52
- - data/edifact/untdid/EDSD.d96a.csv
67
+ - data/edifact/iso9735/SDSD.3for2.csv
68
+ - data/edifact/iso9735/SDSD.40000.csv
69
+ - data/edifact/iso9735/SDSD.40100.csv
53
70
  - data/edifact/untdid/EDCD.d01b.csv
71
+ - data/edifact/untdid/EDCD.d96a.csv
54
72
  - data/edifact/untdid/EDED.d01b.csv
73
+ - data/edifact/untdid/EDED.d96a.csv
55
74
  - data/edifact/untdid/EDMD.d01b.csv
75
+ - data/edifact/untdid/EDMD.d96a.csv
56
76
  - data/edifact/untdid/EDSD.d01b.csv
77
+ - data/edifact/untdid/EDSD.d96a.csv
57
78
  - data/edifact/untdid/IDCD.d01b.csv
58
79
  - data/edifact/untdid/IDMD.d01b.csv
59
80
  - data/edifact/untdid/IDSD.d01b.csv
81
+ - data/sedas/EDCD..csv
82
+ - data/sedas/EDED..csv
83
+ - data/sedas/EDMD..csv
84
+ - data/sedas/EDSD..csv
60
85
  - lib/edi4r.rb
61
- - lib/edi4r/standards.rb
62
- - lib/edi4r/rexml.rb
63
- - lib/edi4r/edifact.rb
64
- - lib/edi4r/edifact-rexml.rb
86
+ - lib/edi4r/ansi_x12-rexml.rb
87
+ - lib/edi4r/ansi_x12.rb
65
88
  - lib/edi4r/diagrams.rb
66
89
  - lib/edi4r/edi4r-1.2.dtd
67
- - ChangeLog
68
- - README
69
- - Tutorial
70
- - TO-DO
71
- - COPYING
72
- - VERSION
73
- - AuthorCopyright
74
- test_files:
90
+ - lib/edi4r/edifact-rexml.rb
91
+ - lib/edi4r/edifact.rb
92
+ - lib/edi4r/rexml.rb
93
+ - lib/edi4r/sedas.rb
94
+ - lib/edi4r/standards.rb
95
+ - test/damaged_file.edi
96
+ - test/eancom2webedi.rb
97
+ - test/groups.edi
98
+ - test/in1.edi
99
+ - test/in1.inh
100
+ - test/in2.edi
101
+ - test/in2.xml
102
+ - test/test_basics.rb
103
+ - test/test_edi_split.rb
104
+ - test/test_loopback.rb
105
+ - test/test_minidemo.rb
106
+ - test/test_rexml.rb
107
+ - test/test_service_messages.rb
108
+ - test/test_streaming.rb
109
+ - test/test_tut_examples.rb
110
+ - test/webedi2eancom.rb
111
+ homepage: http://rubyforge.org/projects/edi4r/
112
+ licenses:
113
+ - Ruby
114
+ metadata: {}
115
+ post_install_message:
116
+ rdoc_options: []
117
+ require_paths:
118
+ - lib
119
+ required_ruby_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements:
130
+ - Sufficient main memory for large interchanges
131
+ - Optional Gem "edi4r-untdids" for support of more than D.96A and D.01B
132
+ - Optional Gem "edi4r-idoc" for SAP IDoc support
133
+ rubyforge_project: edi4r
134
+ rubygems_version: 2.4.5
135
+ signing_key:
136
+ specification_version: 4
137
+ summary: 'EDI for Ruby: Parse, create, map, or validate EDI interchanges'
138
+ test_files:
75
139
  - test/test_basics.rb
76
140
  - test/test_loopback.rb
77
141
  - test/test_edi_split.rb
@@ -80,31 +144,11 @@ test_files:
80
144
  - test/webedi2eancom.rb
81
145
  - test/eancom2webedi.rb
82
146
  - test/test_minidemo.rb
147
+ - test/test_streaming.rb
148
+ - test/test_service_messages.rb
83
149
  - test/in1.inh
84
150
  - test/in1.edi
85
151
  - test/in2.edi
86
152
  - test/in2.xml
87
153
  - test/groups.edi
88
- rdoc_options: []
89
-
90
- extra_rdoc_files:
91
- - ChangeLog
92
- - README
93
- - Tutorial
94
- - TO-DO
95
- - COPYING
96
- - VERSION
97
- - AuthorCopyright
98
- executables:
99
- - editool.rb
100
- - edi2xml.rb
101
- - xml2edi.rb
102
- extensions: []
103
-
104
- requirements:
105
- - Sufficient main memory for large interchanges
106
- - Optional Gem "edi4r-untdids" for support of more than D.96A and D.01B
107
- - Optional Gem "edi4r-idoc" for SAP IDoc support
108
- - Optional Gem "edi4r-xml" for XML support
109
- dependencies: []
110
-
154
+ - test/damaged_file.edi