mack-data_factory 0.6.1.1 → 0.6.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/doc/classes/Kernel.html +207 -0
  2. data/doc/classes/Mack.html +143 -0
  3. data/doc/classes/Mack/Data/Bridge.html +269 -0
  4. data/doc/classes/Mack/Data/Factory.html +171 -0
  5. data/doc/classes/Mack/Data/Factory/ClassMethods.html +262 -0
  6. data/doc/classes/Mack/Data/Factory/FieldContentGenerator.html +666 -0
  7. data/doc/classes/Mack/Data/Field.html +267 -0
  8. data/doc/classes/Mack/Data/FieldMgr.html +217 -0
  9. data/doc/classes/Mack/Data/OrmBridge/ActiveRecord.html +267 -0
  10. data/doc/classes/Mack/Data/OrmBridge/DataMapper.html +267 -0
  11. data/doc/classes/Mack/Data/OrmBridge/Default.html +266 -0
  12. data/doc/created.rid +1 -0
  13. data/doc/files/README.html +107 -0
  14. data/doc/files/lib/mack-data_factory/content_generator_rb.html +101 -0
  15. data/doc/files/lib/mack-data_factory/core_extensions/kernel_rb.html +101 -0
  16. data/doc/files/lib/mack-data_factory/data_factory_rb.html +101 -0
  17. data/doc/files/lib/mack-data_factory/field_manager_rb.html +101 -0
  18. data/doc/files/lib/mack-data_factory/field_rb.html +101 -0
  19. data/doc/files/lib/mack-data_factory/orm_api_bridge/bridge_rb.html +101 -0
  20. data/doc/files/lib/mack-data_factory/orm_api_bridge/orm/active_record_rb.html +101 -0
  21. data/doc/files/lib/mack-data_factory/orm_api_bridge/orm/data_mapper_rb.html +101 -0
  22. data/doc/files/lib/mack-data_factory/orm_api_bridge/orm/default_rb.html +101 -0
  23. data/doc/files/lib/mack-data_factory_rb.html +108 -0
  24. data/doc/fr_class_index.html +42 -0
  25. data/doc/fr_file_index.html +37 -0
  26. data/doc/fr_method_index.html +78 -0
  27. data/doc/index.html +24 -0
  28. data/doc/rdoc-style.css +208 -0
  29. metadata +30 -2
@@ -0,0 +1,266 @@
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>Class: Mack::Data::OrmBridge::Default</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
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">Mack::Data::OrmBridge::Default</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../../files/lib/mack-data_factory/orm_api_bridge/orm/default_rb.html">
59
+ lib/mack-data_factory/orm_api_bridge/orm/default.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000028">can_handle</a>&nbsp;&nbsp;
90
+ <a href="#M000031">count</a>&nbsp;&nbsp;
91
+ <a href="#M000029">get</a>&nbsp;&nbsp;
92
+ <a href="#M000030">get_all</a>&nbsp;&nbsp;
93
+ <a href="#M000033">get_first</a>&nbsp;&nbsp;
94
+ <a href="#M000032">save</a>&nbsp;&nbsp;
95
+ </div>
96
+ </div>
97
+
98
+ </div>
99
+
100
+
101
+ <!-- if includes -->
102
+
103
+ <div id="section">
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <!-- if method_list -->
113
+ <div id="methods">
114
+ <h3 class="section-bar">Public Instance methods</h3>
115
+
116
+ <div id="method-M000028" class="method-detail">
117
+ <a name="M000028"></a>
118
+
119
+ <div class="method-heading">
120
+ <a href="#M000028" class="method-signature">
121
+ <span class="method-name">can_handle</span><span class="method-args">(obj)</span>
122
+ </a>
123
+ </div>
124
+
125
+ <div class="method-description">
126
+ <p><a class="source-toggle" href="#"
127
+ onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000028-source">
129
+ <pre>
130
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/orm/default.rb, line 6</span>
131
+ 6: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">can_handle</span>(<span class="ruby-identifier">obj</span>)
132
+ 7: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
133
+ 8: <span class="ruby-keyword kw">end</span>
134
+ </pre>
135
+ </div>
136
+ </div>
137
+ </div>
138
+
139
+ <div id="method-M000031" class="method-detail">
140
+ <a name="M000031"></a>
141
+
142
+ <div class="method-heading">
143
+ <a href="#M000031" class="method-signature">
144
+ <span class="method-name">count</span><span class="method-args">(obj, *args)</span>
145
+ </a>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+ <p><a class="source-toggle" href="#"
150
+ onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
151
+ <div class="method-source-code" id="M000031-source">
152
+ <pre>
153
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/orm/default.rb, line 18</span>
154
+ 18: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
155
+ 19: <span class="ruby-constant">Mack</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-value str">&quot;Mack::Data::OrmBridge: You don't have supported orm api handler installed.&quot;</span>
156
+ 20: <span class="ruby-keyword kw">end</span>
157
+ </pre>
158
+ </div>
159
+ </div>
160
+ </div>
161
+
162
+ <div id="method-M000029" class="method-detail">
163
+ <a name="M000029"></a>
164
+
165
+ <div class="method-heading">
166
+ <a href="#M000029" class="method-signature">
167
+ <span class="method-name">get</span><span class="method-args">(obj, *args)</span>
168
+ </a>
169
+ </div>
170
+
171
+ <div class="method-description">
172
+ <p><a class="source-toggle" href="#"
173
+ onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
174
+ <div class="method-source-code" id="M000029-source">
175
+ <pre>
176
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/orm/default.rb, line 10</span>
177
+ 10: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
178
+ 11: <span class="ruby-constant">Mack</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-value str">&quot;Mack::Data::OrmBridge: You don't have supported orm api handler installed.&quot;</span>
179
+ 12: <span class="ruby-keyword kw">end</span>
180
+ </pre>
181
+ </div>
182
+ </div>
183
+ </div>
184
+
185
+ <div id="method-M000030" class="method-detail">
186
+ <a name="M000030"></a>
187
+
188
+ <div class="method-heading">
189
+ <a href="#M000030" class="method-signature">
190
+ <span class="method-name">get_all</span><span class="method-args">(obj, *args)</span>
191
+ </a>
192
+ </div>
193
+
194
+ <div class="method-description">
195
+ <p><a class="source-toggle" href="#"
196
+ onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
197
+ <div class="method-source-code" id="M000030-source">
198
+ <pre>
199
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/orm/default.rb, line 14</span>
200
+ 14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_all</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
201
+ 15: <span class="ruby-constant">Mack</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-value str">&quot;Mack::Data::OrmBridge: You don't have supported orm api handler installed.&quot;</span>
202
+ 16: <span class="ruby-keyword kw">end</span>
203
+ </pre>
204
+ </div>
205
+ </div>
206
+ </div>
207
+
208
+ <div id="method-M000033" class="method-detail">
209
+ <a name="M000033"></a>
210
+
211
+ <div class="method-heading">
212
+ <a href="#M000033" class="method-signature">
213
+ <span class="method-name">get_first</span><span class="method-args">(obj, *args)</span>
214
+ </a>
215
+ </div>
216
+
217
+ <div class="method-description">
218
+ <p><a class="source-toggle" href="#"
219
+ onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
220
+ <div class="method-source-code" id="M000033-source">
221
+ <pre>
222
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/orm/default.rb, line 26</span>
223
+ 26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_first</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
224
+ 27: <span class="ruby-constant">Mack</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-value str">&quot;Mack::Data::OrmBridge: You don't have supported orm api handler installed.&quot;</span>
225
+ 28: <span class="ruby-keyword kw">end</span>
226
+ </pre>
227
+ </div>
228
+ </div>
229
+ </div>
230
+
231
+ <div id="method-M000032" class="method-detail">
232
+ <a name="M000032"></a>
233
+
234
+ <div class="method-heading">
235
+ <a href="#M000032" class="method-signature">
236
+ <span class="method-name">save</span><span class="method-args">(obj, *args)</span>
237
+ </a>
238
+ </div>
239
+
240
+ <div class="method-description">
241
+ <p><a class="source-toggle" href="#"
242
+ onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
243
+ <div class="method-source-code" id="M000032-source">
244
+ <pre>
245
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/orm/default.rb, line 22</span>
246
+ 22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
247
+ 23: <span class="ruby-constant">Mack</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">warn</span> <span class="ruby-value str">&quot;Mack::Data::OrmBridge: You don't have supported orm api handler installed.&quot;</span>
248
+ 24: <span class="ruby-keyword kw">end</span>
249
+ </pre>
250
+ </div>
251
+ </div>
252
+ </div>
253
+
254
+
255
+ </div>
256
+
257
+
258
+ </div>
259
+
260
+
261
+ <div id="validator-badges">
262
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
263
+ </div>
264
+
265
+ </body>
266
+ </html>
data/doc/created.rid ADDED
@@ -0,0 +1 @@
1
+ Fri, 29 Aug 2008 11:16:43 -0400
@@ -0,0 +1,107 @@
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: README</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
+ <div id="fileHeader">
50
+ <h1>README</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>README
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri Aug 29 11:14:24 -0400 2008</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <p>
73
+ <a href="../classes/Mack.html">Mack</a>-data_factory
74
+ </p>
75
+
76
+ </div>
77
+
78
+
79
+ </div>
80
+
81
+
82
+ </div>
83
+
84
+
85
+ <!-- if includes -->
86
+
87
+ <div id="section">
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <!-- if method_list -->
97
+
98
+
99
+ </div>
100
+
101
+
102
+ <div id="validator-badges">
103
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
104
+ </div>
105
+
106
+ </body>
107
+ </html>
@@ -0,0 +1,101 @@
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: content_generator.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
+ <div id="fileHeader">
50
+ <h1>content_generator.rb</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>lib/mack-data_factory/content_generator.rb
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Fri Aug 29 11:14:24 -0400 2008</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+ </div>
74
+
75
+
76
+ </div>
77
+
78
+
79
+ <!-- if includes -->
80
+
81
+ <div id="section">
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <!-- if method_list -->
91
+
92
+
93
+ </div>
94
+
95
+
96
+ <div id="validator-badges">
97
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
98
+ </div>
99
+
100
+ </body>
101
+ </html>