ixyml 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/.gitignore +19 -0
  2. data/.gitignore~ +17 -0
  3. data/Gemfile +12 -0
  4. data/Gemfile.lock +44 -0
  5. data/Gemfile~ +13 -0
  6. data/LICENSE +22 -0
  7. data/README.md +29 -0
  8. data/Rakefile +2 -0
  9. data/bin/dbg_x2o +8 -0
  10. data/bin/x2y +8 -0
  11. data/bin/y2x +17 -0
  12. data/ixyml.gemspec +23 -0
  13. data/lib/ixyml.rb +10 -0
  14. data/lib/ixyml/version.rb +3 -0
  15. data/lib/ixyml/xyml.rb +821 -0
  16. data/lib/ixyml/xyml_element.rb +778 -0
  17. data/test/dirTemp/ktest00.nml.j2j.json +1 -0
  18. data/test/dirTemp/ktest00.nml.nml.xml +53 -0
  19. data/test/dirTemp/ktest00.nml.nml.yaml +74 -0
  20. data/test/dirTemp/ktest00.nml.x2j.json +1 -0
  21. data/test/dirTemp/ktest00.nml.x2x.xml +53 -0
  22. data/test/dirTemp/ktest00.nml.xyj.yaml +134 -0
  23. data/test/dirTemp/ktest00.nml.xyx.xml +53 -0
  24. data/test/dirTemp/ktest00.nml.xyx.yaml +134 -0
  25. data/test/dirTemp/ktest00.nml.y2j.json +1 -0
  26. data/test/dirTemp/ktest00.nml.y2y.yaml +74 -0
  27. data/test/dirTemp/ktest00.nml.yxy.xml +2 -0
  28. data/test/dirTemp/ktest00.nml.yxy.yaml +74 -0
  29. data/test/dirTemp/ktest01.nml.yaml +74 -0
  30. data/test/dirTemp/ktest01.yxy.xml +2 -0
  31. data/test/dirTemp/ktest01.yxy.yaml +74 -0
  32. data/test/dirTemp/test01.nml.nml.xml +21 -0
  33. data/test/dirTemp/test01.nml.nml.yaml +5 -0
  34. data/test/dirTemp/test01.nml.x2j.json +1 -0
  35. data/test/dirTemp/test01.nml.x2x.xml +21 -0
  36. data/test/dirTemp/test01.nml.xyj.yaml +18 -0
  37. data/test/dirTemp/test01.nml.xyx.xml +21 -0
  38. data/test/dirTemp/test01.nml.xyx.yaml +18 -0
  39. data/test/dirTemp/test01.nml.y2j.json +1 -0
  40. data/test/dirTemp/test01.nml.y2y.yaml +5 -0
  41. data/test/dirTemp/test01.nml.yaml +74 -0
  42. data/test/dirTemp/test01.nml.yxy.xml +3 -0
  43. data/test/dirTemp/test01.nml.yxy.yaml +5 -0
  44. data/test/dirTemp/test01.yxy.xml +2 -0
  45. data/test/dirTemp/test01.yxy.yaml +74 -0
  46. data/test/dirTemp/testBreak.nml.yaml +7 -0
  47. data/test/dirTemp/testBreak.yxy.xml +5 -0
  48. data/test/dirTemp/testBreak.yxy.yaml +7 -0
  49. data/test/dirTemp/testCDATA.nml.nml.xml +26 -0
  50. data/test/dirTemp/testCDATA.nml.x2j.json +1 -0
  51. data/test/dirTemp/testCDATA.nml.x2x.xml +26 -0
  52. data/test/dirTemp/testCDATA.nml.xyj.yaml +18 -0
  53. data/test/dirTemp/testCDATA.nml.xyx.xml +26 -0
  54. data/test/dirTemp/testCDATA.nml.xyx.yaml +18 -0
  55. data/test/dirTemp/testCDATA.nml.y2j.json +1 -0
  56. data/test/dirTemp/testEscape.nml.nml.xml +77 -0
  57. data/test/dirTemp/testEscape.nml.nml.yaml +53 -0
  58. data/test/dirTemp/testEscape.nml.x2j.json +1 -0
  59. data/test/dirTemp/testEscape.nml.x2x.xml +77 -0
  60. data/test/dirTemp/testEscape.nml.xyj.yaml +213 -0
  61. data/test/dirTemp/testEscape.nml.xyx.xml +77 -0
  62. data/test/dirTemp/testEscape.nml.xyx.yaml +213 -0
  63. data/test/dirTemp/testEscape.nml.y2j.json +1 -0
  64. data/test/dirTemp/testEscape.nml.y2y.yaml +53 -0
  65. data/test/dirTemp/testEscape.nml.yxy.xml +2 -0
  66. data/test/dirTemp/testEscape.nml.yxy.yaml +53 -0
  67. data/test/dirTemp/testNS.nml.nml.xml +21 -0
  68. data/test/dirTemp/testNS.nml.x2j.json +1 -0
  69. data/test/dirTemp/testNS.nml.x2x.xml +21 -0
  70. data/test/dirTemp/testNS.nml.xyj.yaml +19 -0
  71. data/test/dirTemp/testNS.nml.xyx.xml +21 -0
  72. data/test/dirTemp/testNS.nml.xyx.yaml +19 -0
  73. data/test/dirTemp/testNS.nml.y2j.json +1 -0
  74. data/test/test_xyml.rb +167 -0
  75. data/test/test_xyml.rb~ +167 -0
  76. data/test/test_xyml_element.rb +241 -0
  77. data/test/test_xyml_element.rb~ +111 -0
  78. data/test/testfiles/ktest00.nml.ori.json +1 -0
  79. data/test/testfiles/ktest00.nml.ori.xml +53 -0
  80. data/test/testfiles/ktest00.nml.ori.yaml +74 -0
  81. data/test/testfiles/ktest00.nml.ori.yaml~ +75 -0
  82. data/test/testfiles/ktest01.ori.yaml +75 -0
  83. data/test/testfiles/test01.nml.ori.xml +21 -0
  84. data/test/testfiles/test01.nml.ori.yaml +5 -0
  85. data/test/testfiles/test01.ori.yaml +75 -0
  86. data/test/testfiles/testBreak.ori.yaml +10 -0
  87. data/test/testfiles/testCDATA.ng.ng.xml +26 -0
  88. data/test/testfiles/testEscape.nml.ori.xml +77 -0
  89. data/test/testfiles/testEscape.nml.ori.yaml +105 -0
  90. data/test/testfiles/testNS.nml.ori.xml +21 -0
  91. data/test/testfiles/xmlTemp.xml +2 -0
  92. data/test/testfiles/xymlTemp.xyml +6 -0
  93. metadata +230 -0
@@ -0,0 +1,21 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <quiz xmlns:hnd=''>
3
+ <hnd:group1>
4
+ <hnd:text1>
5
+ abcdefg
6
+ hijklmnopq
7
+ rstuvwxyz
8
+ </hnd:text1>
9
+ <hnd:text2>
10
+ abcdefg
11
+ hijklmnopq
12
+ rstuvwxyz
13
+ </hnd:text2>
14
+ </hnd:group1>
15
+ <hnd:group2>
16
+ <hnd:text1>
17
+ abcdefg
18
+ hijklmnopq
19
+ </hnd:text1>
20
+ </hnd:group2>
21
+ </quiz>
@@ -0,0 +1,2 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <quiz type='handWriting'><questions><question>who are your?</question></questions></quiz>
@@ -0,0 +1,6 @@
1
+ ---
2
+ - quiz:
3
+ - type: handWriting
4
+ - questions:
5
+ - question:
6
+ - who are your?
metadata ADDED
@@ -0,0 +1,230 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ixyml
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Nobuhiko Ido
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-10 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! "I propose a new file format called \"XYML.\" Xyml module has the
15
+ following functions:\n * loads a XYML file as an instance of Xyml::Document, saves
16
+ an instance of Xyml::Document as a XYML file.\n * loads an XML subset file as an
17
+ instance of Xyml::Document, saves an instance of Xyml::Document as an XML file.
18
+ \n * saves an instance of Xyml::Document as a JSON file.\n * converts an instance
19
+ of Xyml::Document to an instance of REXML::Document and vice versa. The instance
20
+ of REXML::Document supports a subset of XML specifications. \nXyml_element module
21
+ provides XYML element API methods. These API methods can be used to elements in
22
+ Xyml::Document."
23
+ email:
24
+ - ido@gifu-keizai.ac.jp
25
+ executables:
26
+ - dbg_x2o
27
+ - x2y
28
+ - y2x
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - .gitignore
33
+ - .gitignore~
34
+ - Gemfile
35
+ - Gemfile.lock
36
+ - Gemfile~
37
+ - LICENSE
38
+ - README.md
39
+ - Rakefile
40
+ - bin/dbg_x2o
41
+ - bin/x2y
42
+ - bin/y2x
43
+ - ixyml.gemspec
44
+ - lib/ixyml.rb
45
+ - lib/ixyml/version.rb
46
+ - lib/ixyml/xyml.rb
47
+ - lib/ixyml/xyml_element.rb
48
+ - test/dirTemp/ktest00.nml.j2j.json
49
+ - test/dirTemp/ktest00.nml.nml.xml
50
+ - test/dirTemp/ktest00.nml.nml.yaml
51
+ - test/dirTemp/ktest00.nml.x2j.json
52
+ - test/dirTemp/ktest00.nml.x2x.xml
53
+ - test/dirTemp/ktest00.nml.xyj.yaml
54
+ - test/dirTemp/ktest00.nml.xyx.xml
55
+ - test/dirTemp/ktest00.nml.xyx.yaml
56
+ - test/dirTemp/ktest00.nml.y2j.json
57
+ - test/dirTemp/ktest00.nml.y2y.yaml
58
+ - test/dirTemp/ktest00.nml.yxy.xml
59
+ - test/dirTemp/ktest00.nml.yxy.yaml
60
+ - test/dirTemp/ktest01.nml.yaml
61
+ - test/dirTemp/ktest01.yxy.xml
62
+ - test/dirTemp/ktest01.yxy.yaml
63
+ - test/dirTemp/test01.nml.nml.xml
64
+ - test/dirTemp/test01.nml.nml.yaml
65
+ - test/dirTemp/test01.nml.x2j.json
66
+ - test/dirTemp/test01.nml.x2x.xml
67
+ - test/dirTemp/test01.nml.xyj.yaml
68
+ - test/dirTemp/test01.nml.xyx.xml
69
+ - test/dirTemp/test01.nml.xyx.yaml
70
+ - test/dirTemp/test01.nml.y2j.json
71
+ - test/dirTemp/test01.nml.y2y.yaml
72
+ - test/dirTemp/test01.nml.yaml
73
+ - test/dirTemp/test01.nml.yxy.xml
74
+ - test/dirTemp/test01.nml.yxy.yaml
75
+ - test/dirTemp/test01.yxy.xml
76
+ - test/dirTemp/test01.yxy.yaml
77
+ - test/dirTemp/testBreak.nml.yaml
78
+ - test/dirTemp/testBreak.yxy.xml
79
+ - test/dirTemp/testBreak.yxy.yaml
80
+ - test/dirTemp/testCDATA.nml.nml.xml
81
+ - test/dirTemp/testCDATA.nml.x2j.json
82
+ - test/dirTemp/testCDATA.nml.x2x.xml
83
+ - test/dirTemp/testCDATA.nml.xyj.yaml
84
+ - test/dirTemp/testCDATA.nml.xyx.xml
85
+ - test/dirTemp/testCDATA.nml.xyx.yaml
86
+ - test/dirTemp/testCDATA.nml.y2j.json
87
+ - test/dirTemp/testEscape.nml.nml.xml
88
+ - test/dirTemp/testEscape.nml.nml.yaml
89
+ - test/dirTemp/testEscape.nml.x2j.json
90
+ - test/dirTemp/testEscape.nml.x2x.xml
91
+ - test/dirTemp/testEscape.nml.xyj.yaml
92
+ - test/dirTemp/testEscape.nml.xyx.xml
93
+ - test/dirTemp/testEscape.nml.xyx.yaml
94
+ - test/dirTemp/testEscape.nml.y2j.json
95
+ - test/dirTemp/testEscape.nml.y2y.yaml
96
+ - test/dirTemp/testEscape.nml.yxy.xml
97
+ - test/dirTemp/testEscape.nml.yxy.yaml
98
+ - test/dirTemp/testNS.nml.nml.xml
99
+ - test/dirTemp/testNS.nml.x2j.json
100
+ - test/dirTemp/testNS.nml.x2x.xml
101
+ - test/dirTemp/testNS.nml.xyj.yaml
102
+ - test/dirTemp/testNS.nml.xyx.xml
103
+ - test/dirTemp/testNS.nml.xyx.yaml
104
+ - test/dirTemp/testNS.nml.y2j.json
105
+ - test/test_xyml.rb
106
+ - test/test_xyml.rb~
107
+ - test/test_xyml_element.rb
108
+ - test/test_xyml_element.rb~
109
+ - test/testfiles/ktest00.nml.ori.json
110
+ - test/testfiles/ktest00.nml.ori.xml
111
+ - test/testfiles/ktest00.nml.ori.yaml
112
+ - test/testfiles/ktest00.nml.ori.yaml~
113
+ - test/testfiles/ktest01.ori.yaml
114
+ - test/testfiles/test01.nml.ori.xml
115
+ - test/testfiles/test01.nml.ori.yaml
116
+ - test/testfiles/test01.ori.yaml
117
+ - test/testfiles/testBreak.ori.yaml
118
+ - test/testfiles/testCDATA.ng.ng.xml
119
+ - test/testfiles/testEscape.nml.ori.xml
120
+ - test/testfiles/testEscape.nml.ori.yaml
121
+ - test/testfiles/testNS.nml.ori.xml
122
+ - test/testfiles/xmlTemp.xml
123
+ - test/testfiles/xymlTemp.xyml
124
+ homepage: https://github.com/nobuhiko-ido/Ixyml
125
+ licenses: []
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ segments:
137
+ - 0
138
+ hash: -351511487
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ segments:
146
+ - 0
147
+ hash: -351511487
148
+ requirements: []
149
+ rubyforge_project:
150
+ rubygems_version: 1.8.23
151
+ signing_key:
152
+ specification_version: 3
153
+ summary: XYML file accessors and XYML element accessors.
154
+ test_files:
155
+ - test/dirTemp/ktest00.nml.j2j.json
156
+ - test/dirTemp/ktest00.nml.nml.xml
157
+ - test/dirTemp/ktest00.nml.nml.yaml
158
+ - test/dirTemp/ktest00.nml.x2j.json
159
+ - test/dirTemp/ktest00.nml.x2x.xml
160
+ - test/dirTemp/ktest00.nml.xyj.yaml
161
+ - test/dirTemp/ktest00.nml.xyx.xml
162
+ - test/dirTemp/ktest00.nml.xyx.yaml
163
+ - test/dirTemp/ktest00.nml.y2j.json
164
+ - test/dirTemp/ktest00.nml.y2y.yaml
165
+ - test/dirTemp/ktest00.nml.yxy.xml
166
+ - test/dirTemp/ktest00.nml.yxy.yaml
167
+ - test/dirTemp/ktest01.nml.yaml
168
+ - test/dirTemp/ktest01.yxy.xml
169
+ - test/dirTemp/ktest01.yxy.yaml
170
+ - test/dirTemp/test01.nml.nml.xml
171
+ - test/dirTemp/test01.nml.nml.yaml
172
+ - test/dirTemp/test01.nml.x2j.json
173
+ - test/dirTemp/test01.nml.x2x.xml
174
+ - test/dirTemp/test01.nml.xyj.yaml
175
+ - test/dirTemp/test01.nml.xyx.xml
176
+ - test/dirTemp/test01.nml.xyx.yaml
177
+ - test/dirTemp/test01.nml.y2j.json
178
+ - test/dirTemp/test01.nml.y2y.yaml
179
+ - test/dirTemp/test01.nml.yaml
180
+ - test/dirTemp/test01.nml.yxy.xml
181
+ - test/dirTemp/test01.nml.yxy.yaml
182
+ - test/dirTemp/test01.yxy.xml
183
+ - test/dirTemp/test01.yxy.yaml
184
+ - test/dirTemp/testBreak.nml.yaml
185
+ - test/dirTemp/testBreak.yxy.xml
186
+ - test/dirTemp/testBreak.yxy.yaml
187
+ - test/dirTemp/testCDATA.nml.nml.xml
188
+ - test/dirTemp/testCDATA.nml.x2j.json
189
+ - test/dirTemp/testCDATA.nml.x2x.xml
190
+ - test/dirTemp/testCDATA.nml.xyj.yaml
191
+ - test/dirTemp/testCDATA.nml.xyx.xml
192
+ - test/dirTemp/testCDATA.nml.xyx.yaml
193
+ - test/dirTemp/testCDATA.nml.y2j.json
194
+ - test/dirTemp/testEscape.nml.nml.xml
195
+ - test/dirTemp/testEscape.nml.nml.yaml
196
+ - test/dirTemp/testEscape.nml.x2j.json
197
+ - test/dirTemp/testEscape.nml.x2x.xml
198
+ - test/dirTemp/testEscape.nml.xyj.yaml
199
+ - test/dirTemp/testEscape.nml.xyx.xml
200
+ - test/dirTemp/testEscape.nml.xyx.yaml
201
+ - test/dirTemp/testEscape.nml.y2j.json
202
+ - test/dirTemp/testEscape.nml.y2y.yaml
203
+ - test/dirTemp/testEscape.nml.yxy.xml
204
+ - test/dirTemp/testEscape.nml.yxy.yaml
205
+ - test/dirTemp/testNS.nml.nml.xml
206
+ - test/dirTemp/testNS.nml.x2j.json
207
+ - test/dirTemp/testNS.nml.x2x.xml
208
+ - test/dirTemp/testNS.nml.xyj.yaml
209
+ - test/dirTemp/testNS.nml.xyx.xml
210
+ - test/dirTemp/testNS.nml.xyx.yaml
211
+ - test/dirTemp/testNS.nml.y2j.json
212
+ - test/test_xyml.rb
213
+ - test/test_xyml.rb~
214
+ - test/test_xyml_element.rb
215
+ - test/test_xyml_element.rb~
216
+ - test/testfiles/ktest00.nml.ori.json
217
+ - test/testfiles/ktest00.nml.ori.xml
218
+ - test/testfiles/ktest00.nml.ori.yaml
219
+ - test/testfiles/ktest00.nml.ori.yaml~
220
+ - test/testfiles/ktest01.ori.yaml
221
+ - test/testfiles/test01.nml.ori.xml
222
+ - test/testfiles/test01.nml.ori.yaml
223
+ - test/testfiles/test01.ori.yaml
224
+ - test/testfiles/testBreak.ori.yaml
225
+ - test/testfiles/testCDATA.ng.ng.xml
226
+ - test/testfiles/testEscape.nml.ori.xml
227
+ - test/testfiles/testEscape.nml.ori.yaml
228
+ - test/testfiles/testNS.nml.ori.xml
229
+ - test/testfiles/xmlTemp.xml
230
+ - test/testfiles/xymlTemp.xyml