akaer 1.5.8 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,456 @@
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: Akaer::ApplicationMethods::System
8
+
9
+ &mdash; Documentation by YARD 0.8.4.1
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
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!" + escape(window.location.href);
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 (S)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Akaer.html" title="Akaer (module)">Akaer</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../ApplicationMethods.html" title="Akaer::ApplicationMethods (module)">ApplicationMethods</a></span></span>
36
+ &raquo;
37
+ <span class="title">System</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: Akaer::ApplicationMethods::System
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ <dt class="r1">Included in:</dt>
81
+ <dd class="r1"><span class='object_link'><a href="../Application.html" title="Akaer::Application (class)">Akaer::Application</a></span></dd>
82
+
83
+
84
+
85
+ <dt class="r2 last">Defined in:</dt>
86
+ <dd class="r2 last">lib/akaer/application.rb</dd>
87
+
88
+ </dl>
89
+ <div class="clear"></div>
90
+
91
+ <h2>Overview</h2><div class="docstring">
92
+ <div class="discussion">
93
+ <p>System management methods.</p>
94
+
95
+
96
+ </div>
97
+ </div>
98
+ <div class="tags">
99
+
100
+
101
+ </div>
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <h2>
110
+ Instance Method Summary
111
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
112
+ </h2>
113
+
114
+ <ul class="summary">
115
+
116
+ <li class="public ">
117
+ <span class="summary_signature">
118
+
119
+ <a href="#action_add-instance_method" title="#action_add (instance method)">- (Boolean) <strong>action_add</strong> </a>
120
+
121
+
122
+
123
+ </span>
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <span class="summary_desc"><div class='inline'><p>Adds aliases to the interface.</p>
134
+ </div></span>
135
+
136
+ </li>
137
+
138
+
139
+ <li class="public ">
140
+ <span class="summary_signature">
141
+
142
+ <a href="#action_install-instance_method" title="#action_install (instance method)">- (Boolean) <strong>action_install</strong> </a>
143
+
144
+
145
+
146
+ </span>
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'><p>Installs the application into the autolaunch.</p>
157
+ </div></span>
158
+
159
+ </li>
160
+
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#action_remove-instance_method" title="#action_remove (instance method)">- (Boolean) <strong>action_remove</strong> </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <span class="summary_desc"><div class='inline'><p>Removes aliases from the interface.</p>
180
+ </div></span>
181
+
182
+ </li>
183
+
184
+
185
+ <li class="public ">
186
+ <span class="summary_signature">
187
+
188
+ <a href="#action_uninstall-instance_method" title="#action_uninstall (instance method)">- (Boolean) <strong>action_uninstall</strong> </a>
189
+
190
+
191
+
192
+ </span>
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+ <span class="summary_desc"><div class='inline'><p>Uninstalls the application from the autolaunch.</p>
203
+ </div></span>
204
+
205
+ </li>
206
+
207
+
208
+ </ul>
209
+
210
+
211
+
212
+
213
+ <div id="instance_method_details" class="method_details_list">
214
+ <h2>Instance Method Details</h2>
215
+
216
+
217
+ <div class="method_details first">
218
+ <h3 class="signature first" id="action_add-instance_method">
219
+
220
+ - (<tt>Boolean</tt>) <strong>action_add</strong>
221
+
222
+
223
+
224
+
225
+
226
+ </h3><div class="docstring">
227
+ <div class="discussion">
228
+ <p>Adds aliases to the interface.</p>
229
+
230
+
231
+ </div>
232
+ </div>
233
+ <div class="tags">
234
+
235
+ <p class="tag_title">Returns:</p>
236
+ <ul class="return">
237
+
238
+ <li>
239
+
240
+
241
+ <span class='type'>(<tt>Boolean</tt>)</span>
242
+
243
+
244
+
245
+ &mdash;
246
+ <div class='inline'><p><code>true</code> if action succedeed, <code>false</code> otherwise.</p>
247
+ </div>
248
+
249
+ </li>
250
+
251
+ </ul>
252
+
253
+ </div><table class="source_code">
254
+ <tr>
255
+ <td>
256
+ <pre class="lines">
257
+
258
+
259
+ 121
260
+ 122
261
+ 123</pre>
262
+ </td>
263
+ <td>
264
+ <pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 121</span>
265
+
266
+ <span class='kw'>def</span> <span class='id identifier rubyid_action_add'>action_add</span>
267
+ <span class='id identifier rubyid_manage_action'>manage_action</span><span class='lparen'>(</span><span class='symbol'>:add</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_add_empty'>add_empty</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_quiet'>quiet</span><span class='rparen'>)</span>
268
+ <span class='kw'>end</span></pre>
269
+ </td>
270
+ </tr>
271
+ </table>
272
+ </div>
273
+
274
+ <div class="method_details ">
275
+ <h3 class="signature " id="action_install-instance_method">
276
+
277
+ - (<tt>Boolean</tt>) <strong>action_install</strong>
278
+
279
+
280
+
281
+
282
+
283
+ </h3><div class="docstring">
284
+ <div class="discussion">
285
+ <p>Installs the application into the autolaunch.</p>
286
+
287
+
288
+ </div>
289
+ </div>
290
+ <div class="tags">
291
+
292
+ <p class="tag_title">Returns:</p>
293
+ <ul class="return">
294
+
295
+ <li>
296
+
297
+
298
+ <span class='type'>(<tt>Boolean</tt>)</span>
299
+
300
+
301
+
302
+ &mdash;
303
+ <div class='inline'><p><code>true</code> if action succedeed, <code>false</code> otherwise.</p>
304
+ </div>
305
+
306
+ </li>
307
+
308
+ </ul>
309
+
310
+ </div><table class="source_code">
311
+ <tr>
312
+ <td>
313
+ <pre class="lines">
314
+
315
+
316
+ 135
317
+ 136
318
+ 137</pre>
319
+ </td>
320
+ <td>
321
+ <pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 135</span>
322
+
323
+ <span class='kw'>def</span> <span class='id identifier rubyid_action_install'>action_install</span>
324
+ <span class='id identifier rubyid_manage_agent'>manage_agent</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_launch_agent_path'>launch_agent_path</span><span class='comma'>,</span> <span class='symbol'>:create_agent</span><span class='comma'>,</span> <span class='symbol'>:load_agent</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_quiet'>quiet</span><span class='rparen'>)</span>
325
+ <span class='kw'>end</span></pre>
326
+ </td>
327
+ </tr>
328
+ </table>
329
+ </div>
330
+
331
+ <div class="method_details ">
332
+ <h3 class="signature " id="action_remove-instance_method">
333
+
334
+ - (<tt>Boolean</tt>) <strong>action_remove</strong>
335
+
336
+
337
+
338
+
339
+
340
+ </h3><div class="docstring">
341
+ <div class="discussion">
342
+ <p>Removes aliases from the interface.</p>
343
+
344
+
345
+ </div>
346
+ </div>
347
+ <div class="tags">
348
+
349
+ <p class="tag_title">Returns:</p>
350
+ <ul class="return">
351
+
352
+ <li>
353
+
354
+
355
+ <span class='type'>(<tt>Boolean</tt>)</span>
356
+
357
+
358
+
359
+ &mdash;
360
+ <div class='inline'><p><code>true</code> if action succedeed, <code>false</code> otherwise.</p>
361
+ </div>
362
+
363
+ </li>
364
+
365
+ </ul>
366
+
367
+ </div><table class="source_code">
368
+ <tr>
369
+ <td>
370
+ <pre class="lines">
371
+
372
+
373
+ 128
374
+ 129
375
+ 130</pre>
376
+ </td>
377
+ <td>
378
+ <pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 128</span>
379
+
380
+ <span class='kw'>def</span> <span class='id identifier rubyid_action_remove'>action_remove</span>
381
+ <span class='id identifier rubyid_manage_action'>manage_action</span><span class='lparen'>(</span><span class='symbol'>:remove</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_remove_empty'>remove_empty</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_quiet'>quiet</span><span class='rparen'>)</span>
382
+ <span class='kw'>end</span></pre>
383
+ </td>
384
+ </tr>
385
+ </table>
386
+ </div>
387
+
388
+ <div class="method_details ">
389
+ <h3 class="signature " id="action_uninstall-instance_method">
390
+
391
+ - (<tt>Boolean</tt>) <strong>action_uninstall</strong>
392
+
393
+
394
+
395
+
396
+
397
+ </h3><div class="docstring">
398
+ <div class="discussion">
399
+ <p>Uninstalls the application from the autolaunch.</p>
400
+
401
+
402
+ </div>
403
+ </div>
404
+ <div class="tags">
405
+
406
+ <p class="tag_title">Returns:</p>
407
+ <ul class="return">
408
+
409
+ <li>
410
+
411
+
412
+ <span class='type'>(<tt>Boolean</tt>)</span>
413
+
414
+
415
+
416
+ &mdash;
417
+ <div class='inline'><p><code>true</code> if action succedeed, <code>false</code> otherwise.</p>
418
+ </div>
419
+
420
+ </li>
421
+
422
+ </ul>
423
+
424
+ </div><table class="source_code">
425
+ <tr>
426
+ <td>
427
+ <pre class="lines">
428
+
429
+
430
+ 142
431
+ 143
432
+ 144</pre>
433
+ </td>
434
+ <td>
435
+ <pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 142</span>
436
+
437
+ <span class='kw'>def</span> <span class='id identifier rubyid_action_uninstall'>action_uninstall</span>
438
+ <span class='id identifier rubyid_manage_agent'>manage_agent</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_launch_agent_path'>launch_agent_path</span><span class='comma'>,</span> <span class='symbol'>:unload_agent</span><span class='comma'>,</span> <span class='symbol'>:delete_agent</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_quiet'>quiet</span><span class='rparen'>)</span>
439
+ <span class='kw'>end</span></pre>
440
+ </td>
441
+ </tr>
442
+ </table>
443
+ </div>
444
+
445
+ </div>
446
+
447
+ </div>
448
+
449
+ <div id="footer">
450
+ Generated on Sat Feb 9 17:30:34 2013 by
451
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
452
+ 0.8.4.1 (ruby-1.9.3).
453
+ </div>
454
+
455
+ </body>
456
+ </html>
@@ -4,9 +4,9 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Module: Akaer::Errors
7
+ Module: Akaer::ApplicationMethods
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.4.1
10
10
 
11
11
  </title>
12
12
 
@@ -31,10 +31,10 @@
31
31
  <div id="header">
32
32
  <div id="menu">
33
33
 
34
- <a href="../_index.html">Index (E)</a> &raquo;
34
+ <a href="../_index.html">Index (A)</a> &raquo;
35
35
  <span class='title'><span class='object_link'><a href="../Akaer.html" title="Akaer (module)">Akaer</a></span></span>
36
36
  &raquo;
37
- <span class="title">Errors</span>
37
+ <span class="title">ApplicationMethods</span>
38
38
 
39
39
 
40
40
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
@@ -63,7 +63,7 @@
63
63
 
64
64
  <iframe id="search_frame"></iframe>
65
65
 
66
- <div id="content"><h1>Module: Akaer::Errors
66
+ <div id="content"><h1>Module: Akaer::ApplicationMethods
67
67
 
68
68
 
69
69
 
@@ -79,18 +79,28 @@
79
79
 
80
80
 
81
81
  <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/akaer/errors.rb</dd>
82
+ <dd class="r1 last">lib/akaer/application.rb</dd>
83
83
 
84
84
  </dl>
85
85
  <div class="clear"></div>
86
86
 
87
- <h2>Defined Under Namespace</h2>
87
+ <h2>Overview</h2><div class="docstring">
88
+ <div class="discussion">
89
+ <p>Methods for the <span class='object_link'><a href="Application.html" title="Akaer::Application (class)">Application</a></span> class.</p>
90
+
91
+
92
+ </div>
93
+ </div>
94
+ <div class="tags">
95
+
96
+
97
+ </div><h2>Defined Under Namespace</h2>
88
98
  <p class="children">
89
99
 
90
100
 
91
-
101
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="ApplicationMethods/General.html" title="Akaer::ApplicationMethods::General (module)">General</a></span>, <span class='object_link'><a href="ApplicationMethods/System.html" title="Akaer::ApplicationMethods::System (module)">System</a></span>
92
102
 
93
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Errors/InvalidConfiguration.html" title="Akaer::Errors::InvalidConfiguration (class)">InvalidConfiguration</a></span>
103
+
94
104
 
95
105
 
96
106
  </p>
@@ -106,9 +116,9 @@
106
116
  </div>
107
117
 
108
118
  <div id="footer">
109
- Generated on Tue Jul 24 15:51:18 2012 by
119
+ Generated on Sat Feb 9 17:30:34 2013 by
110
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
111
- 0.8.2.1 (ruby-1.9.2).
121
+ 0.8.4.1 (ruby-1.9.3).
112
122
  </div>
113
123
 
114
124
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Akaer::Configuration
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.4.1
10
10
 
11
11
  </title>
12
12
 
@@ -273,9 +273,9 @@
273
273
  </div>
274
274
 
275
275
  <div id="footer">
276
- Generated on Mon Oct 22 09:21:37 2012 by
276
+ Generated on Sat Feb 9 17:30:34 2013 by
277
277
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
278
- 0.8.2.1 (ruby-1.9.2).
278
+ 0.8.4.1 (ruby-1.9.3).
279
279
  </div>
280
280
 
281
281
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Akaer::Version
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.4.1
10
10
 
11
11
  </title>
12
12
 
@@ -119,7 +119,7 @@
119
119
 
120
120
  </div>
121
121
  </dt>
122
- <dd><pre class="code"><span class='int'>1</span></pre></dd>
122
+ <dd><pre class="code"><span class='int'>2</span></pre></dd>
123
123
 
124
124
  <dt id="MINOR-constant" class="">MINOR =
125
125
  <div class="docstring">
@@ -134,7 +134,7 @@
134
134
 
135
135
  </div>
136
136
  </dt>
137
- <dd><pre class="code"><span class='int'>5</span></pre></dd>
137
+ <dd><pre class="code"><span class='int'>0</span></pre></dd>
138
138
 
139
139
  <dt id="PATCH-constant" class="">PATCH =
140
140
  <div class="docstring">
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>8</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>0</span></pre></dd>
153
153
 
154
154
  <dt id="STRING-constant" class="">STRING =
155
155
  <div class="docstring">
@@ -180,9 +180,9 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Mon Oct 22 09:21:37 2012 by
183
+ Generated on Sat Feb 9 17:30:33 2013 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
- 0.8.2.1 (ruby-1.9.2).
185
+ 0.8.4.1 (ruby-1.9.3).
186
186
  </div>
187
187
 
188
188
  </body>
data/doc/Akaer.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Akaer
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.4.1
10
10
 
11
11
  </title>
12
12
 
@@ -88,8 +88,8 @@
88
88
 
89
89
  <h2>Overview</h2><div class="docstring">
90
90
  <div class="discussion">
91
- <p>This file is part of the akaer gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
92
- Licensed under the MIT license, which can be found at <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p>
91
+ <p>This file is part of the akaer gem. Copyright (C) 2013 and above Shogun &lt;shogun_panda@me.com&gt;.
92
+ Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
93
93
 
94
94
 
95
95
  </div>
@@ -101,7 +101,7 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
101
101
  <p class="children">
102
102
 
103
103
 
104
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Akaer/Version.html" title="Akaer::Version (module)">Version</a></span>
104
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Akaer/ApplicationMethods.html" title="Akaer::ApplicationMethods (module)">ApplicationMethods</a></span>, <span class='object_link'><a href="Akaer/Version.html" title="Akaer::Version (module)">Version</a></span>
105
105
 
106
106
 
107
107
 
@@ -121,9 +121,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Mon Oct 22 09:21:37 2012 by
124
+ Generated on Sat Feb 9 17:30:33 2013 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
- 0.8.2.1 (ruby-1.9.2).
126
+ 0.8.4.1 (ruby-1.9.3).
127
127
  </div>
128
128
 
129
129
  </body>