csv2hash 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +2 -0
  5. data/UPGRADE.md +6 -0
  6. data/config/rules.erb.yml +7 -0
  7. data/lib/csv2hash/version.rb +1 -1
  8. data/lib/csv2hash/yaml_loader.rb +12 -1
  9. data/spec/csv2hash/yaml_loader_spec.rb +15 -8
  10. metadata +2 -44
  11. data/doc/Cell.html +0 -282
  12. data/doc/Csv2hash/Adapter/Abstract.html +0 -215
  13. data/doc/Csv2hash/Adapter/Base/UnsupportedAdapter.html +0 -123
  14. data/doc/Csv2hash/Adapter/Base.html +0 -201
  15. data/doc/Csv2hash/Adapter/CsvAdapter.html +0 -348
  16. data/doc/Csv2hash/Adapter/MemoryAdapter.html +0 -348
  17. data/doc/Csv2hash/Adapter.html +0 -117
  18. data/doc/Csv2hash/DataWrapper.html +0 -500
  19. data/doc/Csv2hash/Definition.html +0 -1008
  20. data/doc/Csv2hash/Discover.html +0 -192
  21. data/doc/Csv2hash/Expectation.html +0 -202
  22. data/doc/Csv2hash/ExtraValidator.html +0 -207
  23. data/doc/Csv2hash/Main.html +0 -1298
  24. data/doc/Csv2hash/Notifier.html +0 -189
  25. data/doc/Csv2hash/Parser/Collection.html +0 -283
  26. data/doc/Csv2hash/Parser/Mapping.html +0 -266
  27. data/doc/Csv2hash/Parser.html +0 -121
  28. data/doc/Csv2hash/StructureValidator/Deprecation.html +0 -215
  29. data/doc/Csv2hash/StructureValidator/MaxColumns.html +0 -327
  30. data/doc/Csv2hash/StructureValidator/MinColumns.html +0 -327
  31. data/doc/Csv2hash/StructureValidator/ValidationError.html +0 -123
  32. data/doc/Csv2hash/StructureValidator/Validator.html +0 -184
  33. data/doc/Csv2hash/StructureValidator.html +0 -311
  34. data/doc/Csv2hash/Validator/Collection.html +0 -217
  35. data/doc/Csv2hash/Validator/Mapping.html +0 -200
  36. data/doc/Csv2hash/Validator.html +0 -295
  37. data/doc/Csv2hash.html +0 -131
  38. data/doc/CsvArray.html +0 -200
  39. data/doc/Registry.html +0 -312
  40. data/doc/_index.html +0 -391
  41. data/doc/class_list.html +0 -54
  42. data/doc/css/common.css +0 -1
  43. data/doc/css/full_list.css +0 -57
  44. data/doc/css/style.css +0 -339
  45. data/doc/file.README.html +0 -499
  46. data/doc/file_list.html +0 -56
  47. data/doc/frames.html +0 -26
  48. data/doc/index.html +0 -499
  49. data/doc/js/app.js +0 -219
  50. data/doc/js/full_list.js +0 -178
  51. data/doc/js/jquery.js +0 -4
  52. data/doc/method_list.html +0 -473
  53. data/doc/top-level-namespace.html +0 -114
data/doc/Registry.html DELETED
@@ -1,312 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: Registry
8
-
9
- &mdash; Documentation by YARD 0.8.7.4
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!Registry.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (R)</a> &raquo;
35
-
36
-
37
- <span class="title">Registry</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Registry
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Registry</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/csv2hash/registry.rb</dd>
98
-
99
- </dl>
100
- <div class="clear"></div>
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- <h2>
111
- Instance Method Summary
112
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
113
- </h2>
114
-
115
- <ul class="summary">
116
-
117
- <li class="public ">
118
- <span class="summary_signature">
119
-
120
- <a href="#%5B%5D-instance_method" title="#[] (instance method)">- (Object) <strong>[]</strong>(name) </a>
121
-
122
-
123
-
124
- </span>
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
- <span class="summary_desc"><div class='inline'></div></span>
135
-
136
- </li>
137
-
138
-
139
- <li class="public ">
140
- <span class="summary_signature">
141
-
142
- <a href="#%5B%5D%3D-instance_method" title="#[]= (instance method)">- (Object) <strong>[]=</strong>(name, definition) </a>
143
-
144
-
145
-
146
- </span>
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="summary_desc"><div class='inline'></div></span>
157
-
158
- </li>
159
-
160
-
161
- <li class="public ">
162
- <span class="summary_signature">
163
-
164
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Registry) <strong>initialize</strong> </a>
165
-
166
-
167
-
168
- </span>
169
-
170
-
171
- <span class="note title constructor">constructor</span>
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
- <span class="summary_desc"><div class='inline'>
181
- <p>A new instance of Registry.</p>
182
- </div></span>
183
-
184
- </li>
185
-
186
-
187
- </ul>
188
-
189
-
190
- <div id="constructor_details" class="method_details_list">
191
- <h2>Constructor Details</h2>
192
-
193
- <div class="method_details first">
194
- <h3 class="signature first" id="initialize-instance_method">
195
-
196
- - (<tt><span class='object_link'><a href="" title="Registry (class)">Registry</a></span></tt>) <strong>initialize</strong>
197
-
198
-
199
-
200
-
201
-
202
- </h3><div class="docstring">
203
- <div class="discussion">
204
-
205
- <p>Returns a new instance of Registry</p>
206
-
207
-
208
- </div>
209
- </div>
210
- <div class="tags">
211
-
212
-
213
- </div><table class="source_code">
214
- <tr>
215
- <td>
216
- <pre class="lines">
217
-
218
-
219
- 2
220
- 3
221
- 4</pre>
222
- </td>
223
- <td>
224
- <pre class="code"><span class="info file"># File 'lib/csv2hash/registry.rb', line 2</span>
225
-
226
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
227
- <span class='ivar'>@definitions</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
228
- <span class='kw'>end</span></pre>
229
- </td>
230
- </tr>
231
- </table>
232
- </div>
233
-
234
- </div>
235
-
236
-
237
- <div id="instance_method_details" class="method_details_list">
238
- <h2>Instance Method Details</h2>
239
-
240
-
241
- <div class="method_details first">
242
- <h3 class="signature first" id="[]-instance_method">
243
-
244
- - (<tt>Object</tt>) <strong>[]</strong>(name)
245
-
246
-
247
-
248
-
249
-
250
- </h3><table class="source_code">
251
- <tr>
252
- <td>
253
- <pre class="lines">
254
-
255
-
256
- 6
257
- 7
258
- 8</pre>
259
- </td>
260
- <td>
261
- <pre class="code"><span class="info file"># File 'lib/csv2hash/registry.rb', line 6</span>
262
-
263
- <span class='kw'>def</span> <span class='op'>[]</span> <span class='id identifier rubyid_name'>name</span>
264
- <span class='ivar'>@definitions</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span>
265
- <span class='kw'>end</span></pre>
266
- </td>
267
- </tr>
268
- </table>
269
- </div>
270
-
271
- <div class="method_details ">
272
- <h3 class="signature " id="[]=-instance_method">
273
-
274
- - (<tt>Object</tt>) <strong>[]=</strong>(name, definition)
275
-
276
-
277
-
278
-
279
-
280
- </h3><table class="source_code">
281
- <tr>
282
- <td>
283
- <pre class="lines">
284
-
285
-
286
- 10
287
- 11
288
- 12</pre>
289
- </td>
290
- <td>
291
- <pre class="code"><span class="info file"># File 'lib/csv2hash/registry.rb', line 10</span>
292
-
293
- <span class='kw'>def</span> <span class='op'>[]=</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_definition'>definition</span>
294
- <span class='ivar'>@definitions</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_definition'>definition</span>
295
- <span class='kw'>end</span></pre>
296
- </td>
297
- </tr>
298
- </table>
299
- </div>
300
-
301
- </div>
302
-
303
- </div>
304
-
305
- <div id="footer">
306
- Generated on Fri Aug 29 17:12:26 2014 by
307
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
308
- 0.8.7.4 (ruby-2.1.2).
309
- </div>
310
-
311
- </body>
312
- </html>
data/doc/_index.html DELETED
@@ -1,391 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Documentation by YARD 0.8.7.4
8
-
9
- </title>
10
-
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
-
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
-
15
- <script type="text/javascript" charset="utf-8">
16
- hasFrames = window.top.frames.main ? true : false;
17
- relpath = '';
18
- framesUrl = "frames.html#!_index.html";
19
- </script>
20
-
21
-
22
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <div id="header">
30
- <div id="menu">
31
-
32
-
33
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
34
- </div>
35
-
36
- <div id="search">
37
-
38
- <a class="full_list_link" id="class_list_link"
39
- href="class_list.html">
40
- Class List
41
- </a>
42
-
43
- <a class="full_list_link" id="method_list_link"
44
- href="method_list.html">
45
- Method List
46
- </a>
47
-
48
- <a class="full_list_link" id="file_list_link"
49
- href="file_list.html">
50
- File List
51
- </a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.4</h1>
60
- <div id="listing">
61
- <h1 class="alphaindex">Alphabetic Index</h1>
62
-
63
- <h2>File Listing</h2>
64
- <ul id="files" class="index_inline_list">
65
-
66
-
67
- <li class="r1"><a href="index.html" title="README">README</a></li>
68
-
69
-
70
- </ul>
71
-
72
- <div class="clear"></div>
73
- <h2>Namespace Listing A-Z</h2>
74
-
75
-
76
-
77
-
78
- <table>
79
- <tr>
80
- <td valign='top' width="33%">
81
-
82
-
83
- <ul id="alpha_A" class="alpha">
84
- <li class="letter">A</li>
85
- <ul>
86
-
87
- <li>
88
- <span class='object_link'><a href="Csv2hash/Adapter/Abstract.html" title="Csv2hash::Adapter::Abstract (class)">Abstract</a></span>
89
-
90
- <small>(Csv2hash::Adapter)</small>
91
-
92
- </li>
93
-
94
- <li>
95
- <span class='object_link'><a href="Csv2hash/Adapter.html" title="Csv2hash::Adapter (module)">Adapter</a></span>
96
-
97
- <small>(Csv2hash)</small>
98
-
99
- </li>
100
-
101
- </ul>
102
- </ul>
103
-
104
-
105
- <ul id="alpha_B" class="alpha">
106
- <li class="letter">B</li>
107
- <ul>
108
-
109
- <li>
110
- <span class='object_link'><a href="Csv2hash/Adapter/Base.html" title="Csv2hash::Adapter::Base (class)">Base</a></span>
111
-
112
- <small>(Csv2hash::Adapter)</small>
113
-
114
- </li>
115
-
116
- </ul>
117
- </ul>
118
-
119
-
120
- <ul id="alpha_C" class="alpha">
121
- <li class="letter">C</li>
122
- <ul>
123
-
124
- <li>
125
- <span class='object_link'><a href="Cell.html" title="Cell (class)">Cell</a></span>
126
-
127
- </li>
128
-
129
- <li>
130
- <span class='object_link'><a href="Csv2hash/Validator/Collection.html" title="Csv2hash::Validator::Collection (module)">Collection</a></span>
131
-
132
- <small>(Csv2hash::Validator)</small>
133
-
134
- </li>
135
-
136
- <li>
137
- <span class='object_link'><a href="Csv2hash/Parser/Collection.html" title="Csv2hash::Parser::Collection (module)">Collection</a></span>
138
-
139
- <small>(Csv2hash::Parser)</small>
140
-
141
- </li>
142
-
143
- <li>
144
- <span class='object_link'><a href="Csv2hash.html" title="Csv2hash (module)">Csv2hash</a></span>
145
-
146
- </li>
147
-
148
- <li>
149
- <span class='object_link'><a href="Csv2hash/Adapter/CsvAdapter.html" title="Csv2hash::Adapter::CsvAdapter (class)">CsvAdapter</a></span>
150
-
151
- <small>(Csv2hash::Adapter)</small>
152
-
153
- </li>
154
-
155
- <li>
156
- <span class='object_link'><a href="CsvArray.html" title="CsvArray (class)">CsvArray</a></span>
157
-
158
- </li>
159
-
160
- </ul>
161
- </ul>
162
-
163
-
164
- <ul id="alpha_D" class="alpha">
165
- <li class="letter">D</li>
166
- <ul>
167
-
168
- <li>
169
- <span class='object_link'><a href="Csv2hash/DataWrapper.html" title="Csv2hash::DataWrapper (class)">DataWrapper</a></span>
170
-
171
- <small>(Csv2hash)</small>
172
-
173
- </li>
174
-
175
- <li>
176
- <span class='object_link'><a href="Csv2hash/Definition.html" title="Csv2hash::Definition (class)">Definition</a></span>
177
-
178
- <small>(Csv2hash)</small>
179
-
180
- </li>
181
-
182
- <li>
183
- <span class='object_link'><a href="Csv2hash/StructureValidator/Deprecation.html" title="Csv2hash::StructureValidator::Deprecation (module)">Deprecation</a></span>
184
-
185
- <small>(Csv2hash::StructureValidator)</small>
186
-
187
- </li>
188
-
189
- <li>
190
- <span class='object_link'><a href="Csv2hash/Discover.html" title="Csv2hash::Discover (module)">Discover</a></span>
191
-
192
- <small>(Csv2hash)</small>
193
-
194
- </li>
195
-
196
- </ul>
197
- </ul>
198
-
199
-
200
- <ul id="alpha_E" class="alpha">
201
- <li class="letter">E</li>
202
- <ul>
203
-
204
- <li>
205
- <span class='object_link'><a href="Csv2hash/Expectation.html" title="Csv2hash::Expectation (module)">Expectation</a></span>
206
-
207
- <small>(Csv2hash)</small>
208
-
209
- </li>
210
-
211
- <li>
212
- <span class='object_link'><a href="Csv2hash/ExtraValidator.html" title="Csv2hash::ExtraValidator (class)">ExtraValidator</a></span>
213
-
214
- <small>(Csv2hash)</small>
215
-
216
- </li>
217
-
218
- </ul>
219
- </ul>
220
-
221
-
222
- <ul id="alpha_M" class="alpha">
223
- <li class="letter">M</li>
224
- <ul>
225
-
226
- <li>
227
- <span class='object_link'><a href="Csv2hash/Main.html" title="Csv2hash::Main (class)">Main</a></span>
228
-
229
- <small>(Csv2hash)</small>
230
-
231
- </li>
232
-
233
- <li>
234
- <span class='object_link'><a href="Csv2hash/Parser/Mapping.html" title="Csv2hash::Parser::Mapping (module)">Mapping</a></span>
235
-
236
- <small>(Csv2hash::Parser)</small>
237
-
238
- </li>
239
-
240
- <li>
241
- <span class='object_link'><a href="Csv2hash/Validator/Mapping.html" title="Csv2hash::Validator::Mapping (module)">Mapping</a></span>
242
-
243
- <small>(Csv2hash::Validator)</small>
244
-
245
- </li>
246
-
247
- <li>
248
- <span class='object_link'><a href="Csv2hash/StructureValidator/MaxColumns.html" title="Csv2hash::StructureValidator::MaxColumns (class)">MaxColumns</a></span>
249
-
250
- <small>(Csv2hash::StructureValidator)</small>
251
-
252
- </li>
253
-
254
- <li>
255
- <span class='object_link'><a href="Csv2hash/Adapter/MemoryAdapter.html" title="Csv2hash::Adapter::MemoryAdapter (class)">MemoryAdapter</a></span>
256
-
257
- <small>(Csv2hash::Adapter)</small>
258
-
259
- </li>
260
-
261
- <li>
262
- <span class='object_link'><a href="Csv2hash/StructureValidator/MinColumns.html" title="Csv2hash::StructureValidator::MinColumns (class)">MinColumns</a></span>
263
-
264
- <small>(Csv2hash::StructureValidator)</small>
265
-
266
- </li>
267
-
268
- </ul>
269
- </ul>
270
-
271
-
272
- <ul id="alpha_N" class="alpha">
273
- <li class="letter">N</li>
274
- <ul>
275
-
276
- <li>
277
- <span class='object_link'><a href="Csv2hash/Notifier.html" title="Csv2hash::Notifier (class)">Notifier</a></span>
278
-
279
- <small>(Csv2hash)</small>
280
-
281
- </li>
282
-
283
- </ul>
284
- </ul>
285
-
286
-
287
- </td><td valign='top' width="33%">
288
-
289
-
290
- <ul id="alpha_P" class="alpha">
291
- <li class="letter">P</li>
292
- <ul>
293
-
294
- <li>
295
- <span class='object_link'><a href="Csv2hash/Parser.html" title="Csv2hash::Parser (module)">Parser</a></span>
296
-
297
- <small>(Csv2hash)</small>
298
-
299
- </li>
300
-
301
- </ul>
302
- </ul>
303
-
304
-
305
- <ul id="alpha_R" class="alpha">
306
- <li class="letter">R</li>
307
- <ul>
308
-
309
- <li>
310
- <span class='object_link'><a href="Registry.html" title="Registry (class)">Registry</a></span>
311
-
312
- </li>
313
-
314
- </ul>
315
- </ul>
316
-
317
-
318
- <ul id="alpha_S" class="alpha">
319
- <li class="letter">S</li>
320
- <ul>
321
-
322
- <li>
323
- <span class='object_link'><a href="Csv2hash/StructureValidator.html" title="Csv2hash::StructureValidator (module)">StructureValidator</a></span>
324
-
325
- <small>(Csv2hash)</small>
326
-
327
- </li>
328
-
329
- </ul>
330
- </ul>
331
-
332
-
333
- <ul id="alpha_U" class="alpha">
334
- <li class="letter">U</li>
335
- <ul>
336
-
337
- <li>
338
- <span class='object_link'><a href="Csv2hash/Adapter/Base/UnsupportedAdapter.html" title="Csv2hash::Adapter::Base::UnsupportedAdapter (class)">UnsupportedAdapter</a></span>
339
-
340
- <small>(Csv2hash::Adapter::Base)</small>
341
-
342
- </li>
343
-
344
- </ul>
345
- </ul>
346
-
347
-
348
- <ul id="alpha_V" class="alpha">
349
- <li class="letter">V</li>
350
- <ul>
351
-
352
- <li>
353
- <span class='object_link'><a href="Csv2hash/StructureValidator/ValidationError.html" title="Csv2hash::StructureValidator::ValidationError (class)">ValidationError</a></span>
354
-
355
- <small>(Csv2hash::StructureValidator)</small>
356
-
357
- </li>
358
-
359
- <li>
360
- <span class='object_link'><a href="Csv2hash/StructureValidator/Validator.html" title="Csv2hash::StructureValidator::Validator (module)">Validator</a></span>
361
-
362
- <small>(Csv2hash::StructureValidator)</small>
363
-
364
- </li>
365
-
366
- <li>
367
- <span class='object_link'><a href="Csv2hash/Validator.html" title="Csv2hash::Validator (module)">Validator</a></span>
368
-
369
- <small>(Csv2hash)</small>
370
-
371
- </li>
372
-
373
- </ul>
374
- </ul>
375
-
376
- </td>
377
- </tr>
378
- </table>
379
-
380
- </div>
381
-
382
- </div>
383
-
384
- <div id="footer">
385
- Generated on Fri Aug 29 17:12:26 2014 by
386
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
387
- 0.8.7.4 (ruby-2.1.2).
388
- </div>
389
-
390
- </body>
391
- </html>