pose 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,125 @@
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: PoseAssignment
8
+
9
+ &mdash; Documentation by YARD 0.7.3
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
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
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="_index.html">Index (P)</a> &raquo;
37
+
38
+
39
+ <span class="title">PoseAssignment</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</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: PoseAssignment
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">ActiveRecord::Base</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">ActiveRecord::Base</li>
75
+
76
+ <li class="next">PoseAssignment</li>
77
+
78
+ </ul>
79
+ <a href="#" class="inheritanceTree">show all</a>
80
+
81
+ </dd>
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <dt class="r2 last">Defined in:</dt>
92
+ <dd class="r2 last">lib/pose_assignment.rb</dd>
93
+
94
+ </dl>
95
+ <div class="clear"></div>
96
+
97
+ <h2>Overview</h2><div class="docstring">
98
+ <div class="discussion">
99
+ Assigns searchable objects to words in the search index.
100
+
101
+ </div>
102
+ </div>
103
+ <div class="tags">
104
+
105
+
106
+ </div>
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ </div>
117
+
118
+ <div id="footer">
119
+ Generated on Wed Nov 16 11:48:27 2011 by
120
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
+ 0.7.3 (ruby-1.8.7).
122
+ </div>
123
+
124
+ </body>
125
+ </html>
@@ -0,0 +1,255 @@
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: PoseGenerator
8
+
9
+ &mdash; Documentation by YARD 0.7.3
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
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
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="_index.html">Index (P)</a> &raquo;
37
+
38
+
39
+ <span class="title">PoseGenerator</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</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: PoseGenerator
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Rails::Generators::Base</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Rails::Generators::Base</li>
75
+
76
+ <li class="next">PoseGenerator</li>
77
+
78
+ </ul>
79
+ <a href="#" class="inheritanceTree">show all</a>
80
+
81
+ </dd>
82
+
83
+
84
+
85
+
86
+
87
+
88
+ <dt class="r2">Includes:</dt>
89
+ <dd class="r2">Rails::Generators::Migration</dd>
90
+
91
+
92
+
93
+
94
+
95
+ <dt class="r1 last">Defined in:</dt>
96
+ <dd class="r1 last">lib/generators/pose_generator.rb</dd>
97
+
98
+ </dl>
99
+ <div class="clear"></div>
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+ <h2>
112
+ Class Method Summary
113
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
114
+ </h2>
115
+
116
+ <ul class="summary">
117
+
118
+ <li class="public ">
119
+ <span class="summary_signature">
120
+
121
+ <a href="#next_migration_number-class_method" title="next_migration_number (class method)">+ (Object) <strong>next_migration_number</strong>(path) </a>
122
+
123
+
124
+
125
+ </span>
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <span class="summary_desc"><div class='inline'></div></span>
135
+
136
+ </li>
137
+
138
+
139
+ </ul>
140
+
141
+ <h2>
142
+ Instance Method Summary
143
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
144
+ </h2>
145
+
146
+ <ul class="summary">
147
+
148
+ <li class="public ">
149
+ <span class="summary_signature">
150
+
151
+ <a href="#create_migration_file-instance_method" title="#create_migration_file (instance method)">- (Object) <strong>create_migration_file</strong> </a>
152
+
153
+
154
+
155
+ </span>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+ <span class="summary_desc"><div class='inline'></div></span>
165
+
166
+ </li>
167
+
168
+
169
+ </ul>
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <div id="class_method_details" class="method_details_list">
177
+ <h2>Class Method Details</h2>
178
+
179
+
180
+ <div class="method_details first">
181
+ <p class="signature first" id="next_migration_number-class_method">
182
+
183
+ + (<tt>Object</tt>) <strong>next_migration_number</strong>(path)
184
+
185
+
186
+
187
+ </p><table class="source_code">
188
+ <tr>
189
+ <td>
190
+ <pre class="lines">
191
+
192
+
193
+ 12
194
+ 13
195
+ 14</pre>
196
+ </td>
197
+ <td>
198
+ <pre class="code"><span class="info file"># File 'lib/generators/pose_generator.rb', line 12</span>
199
+
200
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='next_migration_number identifier id'>next_migration_number</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
201
+ <span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='now identifier id'>now</span><span class='dot token'>.</span><span class='utc identifier id'>utc</span><span class='dot token'>.</span><span class='strftime identifier id'>strftime</span><span class='lparen token'>(</span><span class='string val'>&quot;%Y%m%d%H%M%S&quot;</span><span class='rparen token'>)</span>
202
+ <span class='end end kw'>end</span>
203
+ </pre>
204
+ </td>
205
+ </tr>
206
+ </table>
207
+ </div>
208
+
209
+ </div>
210
+
211
+ <div id="instance_method_details" class="method_details_list">
212
+ <h2>Instance Method Details</h2>
213
+
214
+
215
+ <div class="method_details first">
216
+ <p class="signature first" id="create_migration_file-instance_method">
217
+
218
+ - (<tt>Object</tt>) <strong>create_migration_file</strong>
219
+
220
+
221
+
222
+ </p><table class="source_code">
223
+ <tr>
224
+ <td>
225
+ <pre class="lines">
226
+
227
+
228
+ 8
229
+ 9
230
+ 10</pre>
231
+ </td>
232
+ <td>
233
+ <pre class="code"><span class="info file"># File 'lib/generators/pose_generator.rb', line 8</span>
234
+
235
+ <span class='def def kw'>def</span> <span class='create_migration_file identifier id'>create_migration_file</span>
236
+ <span class='migration_template identifier id'>migration_template</span> <span class='string val'>'migration.rb'</span><span class='comma token'>,</span> <span class='string val'>'db/migrate/pose.rb'</span>
237
+ <span class='end end kw'>end</span>
238
+ </pre>
239
+ </td>
240
+ </tr>
241
+ </table>
242
+ </div>
243
+
244
+ </div>
245
+
246
+ </div>
247
+
248
+ <div id="footer">
249
+ Generated on Wed Nov 16 11:48:27 2011 by
250
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
251
+ 0.7.3 (ruby-1.8.7).
252
+ </div>
253
+
254
+ </body>
255
+ </html>
@@ -0,0 +1,261 @@
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: PoseMigrations
8
+
9
+ &mdash; Documentation by YARD 0.7.3
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
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
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="_index.html">Index (P)</a> &raquo;
37
+
38
+
39
+ <span class="title">PoseMigrations</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</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: PoseMigrations
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">ActiveRecord::Migration</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">ActiveRecord::Migration</li>
75
+
76
+ <li class="next">PoseMigrations</li>
77
+
78
+ </ul>
79
+ <a href="#" class="inheritanceTree">show all</a>
80
+
81
+ </dd>
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <dt class="r2 last">Defined in:</dt>
92
+ <dd class="r2 last">lib/generators/templates/migration.rb</dd>
93
+
94
+ </dl>
95
+ <div class="clear"></div>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+ <h2>
106
+ Class Method Summary
107
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
108
+ </h2>
109
+
110
+ <ul class="summary">
111
+
112
+ <li class="public ">
113
+ <span class="summary_signature">
114
+
115
+ <a href="#down-class_method" title="down (class method)">+ (Object) <strong>down</strong> </a>
116
+
117
+
118
+
119
+ </span>
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ <span class="summary_desc"><div class='inline'></div></span>
129
+
130
+ </li>
131
+
132
+
133
+ <li class="public ">
134
+ <span class="summary_signature">
135
+
136
+ <a href="#up-class_method" title="up (class method)">+ (Object) <strong>up</strong> </a>
137
+
138
+
139
+
140
+ </span>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ <span class="summary_desc"><div class='inline'></div></span>
150
+
151
+ </li>
152
+
153
+
154
+ </ul>
155
+
156
+
157
+
158
+
159
+
160
+ <div id="class_method_details" class="method_details_list">
161
+ <h2>Class Method Details</h2>
162
+
163
+
164
+ <div class="method_details first">
165
+ <p class="signature first" id="down-class_method">
166
+
167
+ + (<tt>Object</tt>) <strong>down</strong>
168
+
169
+
170
+
171
+ </p><table class="source_code">
172
+ <tr>
173
+ <td>
174
+ <pre class="lines">
175
+
176
+
177
+ 19
178
+ 20
179
+ 21
180
+ 22</pre>
181
+ </td>
182
+ <td>
183
+ <pre class="code"><span class="info file"># File 'lib/generators/templates/migration.rb', line 19</span>
184
+
185
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='down identifier id'>down</span>
186
+ <span class='drop_table identifier id'>drop_table</span> <span class='string val'>'pose_assignments'</span>
187
+ <span class='drop_table identifier id'>drop_table</span> <span class='string val'>'pose_words'</span>
188
+ <span class='end end kw'>end</span>
189
+ </pre>
190
+ </td>
191
+ </tr>
192
+ </table>
193
+ </div>
194
+
195
+ <div class="method_details ">
196
+ <p class="signature " id="up-class_method">
197
+
198
+ + (<tt>Object</tt>) <strong>up</strong>
199
+
200
+
201
+
202
+ </p><table class="source_code">
203
+ <tr>
204
+ <td>
205
+ <pre class="lines">
206
+
207
+
208
+ 2
209
+ 3
210
+ 4
211
+ 5
212
+ 6
213
+ 7
214
+ 8
215
+ 9
216
+ 10
217
+ 11
218
+ 12
219
+ 13
220
+ 14
221
+ 15
222
+ 16
223
+ 17</pre>
224
+ </td>
225
+ <td>
226
+ <pre class="code"><span class="info file"># File 'lib/generators/templates/migration.rb', line 2</span>
227
+
228
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='up identifier id'>up</span>
229
+ <span class='create_table identifier id'>create_table</span> <span class='string val'>&quot;pose_assignments&quot;</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='t identifier id'>t</span><span class='bitor op'>|</span>
230
+ <span class='t identifier id'>t</span><span class='dot token'>.</span><span class='integer identifier id'>integer</span> <span class='string val'>&quot;pose_word_id&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:null</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='false false kw'>false</span>
231
+ <span class='t identifier id'>t</span><span class='dot token'>.</span><span class='integer identifier id'>integer</span> <span class='string val'>&quot;posable_id&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:null</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='false false kw'>false</span>
232
+ <span class='t identifier id'>t</span><span class='dot token'>.</span><span class='string identifier id'>string</span> <span class='string val'>&quot;posable_type&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:limit</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='integer val'>40</span><span class='comma token'>,</span> <span class='symbol val'>:null</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='false false kw'>false</span>
233
+ <span class='end end kw'>end</span>
234
+
235
+ <span class='add_index identifier id'>add_index</span> <span class='string val'>&quot;pose_assignments&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:word_id</span>
236
+ <span class='add_index identifier id'>add_index</span> <span class='string val'>&quot;pose_assignments&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:wordable_id</span>
237
+
238
+ <span class='create_table identifier id'>create_table</span> <span class='string val'>&quot;pose_words&quot;</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='t identifier id'>t</span><span class='bitor op'>|</span>
239
+ <span class='t identifier id'>t</span><span class='dot token'>.</span><span class='string identifier id'>string</span> <span class='string val'>&quot;text&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:limit</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='integer val'>80</span><span class='comma token'>,</span> <span class='symbol val'>:null</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='false false kw'>false</span>
240
+ <span class='end end kw'>end</span>
241
+
242
+ <span class='add_index identifier id'>add_index</span> <span class='string val'>&quot;words&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:text</span>
243
+ <span class='end end kw'>end</span>
244
+ </pre>
245
+ </td>
246
+ </tr>
247
+ </table>
248
+ </div>
249
+
250
+ </div>
251
+
252
+ </div>
253
+
254
+ <div id="footer">
255
+ Generated on Wed Nov 16 11:48:27 2011 by
256
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
257
+ 0.7.3 (ruby-1.8.7).
258
+ </div>
259
+
260
+ </body>
261
+ </html>