record_history 0.0.2 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardoc/checksums +6 -3
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +86 -1
- data/Rakefile +15 -0
- data/doc/CreateRecordHistories.html +20 -14
- data/doc/RecordHistory/Controller.html +164 -0
- data/doc/RecordHistory/InstallGenerator.html +1 -1
- data/doc/RecordHistory/Model/ClassMethods.html +251 -0
- data/doc/RecordHistory/Model/InstanceMethods.html +241 -0
- data/doc/RecordHistory/Model.html +174 -0
- data/doc/RecordHistory.html +125 -3
- data/doc/RecordHistoryModel.html +333 -0
- data/doc/_index.html +42 -1
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +97 -1
- data/doc/top-level-namespace.html +2 -2
- data/lib/generators/record_history/templates/create_record_histories.rb +6 -3
- data/lib/record_history/controller.rb +17 -0
- data/lib/record_history/has_record_history.rb +36 -10
- data/lib/record_history/record_history_model.rb +3 -1
- data/lib/record_history/version.rb +1 -1
- data/lib/record_history.rb +21 -0
- data/record_history.gemspec +9 -3
- data/spec/db/database.yml +18 -0
- data/spec/db/schema.rb +29 -0
- data/spec/debug.log +2559 -0
- data/spec/factories/record_history_models.rb +11 -0
- data/spec/factories/some_datas.rb +7 -0
- data/spec/factories/users.rb +7 -0
- data/spec/record_history_spec.rb +46 -0
- data/spec/spec_helper.rb +36 -0
- data/spec/support/models.rb +13 -0
- metadata +109 -6
@@ -0,0 +1,241 @@
|
|
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: RecordHistory::Model::InstanceMethods
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.5
|
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 (I)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../../RecordHistory.html" title="RecordHistory (module)">RecordHistory</a></span></span> » <span class='title'><span class='object_link'><a href="../Model.html" title="RecordHistory::Model (module)">Model</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">InstanceMethods</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>Module: RecordHistory::Model::InstanceMethods
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
<dt class="r1 last">Defined in:</dt>
|
75
|
+
<dd class="r1 last">lib/record_history/has_record_history.rb</dd>
|
76
|
+
|
77
|
+
</dl>
|
78
|
+
<div class="clear"></div>
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
<h2>
|
89
|
+
Instance Method Summary
|
90
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
91
|
+
</h2>
|
92
|
+
|
93
|
+
<ul class="summary">
|
94
|
+
|
95
|
+
<li class="public ">
|
96
|
+
<span class="summary_signature">
|
97
|
+
|
98
|
+
<a href="#build_record_history_obj-instance_method" title="#build_record_history_obj (instance method)">- (Object) <strong>build_record_history_obj</strong> </a>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
</span>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
112
|
+
|
113
|
+
</li>
|
114
|
+
|
115
|
+
|
116
|
+
<li class="public ">
|
117
|
+
<span class="summary_signature">
|
118
|
+
|
119
|
+
<a href="#save_record_history_obj-instance_method" title="#save_record_history_obj (instance method)">- (Object) <strong>save_record_history_obj</strong> </a>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
</span>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
133
|
+
|
134
|
+
</li>
|
135
|
+
|
136
|
+
|
137
|
+
</ul>
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<div id="instance_method_details" class="method_details_list">
|
143
|
+
<h2>Instance Method Details</h2>
|
144
|
+
|
145
|
+
|
146
|
+
<div class="method_details first">
|
147
|
+
<p class="signature first" id="build_record_history_obj-instance_method">
|
148
|
+
|
149
|
+
- (<tt>Object</tt>) <strong>build_record_history_obj</strong>
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
</p><table class="source_code">
|
154
|
+
<tr>
|
155
|
+
<td>
|
156
|
+
<pre class="lines">
|
157
|
+
|
158
|
+
|
159
|
+
40
|
160
|
+
41
|
161
|
+
42
|
162
|
+
43
|
163
|
+
44
|
164
|
+
45
|
165
|
+
46
|
166
|
+
47
|
167
|
+
48
|
168
|
+
49
|
169
|
+
50
|
170
|
+
51
|
171
|
+
52
|
172
|
+
53
|
173
|
+
54
|
174
|
+
55
|
175
|
+
56</pre>
|
176
|
+
</td>
|
177
|
+
<td>
|
178
|
+
<pre class="code"><span class="info file"># File 'lib/record_history/has_record_history.rb', line 40</span>
|
179
|
+
|
180
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_build_record_history_obj'>build_record_history_obj</span>
|
181
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_record_history_obj'>record_history_obj</span> <span class='op'>||=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
182
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_attr_name'>attr_name</span><span class='op'>|</span>
|
183
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attr_name'>attr_name</span><span class='rbrace'>}</span><span class='tstring_content'>_changed?</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
|
184
|
+
<span class='kw'>next</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_record_history_only'>record_history_only</span> <span class='op'>&&</span> <span class='op'>!</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_record_history_only'>record_history_only</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_attr_name'>attr_name</span><span class='rparen'>)</span>
|
185
|
+
<span class='kw'>next</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_record_history_ignore'>record_history_ignore</span> <span class='op'>&&</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_record_history_ignore'>record_history_ignore</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_attr_name'>attr_name</span><span class='rparen'>)</span>
|
186
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_record_history_obj'>record_history_obj</span> <span class='op'><<</span> <span class='const'>RecordHistoryModel</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
187
|
+
<span class='symbol'>:item_type</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span>
|
188
|
+
<span class='symbol'>:item_id</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
189
|
+
<span class='symbol'>:attr_name</span> <span class='op'>=></span> <span class='id identifier rubyid_attr_name'>attr_name</span><span class='comma'>,</span>
|
190
|
+
<span class='symbol'>:old_value</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attr_name'>attr_name</span><span class='rbrace'>}</span><span class='tstring_content'>_was</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='comma'>,</span>
|
191
|
+
<span class='symbol'>:new_value</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attr_name'>attr_name</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='comma'>,</span>
|
192
|
+
<span class='symbol'>:author</span> <span class='op'>=></span> <span class='const'>RecordHistory</span><span class='period'>.</span><span class='id identifier rubyid_author'>author</span>
|
193
|
+
<span class='rparen'>)</span>
|
194
|
+
<span class='kw'>end</span>
|
195
|
+
<span class='kw'>end</span>
|
196
|
+
<span class='kw'>end</span></pre>
|
197
|
+
</td>
|
198
|
+
</tr>
|
199
|
+
</table>
|
200
|
+
</div>
|
201
|
+
|
202
|
+
<div class="method_details ">
|
203
|
+
<p class="signature " id="save_record_history_obj-instance_method">
|
204
|
+
|
205
|
+
- (<tt>Object</tt>) <strong>save_record_history_obj</strong>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
</p><table class="source_code">
|
210
|
+
<tr>
|
211
|
+
<td>
|
212
|
+
<pre class="lines">
|
213
|
+
|
214
|
+
|
215
|
+
58
|
216
|
+
59
|
217
|
+
60</pre>
|
218
|
+
</td>
|
219
|
+
<td>
|
220
|
+
<pre class="code"><span class="info file"># File 'lib/record_history/has_record_history.rb', line 58</span>
|
221
|
+
|
222
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_save_record_history_obj'>save_record_history_obj</span>
|
223
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_record_history_obj'>record_history_obj</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_save'>save</span><span class='rbrace'>}</span>
|
224
|
+
<span class='kw'>end</span></pre>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
</table>
|
228
|
+
</div>
|
229
|
+
|
230
|
+
</div>
|
231
|
+
|
232
|
+
</div>
|
233
|
+
|
234
|
+
<div id="footer">
|
235
|
+
Generated on Fri Feb 24 12:04:59 2012 by
|
236
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
237
|
+
0.7.5 (ruby-1.9.3).
|
238
|
+
</div>
|
239
|
+
|
240
|
+
</body>
|
241
|
+
</html>
|
@@ -0,0 +1,174 @@
|
|
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: RecordHistory::Model
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.5
|
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 (M)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../RecordHistory.html" title="RecordHistory (module)">RecordHistory</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">Model</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>Module: RecordHistory::Model
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
<dt class="r1 last">Defined in:</dt>
|
75
|
+
<dd class="r1 last">lib/record_history/has_record_history.rb</dd>
|
76
|
+
|
77
|
+
</dl>
|
78
|
+
<div class="clear"></div>
|
79
|
+
|
80
|
+
<h2>Defined Under Namespace</h2>
|
81
|
+
<p class="children">
|
82
|
+
|
83
|
+
|
84
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Model/ClassMethods.html" title="RecordHistory::Model::ClassMethods (module)">ClassMethods</a></span>, <span class='object_link'><a href="Model/InstanceMethods.html" title="RecordHistory::Model::InstanceMethods (module)">InstanceMethods</a></span>
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
</p>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<h2>
|
99
|
+
Class Method Summary
|
100
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
101
|
+
</h2>
|
102
|
+
|
103
|
+
<ul class="summary">
|
104
|
+
|
105
|
+
<li class="public ">
|
106
|
+
<span class="summary_signature">
|
107
|
+
|
108
|
+
<a href="#included-class_method" title="included (class method)">+ (Object) <strong>included</strong>(base) </a>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
</span>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
122
|
+
|
123
|
+
</li>
|
124
|
+
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<div id="class_method_details" class="method_details_list">
|
132
|
+
<h2>Class Method Details</h2>
|
133
|
+
|
134
|
+
|
135
|
+
<div class="method_details first">
|
136
|
+
<p class="signature first" id="included-class_method">
|
137
|
+
|
138
|
+
+ (<tt>Object</tt>) <strong>included</strong>(base)
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
</p><table class="source_code">
|
143
|
+
<tr>
|
144
|
+
<td>
|
145
|
+
<pre class="lines">
|
146
|
+
|
147
|
+
|
148
|
+
4
|
149
|
+
5
|
150
|
+
6</pre>
|
151
|
+
</td>
|
152
|
+
<td>
|
153
|
+
<pre class="code"><span class="info file"># File 'lib/record_history/has_record_history.rb', line 4</span>
|
154
|
+
|
155
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_included'>included</span><span class='lparen'>(</span><span class='id identifier rubyid_base'>base</span><span class='rparen'>)</span>
|
156
|
+
<span class='id identifier rubyid_base'>base</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span> <span class='symbol'>:extend</span><span class='comma'>,</span> <span class='const'>ClassMethods</span>
|
157
|
+
<span class='kw'>end</span></pre>
|
158
|
+
</td>
|
159
|
+
</tr>
|
160
|
+
</table>
|
161
|
+
</div>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
<div id="footer">
|
168
|
+
Generated on Fri Feb 24 12:04:59 2012 by
|
169
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
170
|
+
0.7.5 (ruby-1.9.3).
|
171
|
+
</div>
|
172
|
+
|
173
|
+
</body>
|
174
|
+
</html>
|
data/doc/RecordHistory.html
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
<dt class="r1 last">Defined in:</dt>
|
75
75
|
<dd class="r1 last">lib/record_history.rb<span class="defines">,<br />
|
76
|
-
lib/record_history/version.rb,<br /> lib/generators/record_history/install_generator.rb</span>
|
76
|
+
lib/record_history/version.rb,<br /> lib/record_history/controller.rb,<br /> lib/record_history/has_record_history.rb,<br /> lib/generators/record_history/install_generator.rb</span>
|
77
77
|
</dd>
|
78
78
|
|
79
79
|
</dl>
|
@@ -83,6 +83,8 @@
|
|
83
83
|
<p class="children">
|
84
84
|
|
85
85
|
|
86
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="RecordHistory/Controller.html" title="RecordHistory::Controller (module)">Controller</a></span>, <span class='object_link'><a href="RecordHistory/Model.html" title="RecordHistory::Model (module)">Model</a></span>
|
87
|
+
|
86
88
|
|
87
89
|
|
88
90
|
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RecordHistory/InstallGenerator.html" title="RecordHistory::InstallGenerator (class)">InstallGenerator</a></span>
|
@@ -97,7 +99,12 @@
|
|
97
99
|
<dt id="VERSION-constant" class="">VERSION =
|
98
100
|
|
99
101
|
</dt>
|
100
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
102
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.2</span><span class='tstring_end'>"</span></span></pre></dd>
|
103
|
+
|
104
|
+
<dt id="config-classvariable" class="">@@config =
|
105
|
+
|
106
|
+
</dt>
|
107
|
+
<dd><pre class="code"><span class='lbrace'>{</span><span class='rbrace'>}</span></pre></dd>
|
101
108
|
|
102
109
|
</dl>
|
103
110
|
|
@@ -108,12 +115,127 @@
|
|
108
115
|
|
109
116
|
|
110
117
|
|
118
|
+
|
119
|
+
<h2>
|
120
|
+
Class Method Summary
|
121
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
122
|
+
</h2>
|
123
|
+
|
124
|
+
<ul class="summary">
|
125
|
+
|
126
|
+
<li class="public ">
|
127
|
+
<span class="summary_signature">
|
128
|
+
|
129
|
+
<a href="#author-class_method" title="author (class method)">+ (Object) <strong>author</strong> </a>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
</span>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
143
|
+
|
144
|
+
</li>
|
145
|
+
|
146
|
+
|
147
|
+
<li class="public ">
|
148
|
+
<span class="summary_signature">
|
149
|
+
|
150
|
+
<a href="#author%3D-class_method" title="author= (class method)">+ (Object) <strong>author=</strong>(value) </a>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</span>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
164
|
+
|
165
|
+
</li>
|
166
|
+
|
167
|
+
|
168
|
+
</ul>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
<div id="class_method_details" class="method_details_list">
|
174
|
+
<h2>Class Method Details</h2>
|
175
|
+
|
176
|
+
|
177
|
+
<div class="method_details first">
|
178
|
+
<p class="signature first" id="author-class_method">
|
179
|
+
|
180
|
+
+ (<tt>Object</tt>) <strong>author</strong>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
</p><table class="source_code">
|
185
|
+
<tr>
|
186
|
+
<td>
|
187
|
+
<pre class="lines">
|
188
|
+
|
189
|
+
|
190
|
+
14
|
191
|
+
15
|
192
|
+
16</pre>
|
193
|
+
</td>
|
194
|
+
<td>
|
195
|
+
<pre class="code"><span class="info file"># File 'lib/record_history.rb', line 14</span>
|
196
|
+
|
197
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_author'>author</span>
|
198
|
+
<span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:author</span><span class='rbracket'>]</span>
|
199
|
+
<span class='kw'>end</span></pre>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
</table>
|
203
|
+
</div>
|
204
|
+
|
205
|
+
<div class="method_details ">
|
206
|
+
<p class="signature " id="author=-class_method">
|
207
|
+
|
208
|
+
+ (<tt>Object</tt>) <strong>author=</strong>(value)
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
</p><table class="source_code">
|
213
|
+
<tr>
|
214
|
+
<td>
|
215
|
+
<pre class="lines">
|
216
|
+
|
111
217
|
|
218
|
+
10
|
219
|
+
11
|
220
|
+
12</pre>
|
221
|
+
</td>
|
222
|
+
<td>
|
223
|
+
<pre class="code"><span class="info file"># File 'lib/record_history.rb', line 10</span>
|
224
|
+
|
225
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_author='>author=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
226
|
+
<span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:author</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
|
227
|
+
<span class='kw'>end</span></pre>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
</table>
|
231
|
+
</div>
|
232
|
+
|
233
|
+
</div>
|
112
234
|
|
113
235
|
</div>
|
114
236
|
|
115
237
|
<div id="footer">
|
116
|
-
Generated on
|
238
|
+
Generated on Fri Feb 24 12:04:59 2012 by
|
117
239
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
118
240
|
0.7.5 (ruby-1.9.3).
|
119
241
|
</div>
|