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
@@ -1,348 +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: Csv2hash::Adapter::MemoryAdapter
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#!Csv2hash/Adapter/MemoryAdapter.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 (M)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../Csv2hash.html" title="Csv2hash (module)">Csv2hash</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Adapter.html" title="Csv2hash::Adapter (module)">Adapter</a></span></span>
36
- &raquo;
37
- <span class="title">MemoryAdapter</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: Csv2hash::Adapter::MemoryAdapter
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"><span class='object_link'><a href="Abstract.html" title="Csv2hash::Adapter::Abstract (class)">Abstract</a></span></span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next"><span class='object_link'><a href="Abstract.html" title="Csv2hash::Adapter::Abstract (class)">Abstract</a></span></li>
82
-
83
- <li class="next">Csv2hash::Adapter::MemoryAdapter</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/csv2hash/adapters/memory_adapter.rb</dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
-
105
-
106
-
107
-
108
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
109
- <ul class="summary">
110
-
111
- <li class="public ">
112
- <span class="summary_signature">
113
-
114
- <a href="#data-instance_method" title="#data (instance method)">- (Object) <strong>data</strong> </a>
115
-
116
-
117
-
118
- </span>
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <span class="summary_desc"><div class='inline'>
132
- <p>Returns the value of attribute data.</p>
133
- </div></span>
134
-
135
- </li>
136
-
137
-
138
- </ul>
139
-
140
-
141
-
142
-
143
-
144
- <h2>
145
- Instance Method Summary
146
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
147
- </h2>
148
-
149
- <ul class="summary">
150
-
151
- <li class="public ">
152
- <span class="summary_signature">
153
-
154
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (MemoryAdapter) <strong>initialize</strong>(data) </a>
155
-
156
-
157
-
158
- </span>
159
-
160
-
161
- <span class="note title constructor">constructor</span>
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
- <span class="summary_desc"><div class='inline'>
171
- <p>A new instance of MemoryAdapter.</p>
172
- </div></span>
173
-
174
- </li>
175
-
176
-
177
- <li class="public ">
178
- <span class="summary_signature">
179
-
180
- <a href="#source-instance_method" title="#source (instance method)">- (Object) <strong>source</strong> </a>
181
-
182
-
183
-
184
- </span>
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
- <span class="summary_desc"><div class='inline'></div></span>
195
-
196
- </li>
197
-
198
-
199
- </ul>
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
- <div id="constructor_details" class="method_details_list">
209
- <h2>Constructor Details</h2>
210
-
211
- <div class="method_details first">
212
- <h3 class="signature first" id="initialize-instance_method">
213
-
214
- - (<tt><span class='object_link'><a href="" title="Csv2hash::Adapter::MemoryAdapter (class)">MemoryAdapter</a></span></tt>) <strong>initialize</strong>(data)
215
-
216
-
217
-
218
-
219
-
220
- </h3><div class="docstring">
221
- <div class="discussion">
222
-
223
- <p>Returns a new instance of MemoryAdapter</p>
224
-
225
-
226
- </div>
227
- </div>
228
- <div class="tags">
229
-
230
-
231
- </div><table class="source_code">
232
- <tr>
233
- <td>
234
- <pre class="lines">
235
-
236
-
237
- 9
238
- 10
239
- 11</pre>
240
- </td>
241
- <td>
242
- <pre class="code"><span class="info file"># File 'lib/csv2hash/adapters/memory_adapter.rb', line 9</span>
243
-
244
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_data'>data</span>
245
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span>
246
- <span class='kw'>end</span></pre>
247
- </td>
248
- </tr>
249
- </table>
250
- </div>
251
-
252
- </div>
253
-
254
- <div id="instance_attr_details" class="attr_details">
255
- <h2>Instance Attribute Details</h2>
256
-
257
-
258
- <span id="data=-instance_method"></span>
259
- <div class="method_details first">
260
- <h3 class="signature first" id="data-instance_method">
261
-
262
- - (<tt>Object</tt>) <strong>data</strong>
263
-
264
-
265
-
266
-
267
-
268
- </h3><div class="docstring">
269
- <div class="discussion">
270
-
271
- <p>Returns the value of attribute data</p>
272
-
273
-
274
- </div>
275
- </div>
276
- <div class="tags">
277
-
278
-
279
- </div><table class="source_code">
280
- <tr>
281
- <td>
282
- <pre class="lines">
283
-
284
-
285
- 7
286
- 8
287
- 9</pre>
288
- </td>
289
- <td>
290
- <pre class="code"><span class="info file"># File 'lib/csv2hash/adapters/memory_adapter.rb', line 7</span>
291
-
292
- <span class='kw'>def</span> <span class='id identifier rubyid_data'>data</span>
293
- <span class='ivar'>@data</span>
294
- <span class='kw'>end</span></pre>
295
- </td>
296
- </tr>
297
- </table>
298
- </div>
299
-
300
- </div>
301
-
302
-
303
- <div id="instance_method_details" class="method_details_list">
304
- <h2>Instance Method Details</h2>
305
-
306
-
307
- <div class="method_details first">
308
- <h3 class="signature first" id="source-instance_method">
309
-
310
- - (<tt>Object</tt>) <strong>source</strong>
311
-
312
-
313
-
314
-
315
-
316
- </h3><table class="source_code">
317
- <tr>
318
- <td>
319
- <pre class="lines">
320
-
321
-
322
- 13
323
- 14
324
- 15</pre>
325
- </td>
326
- <td>
327
- <pre class="code"><span class="info file"># File 'lib/csv2hash/adapters/memory_adapter.rb', line 13</span>
328
-
329
- <span class='kw'>def</span> <span class='id identifier rubyid_source'>source</span>
330
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_data'>data</span>
331
- <span class='kw'>end</span></pre>
332
- </td>
333
- </tr>
334
- </table>
335
- </div>
336
-
337
- </div>
338
-
339
- </div>
340
-
341
- <div id="footer">
342
- Generated on Fri Aug 29 17:12:27 2014 by
343
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
344
- 0.8.7.4 (ruby-2.1.2).
345
- </div>
346
-
347
- </body>
348
- </html>
@@ -1,117 +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
- Module: Csv2hash::Adapter
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#!Csv2hash/Adapter.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 (A)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Csv2hash.html" title="Csv2hash (module)">Csv2hash</a></span></span>
36
- &raquo;
37
- <span class="title">Adapter</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>Module: Csv2hash::Adapter
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/csv2hash/adapters/base.rb<span class="defines">,<br />
83
- lib/csv2hash/adapters/abstract.rb,<br /> lib/csv2hash/adapters/csv_adapter.rb,<br /> lib/csv2hash/adapters/memory_adapter.rb</span>
84
- </dd>
85
-
86
- </dl>
87
- <div class="clear"></div>
88
-
89
- <h2>Defined Under Namespace</h2>
90
- <p class="children">
91
-
92
-
93
-
94
-
95
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Adapter/Abstract.html" title="Csv2hash::Adapter::Abstract (class)">Abstract</a></span>, <span class='object_link'><a href="Adapter/Base.html" title="Csv2hash::Adapter::Base (class)">Base</a></span>, <span class='object_link'><a href="Adapter/CsvAdapter.html" title="Csv2hash::Adapter::CsvAdapter (class)">CsvAdapter</a></span>, <span class='object_link'><a href="Adapter/MemoryAdapter.html" title="Csv2hash::Adapter::MemoryAdapter (class)">MemoryAdapter</a></span>
96
-
97
-
98
- </p>
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
- </div>
109
-
110
- <div id="footer">
111
- Generated on Fri Aug 29 17:12:26 2014 by
112
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
113
- 0.8.7.4 (ruby-2.1.2).
114
- </div>
115
-
116
- </body>
117
- </html>