akaer 1.5.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis-gemfile +13 -0
- data/.travis.yml +6 -4
- data/Gemfile +12 -1
- data/README.md +7 -4
- data/Rakefile +2 -9
- data/akaer.gemspec +5 -10
- data/bin/akaer +19 -17
- data/doc/Akaer/Application.html +1186 -860
- data/doc/Akaer/ApplicationMethods/General.html +365 -0
- data/doc/Akaer/ApplicationMethods/System.html +456 -0
- data/doc/Akaer/{Errors.html → ApplicationMethods.html} +21 -11
- data/doc/Akaer/Configuration.html +3 -3
- data/doc/Akaer/Version.html +6 -6
- data/doc/Akaer.html +6 -6
- data/doc/_index.html +41 -4
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +53 -42
- data/doc/frames.html +1 -1
- data/doc/index.html +53 -42
- data/doc/method_list.html +30 -22
- data/doc/top-level-namespace.html +3 -3
- data/lib/akaer/application.rb +323 -199
- data/lib/akaer/configuration.rb +13 -13
- data/lib/akaer/version.rb +4 -4
- data/lib/akaer.rb +2 -1
- data/locales/en.yml +52 -0
- data/locales/it.yml +52 -0
- data/spec/akaer/application_spec.rb +25 -25
- data/spec/akaer/configuration_spec.rb +3 -3
- data/spec/coverage_helper.rb +6 -9
- data/spec/spec_helper.rb +1 -2
- metadata +18 -115
- data/doc/Akaer/Errors/InvalidConfiguration.html +0 -123
- data/doc/Akaer/Logger.html +0 -596
- data/doc/Fixnum.html +0 -200
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.8.
|
7
|
+
Documentation by YARD 0.8.4.1
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
58
58
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.4.1</h1>
|
60
60
|
<div id="listing">
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
62
|
|
@@ -96,6 +96,13 @@
|
|
96
96
|
|
97
97
|
</li>
|
98
98
|
|
99
|
+
<li>
|
100
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods.html" title="Akaer::ApplicationMethods (module)">ApplicationMethods</a></span>
|
101
|
+
|
102
|
+
<small>(Akaer)</small>
|
103
|
+
|
104
|
+
</li>
|
105
|
+
|
99
106
|
</ul>
|
100
107
|
</ul>
|
101
108
|
|
@@ -115,6 +122,36 @@
|
|
115
122
|
</ul>
|
116
123
|
|
117
124
|
|
125
|
+
<ul id="alpha_G" class="alpha">
|
126
|
+
<li class="letter">G</li>
|
127
|
+
<ul>
|
128
|
+
|
129
|
+
<li>
|
130
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/General.html" title="Akaer::ApplicationMethods::General (module)">General</a></span>
|
131
|
+
|
132
|
+
<small>(Akaer::ApplicationMethods)</small>
|
133
|
+
|
134
|
+
</li>
|
135
|
+
|
136
|
+
</ul>
|
137
|
+
</ul>
|
138
|
+
|
139
|
+
|
140
|
+
<ul id="alpha_S" class="alpha">
|
141
|
+
<li class="letter">S</li>
|
142
|
+
<ul>
|
143
|
+
|
144
|
+
<li>
|
145
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/System.html" title="Akaer::ApplicationMethods::System (module)">System</a></span>
|
146
|
+
|
147
|
+
<small>(Akaer::ApplicationMethods)</small>
|
148
|
+
|
149
|
+
</li>
|
150
|
+
|
151
|
+
</ul>
|
152
|
+
</ul>
|
153
|
+
|
154
|
+
|
118
155
|
<ul id="alpha_V" class="alpha">
|
119
156
|
<li class="letter">V</li>
|
120
157
|
<ul>
|
@@ -138,9 +175,9 @@
|
|
138
175
|
</div>
|
139
176
|
|
140
177
|
<div id="footer">
|
141
|
-
Generated on
|
178
|
+
Generated on Sat Feb 9 17:30:33 2013 by
|
142
179
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
143
|
-
0.8.
|
180
|
+
0.8.4.1 (ruby-1.9.3).
|
144
181
|
</div>
|
145
182
|
|
146
183
|
</body>
|
data/doc/class_list.html
CHANGED
@@ -45,7 +45,7 @@
|
|
45
45
|
|
46
46
|
<ul id="full_list" class="class">
|
47
47
|
<li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
|
48
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="Akaer.html" title="Akaer (module)">Akaer</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Akaer/Application.html" title="Akaer::Application (class)">Application</a></span> < Object<small class='search_info'>Akaer</small></li><li><span class='object_link'><a href="Akaer/Configuration.html" title="Akaer::Configuration (class)">Configuration</a></span> < Configuration<small class='search_info'>Akaer</small></li><li><span class='object_link'><a href="Akaer/Version.html" title="Akaer::Version (module)">Version</a></span><small class='search_info'>Akaer</small></li></ul>
|
48
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="Akaer.html" title="Akaer (module)">Akaer</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Akaer/Application.html" title="Akaer::Application (class)">Application</a></span> < Object<small class='search_info'>Akaer</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Akaer/ApplicationMethods.html" title="Akaer::ApplicationMethods (module)">ApplicationMethods</a></span><small class='search_info'>Akaer</small></li><ul><li><span class='object_link'><a href="Akaer/ApplicationMethods/General.html" title="Akaer::ApplicationMethods::General (module)">General</a></span><small class='search_info'>Akaer::ApplicationMethods</small></li><li><span class='object_link'><a href="Akaer/ApplicationMethods/System.html" title="Akaer::ApplicationMethods::System (module)">System</a></span><small class='search_info'>Akaer::ApplicationMethods</small></li></ul><li><span class='object_link'><a href="Akaer/Configuration.html" title="Akaer::Configuration (class)">Configuration</a></span> < Configuration<small class='search_info'>Akaer</small></li><li><span class='object_link'><a href="Akaer/Version.html" title="Akaer::Version (module)">Version</a></span><small class='search_info'>Akaer</small></li></ul>
|
49
49
|
|
50
50
|
</ul>
|
51
51
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4.1
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -61,80 +61,91 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><h1>akaer</h1>
|
64
|
+
<div id="content"><div id='filecontents'><h1 id="akaer">akaer</h1>
|
65
65
|
|
66
|
-
<p><a href="http://travis-ci.org/ShogunPanda/akaer"><img src="https://secure.travis-ci.org/ShogunPanda/akaer.png?branch=master" alt="Build Status"
|
67
|
-
<a href="https://gemnasium.com/ShogunPanda/akaer"><img src="https://gemnasium.com/ShogunPanda/akaer.png?travis" alt="Dependency Status"
|
68
|
-
<a href="https://codeclimate.com/github/ShogunPanda/akaer"><img src="https://codeclimate.com/
|
66
|
+
<p><a href="http://travis-ci.org/ShogunPanda/akaer"><img src="https://secure.travis-ci.org/ShogunPanda/akaer.png?branch=master" alt="Build Status" /></a>
|
67
|
+
<a href="https://gemnasium.com/ShogunPanda/akaer"><img src="https://gemnasium.com/ShogunPanda/akaer.png?travis" alt="Dependency Status" /></a>
|
68
|
+
<a href="https://codeclimate.com/github/ShogunPanda/akaer"><img src="https://codeclimate.com/github/ShogunPanda/akaer.png" alt="Code Climate" /></a></p>
|
69
69
|
|
70
70
|
<p>A small utility to add aliases to network interfaces.</p>
|
71
71
|
|
72
|
-
<p
|
72
|
+
<p>http://sw.cow.tc/akaer</p>
|
73
73
|
|
74
|
-
<
|
74
|
+
<p>http://rdoc.info/gems/akaer</p>
|
75
|
+
|
76
|
+
<h2 id="description">Description</h2>
|
75
77
|
|
76
78
|
<p>Akaer is a small utility that adds and removes aliases to your network interfaces. This is useful in web development.</p>
|
77
79
|
|
78
|
-
<h2>Basic usage</h2>
|
80
|
+
<h2 id="basic-usage">Basic usage</h2>
|
79
81
|
|
80
82
|
<ol>
|
81
|
-
<li
|
83
|
+
<li>Install the gem:</li>
|
84
|
+
</ol>
|
82
85
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
+
```sh
|
87
|
+
<pre class="code ruby"><code class="ruby">gem install akaer
|
88
|
+
```
|
89
|
+
</code></pre>
|
86
90
|
|
87
|
-
<
|
88
|
-
|
91
|
+
<ol>
|
92
|
+
<li>
|
93
|
+
<p>Run the application:</p>
|
94
|
+
|
95
|
+
<p><code>sh
|
96
|
+
akaer
|
97
|
+
</code></p>
|
98
|
+
</li>
|
89
99
|
</ol>
|
90
100
|
|
91
|
-
<p><strong>You&#
|
101
|
+
<p><strong>You’re done!</strong></p>
|
92
102
|
|
93
|
-
<h2>Advanced usage</h2>
|
103
|
+
<h2 id="advanced-usage">Advanced usage</h2>
|
94
104
|
|
95
|
-
<p>Just type <code>akaer --help</code> and you&#
|
105
|
+
<p>Just type <code>akaer --help</code> and you’ll see all available options.</p>
|
96
106
|
|
97
|
-
<h2>Configuration</h2>
|
107
|
+
<h2 id="configuration">Configuration</h2>
|
98
108
|
|
99
109
|
<p>By defaults, Akaer uses a configuration file in <code>~/.akaer_config</code>, but you can change the path using the <code>--config</code> switch.</p>
|
100
110
|
|
101
111
|
<p>The file is a plain Ruby file with a single <code>config</code> object that supports the following directives.</p>
|
102
112
|
|
103
113
|
<ul>
|
104
|
-
<li><code>interface</code>: The network interface to manage. <code>lo0</code> by default.</li>
|
105
|
-
<li><code>addresses</code>: A specific list of aliases to manage.</li>
|
106
|
-
<li><code>start_address</code>: The address to start sequential address. <code>10.0.0.1</code> by default. Not used if <code>addresses</code> is specified.</li>
|
107
|
-
<li><code>aliases</code>: The number of sequential addresses to add. 5 by default.</li>
|
108
|
-
<li><code>add_command</code>: The command to run for adding an alias. <code>sudo ifconfig @INTERFACE@ alias @ALIAS@</code> by default.</li>
|
109
|
-
<li><code>remove_command</code>: The command to run for removing an alias. <code>sudo ifconfig @INTERFACE@ -alias @ALIAS@</code> by default.</li>
|
110
|
-
<li><code>log_file</code>: The default log file. By default it logs to standard output.</li>
|
111
|
-
<li><code>log_level</code>: The default log level. Valid values are from 0 to 5 where 0 means
|
112
|
-
<li><code>dry_run</code>: Only show which modifications will be done.</li>
|
113
|
-
<li><code>quiet</code>: Do not show any message.</li>
|
114
|
+
<li><code>interface</code>: The network interface to manage. <code>lo0</code> by default.</li>
|
115
|
+
<li><code>addresses</code>: A specific list of aliases to manage.</li>
|
116
|
+
<li><code>start_address</code>: The address to start sequential address. <code>10.0.0.1</code> by default. Not used if <code>addresses</code> is specified.</li>
|
117
|
+
<li><code>aliases</code>: The number of sequential addresses to add. 5 by default.</li>
|
118
|
+
<li><code>add_command</code>: The command to run for adding an alias. <code>sudo ifconfig @INTERFACE@ alias @ALIAS@</code> by default.</li>
|
119
|
+
<li><code>remove_command</code>: The command to run for removing an alias. <code>sudo ifconfig @INTERFACE@ -alias @ALIAS@</code> by default.</li>
|
120
|
+
<li><code>log_file</code>: The default log file. By default it logs to standard output.</li>
|
121
|
+
<li><code>log_level</code>: The default log level. Valid values are from 0 to 5 where 0 means “all messages”.</li>
|
122
|
+
<li><code>dry_run</code>: Only show which modifications will be done.</li>
|
123
|
+
<li><code>quiet</code>: Do not show any message.</li>
|
114
124
|
</ul>
|
115
125
|
|
116
|
-
<h2>Contributing to akaer</h2>
|
126
|
+
<h2 id="contributing-to-akaer">Contributing to akaer</h2>
|
117
127
|
|
118
128
|
<ul>
|
119
|
-
<li>Check out the latest master to make sure the feature hasn&#
|
120
|
-
<li>Check out the issue tracker to make sure someone already hasn&#
|
121
|
-
<li>Fork the project.</li>
|
122
|
-
<li>Start a feature/bugfix branch.</li>
|
123
|
-
<li>Commit and push until you are happy with your contribution.</li>
|
124
|
-
<li>Make sure to add tests for it. This is important so I don&#
|
125
|
-
<li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
|
129
|
+
<li>Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.</li>
|
130
|
+
<li>Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.</li>
|
131
|
+
<li>Fork the project.</li>
|
132
|
+
<li>Start a feature/bugfix branch.</li>
|
133
|
+
<li>Commit and push until you are happy with your contribution.</li>
|
134
|
+
<li>Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.</li>
|
135
|
+
<li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
|
126
136
|
</ul>
|
127
137
|
|
128
|
-
<h2>Copyright</h2>
|
138
|
+
<h2 id="copyright">Copyright</h2>
|
139
|
+
|
140
|
+
<p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p>
|
129
141
|
|
130
|
-
<p>
|
131
|
-
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>
|
142
|
+
<p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
|
132
143
|
</div></div>
|
133
144
|
|
134
145
|
<div id="footer">
|
135
|
-
Generated on
|
146
|
+
Generated on Sat Feb 9 17:30:33 2013 by
|
136
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
137
|
-
0.8.
|
148
|
+
0.8.4.1 (ruby-1.9.3).
|
138
149
|
</div>
|
139
150
|
|
140
151
|
</body>
|
data/doc/frames.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
-
<title>Documentation by YARD 0.8.
|
7
|
+
<title>Documentation by YARD 0.8.4.1</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4.1
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -61,80 +61,91 @@
|
|
61
61
|
|
62
62
|
<iframe id="search_frame"></iframe>
|
63
63
|
|
64
|
-
<div id="content"><div id='filecontents'><h1>akaer</h1>
|
64
|
+
<div id="content"><div id='filecontents'><h1 id="akaer">akaer</h1>
|
65
65
|
|
66
|
-
<p><a href="http://travis-ci.org/ShogunPanda/akaer"><img src="https://secure.travis-ci.org/ShogunPanda/akaer.png?branch=master" alt="Build Status"
|
67
|
-
<a href="https://gemnasium.com/ShogunPanda/akaer"><img src="https://gemnasium.com/ShogunPanda/akaer.png?travis" alt="Dependency Status"
|
68
|
-
<a href="https://codeclimate.com/github/ShogunPanda/akaer"><img src="https://codeclimate.com/
|
66
|
+
<p><a href="http://travis-ci.org/ShogunPanda/akaer"><img src="https://secure.travis-ci.org/ShogunPanda/akaer.png?branch=master" alt="Build Status" /></a>
|
67
|
+
<a href="https://gemnasium.com/ShogunPanda/akaer"><img src="https://gemnasium.com/ShogunPanda/akaer.png?travis" alt="Dependency Status" /></a>
|
68
|
+
<a href="https://codeclimate.com/github/ShogunPanda/akaer"><img src="https://codeclimate.com/github/ShogunPanda/akaer.png" alt="Code Climate" /></a></p>
|
69
69
|
|
70
70
|
<p>A small utility to add aliases to network interfaces.</p>
|
71
71
|
|
72
|
-
<p
|
72
|
+
<p>http://sw.cow.tc/akaer</p>
|
73
73
|
|
74
|
-
<
|
74
|
+
<p>http://rdoc.info/gems/akaer</p>
|
75
|
+
|
76
|
+
<h2 id="description">Description</h2>
|
75
77
|
|
76
78
|
<p>Akaer is a small utility that adds and removes aliases to your network interfaces. This is useful in web development.</p>
|
77
79
|
|
78
|
-
<h2>Basic usage</h2>
|
80
|
+
<h2 id="basic-usage">Basic usage</h2>
|
79
81
|
|
80
82
|
<ol>
|
81
|
-
<li
|
83
|
+
<li>Install the gem:</li>
|
84
|
+
</ol>
|
82
85
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
+
```sh
|
87
|
+
<pre class="code ruby"><code class="ruby">gem install akaer
|
88
|
+
```
|
89
|
+
</code></pre>
|
86
90
|
|
87
|
-
<
|
88
|
-
|
91
|
+
<ol>
|
92
|
+
<li>
|
93
|
+
<p>Run the application:</p>
|
94
|
+
|
95
|
+
<p><code>sh
|
96
|
+
akaer
|
97
|
+
</code></p>
|
98
|
+
</li>
|
89
99
|
</ol>
|
90
100
|
|
91
|
-
<p><strong>You&#
|
101
|
+
<p><strong>You’re done!</strong></p>
|
92
102
|
|
93
|
-
<h2>Advanced usage</h2>
|
103
|
+
<h2 id="advanced-usage">Advanced usage</h2>
|
94
104
|
|
95
|
-
<p>Just type <code>akaer --help</code> and you&#
|
105
|
+
<p>Just type <code>akaer --help</code> and you’ll see all available options.</p>
|
96
106
|
|
97
|
-
<h2>Configuration</h2>
|
107
|
+
<h2 id="configuration">Configuration</h2>
|
98
108
|
|
99
109
|
<p>By defaults, Akaer uses a configuration file in <code>~/.akaer_config</code>, but you can change the path using the <code>--config</code> switch.</p>
|
100
110
|
|
101
111
|
<p>The file is a plain Ruby file with a single <code>config</code> object that supports the following directives.</p>
|
102
112
|
|
103
113
|
<ul>
|
104
|
-
<li><code>interface</code>: The network interface to manage. <code>lo0</code> by default.</li>
|
105
|
-
<li><code>addresses</code>: A specific list of aliases to manage.</li>
|
106
|
-
<li><code>start_address</code>: The address to start sequential address. <code>10.0.0.1</code> by default. Not used if <code>addresses</code> is specified.</li>
|
107
|
-
<li><code>aliases</code>: The number of sequential addresses to add. 5 by default.</li>
|
108
|
-
<li><code>add_command</code>: The command to run for adding an alias. <code>sudo ifconfig @INTERFACE@ alias @ALIAS@</code> by default.</li>
|
109
|
-
<li><code>remove_command</code>: The command to run for removing an alias. <code>sudo ifconfig @INTERFACE@ -alias @ALIAS@</code> by default.</li>
|
110
|
-
<li><code>log_file</code>: The default log file. By default it logs to standard output.</li>
|
111
|
-
<li><code>log_level</code>: The default log level. Valid values are from 0 to 5 where 0 means
|
112
|
-
<li><code>dry_run</code>: Only show which modifications will be done.</li>
|
113
|
-
<li><code>quiet</code>: Do not show any message.</li>
|
114
|
+
<li><code>interface</code>: The network interface to manage. <code>lo0</code> by default.</li>
|
115
|
+
<li><code>addresses</code>: A specific list of aliases to manage.</li>
|
116
|
+
<li><code>start_address</code>: The address to start sequential address. <code>10.0.0.1</code> by default. Not used if <code>addresses</code> is specified.</li>
|
117
|
+
<li><code>aliases</code>: The number of sequential addresses to add. 5 by default.</li>
|
118
|
+
<li><code>add_command</code>: The command to run for adding an alias. <code>sudo ifconfig @INTERFACE@ alias @ALIAS@</code> by default.</li>
|
119
|
+
<li><code>remove_command</code>: The command to run for removing an alias. <code>sudo ifconfig @INTERFACE@ -alias @ALIAS@</code> by default.</li>
|
120
|
+
<li><code>log_file</code>: The default log file. By default it logs to standard output.</li>
|
121
|
+
<li><code>log_level</code>: The default log level. Valid values are from 0 to 5 where 0 means “all messages”.</li>
|
122
|
+
<li><code>dry_run</code>: Only show which modifications will be done.</li>
|
123
|
+
<li><code>quiet</code>: Do not show any message.</li>
|
114
124
|
</ul>
|
115
125
|
|
116
|
-
<h2>Contributing to akaer</h2>
|
126
|
+
<h2 id="contributing-to-akaer">Contributing to akaer</h2>
|
117
127
|
|
118
128
|
<ul>
|
119
|
-
<li>Check out the latest master to make sure the feature hasn&#
|
120
|
-
<li>Check out the issue tracker to make sure someone already hasn&#
|
121
|
-
<li>Fork the project.</li>
|
122
|
-
<li>Start a feature/bugfix branch.</li>
|
123
|
-
<li>Commit and push until you are happy with your contribution.</li>
|
124
|
-
<li>Make sure to add tests for it. This is important so I don&#
|
125
|
-
<li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
|
129
|
+
<li>Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.</li>
|
130
|
+
<li>Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.</li>
|
131
|
+
<li>Fork the project.</li>
|
132
|
+
<li>Start a feature/bugfix branch.</li>
|
133
|
+
<li>Commit and push until you are happy with your contribution.</li>
|
134
|
+
<li>Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.</li>
|
135
|
+
<li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
|
126
136
|
</ul>
|
127
137
|
|
128
|
-
<h2>Copyright</h2>
|
138
|
+
<h2 id="copyright">Copyright</h2>
|
139
|
+
|
140
|
+
<p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p>
|
129
141
|
|
130
|
-
<p>
|
131
|
-
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>
|
142
|
+
<p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
|
132
143
|
</div></div>
|
133
144
|
|
134
145
|
<div id="footer">
|
135
|
-
Generated on
|
146
|
+
Generated on Sat Feb 9 17:30:33 2013 by
|
136
147
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
137
|
-
0.8.
|
148
|
+
0.8.4.1 (ruby-1.9.3).
|
138
149
|
</div>
|
139
150
|
|
140
151
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -47,7 +47,7 @@
|
|
47
47
|
|
48
48
|
|
49
49
|
<li class="r1 ">
|
50
|
-
<span class='object_link'><a href="Akaer/Application.html
|
50
|
+
<span class='object_link'><a href="Akaer/Application.html#%40return-instance_method" title="Akaer::Application\#@return (method)">#@return</a></span>
|
51
51
|
|
52
52
|
<small>Akaer::Application</small>
|
53
53
|
|
@@ -55,39 +55,39 @@
|
|
55
55
|
|
56
56
|
|
57
57
|
<li class="r2 ">
|
58
|
-
<span class='object_link'><a href="Akaer/
|
58
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/System.html#action_add-instance_method" title="Akaer::ApplicationMethods::System#action_add (method)">#action_add</a></span>
|
59
59
|
|
60
|
-
<small>Akaer::
|
60
|
+
<small>Akaer::ApplicationMethods::System</small>
|
61
61
|
|
62
62
|
</li>
|
63
63
|
|
64
64
|
|
65
65
|
<li class="r1 ">
|
66
|
-
<span class='object_link'><a href="Akaer/
|
66
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/System.html#action_install-instance_method" title="Akaer::ApplicationMethods::System#action_install (method)">#action_install</a></span>
|
67
67
|
|
68
|
-
<small>Akaer::
|
68
|
+
<small>Akaer::ApplicationMethods::System</small>
|
69
69
|
|
70
70
|
</li>
|
71
71
|
|
72
72
|
|
73
73
|
<li class="r2 ">
|
74
|
-
<span class='object_link'><a href="Akaer/
|
74
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/System.html#action_remove-instance_method" title="Akaer::ApplicationMethods::System#action_remove (method)">#action_remove</a></span>
|
75
75
|
|
76
|
-
<small>Akaer::
|
76
|
+
<small>Akaer::ApplicationMethods::System</small>
|
77
77
|
|
78
78
|
</li>
|
79
79
|
|
80
80
|
|
81
81
|
<li class="r1 ">
|
82
|
-
<span class='object_link'><a href="Akaer/
|
82
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/System.html#action_uninstall-instance_method" title="Akaer::ApplicationMethods::System#action_uninstall (method)">#action_uninstall</a></span>
|
83
83
|
|
84
|
-
<small>Akaer::
|
84
|
+
<small>Akaer::ApplicationMethods::System</small>
|
85
85
|
|
86
86
|
</li>
|
87
87
|
|
88
88
|
|
89
89
|
<li class="r2 ">
|
90
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
90
|
+
<span class='object_link'><a href="Akaer/Application.html#command-instance_method" title="Akaer::Application#command (method)">#command</a></span>
|
91
91
|
|
92
92
|
<small>Akaer::Application</small>
|
93
93
|
|
@@ -95,7 +95,7 @@
|
|
95
95
|
|
96
96
|
|
97
97
|
<li class="r1 ">
|
98
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
98
|
+
<span class='object_link'><a href="Akaer/Application.html#compute_addresses-instance_method" title="Akaer::Application#compute_addresses (method)">#compute_addresses</a></span>
|
99
99
|
|
100
100
|
<small>Akaer::Application</small>
|
101
101
|
|
@@ -103,7 +103,7 @@
|
|
103
103
|
|
104
104
|
|
105
105
|
<li class="r2 ">
|
106
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
106
|
+
<span class='object_link'><a href="Akaer/Application.html#config-instance_method" title="Akaer::Application#config (method)">#config</a></span>
|
107
107
|
|
108
108
|
<small>Akaer::Application</small>
|
109
109
|
|
@@ -111,7 +111,7 @@
|
|
111
111
|
|
112
112
|
|
113
113
|
<li class="r1 ">
|
114
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
114
|
+
<span class='object_link'><a href="Akaer/Application.html#execute_command-instance_method" title="Akaer::Application#execute_command (method)">#execute_command</a></span>
|
115
115
|
|
116
116
|
<small>Akaer::Application</small>
|
117
117
|
|
@@ -119,7 +119,7 @@
|
|
119
119
|
|
120
120
|
|
121
121
|
<li class="r2 ">
|
122
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
122
|
+
<span class='object_link'><a href="Akaer/Application.html#get_logger-instance_method" title="Akaer::Application#get_logger (method)">#get_logger</a></span>
|
123
123
|
|
124
124
|
<small>Akaer::Application</small>
|
125
125
|
|
@@ -135,7 +135,7 @@
|
|
135
135
|
|
136
136
|
|
137
137
|
<li class="r2 ">
|
138
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
138
|
+
<span class='object_link'><a href="Akaer/Application.html#initialize-instance_method" title="Akaer::Application#initialize (method)">#initialize</a></span>
|
139
139
|
|
140
140
|
<small>Akaer::Application</small>
|
141
141
|
|
@@ -143,7 +143,7 @@
|
|
143
143
|
|
144
144
|
|
145
145
|
<li class="r1 ">
|
146
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
146
|
+
<span class='object_link'><a href="Akaer/Application.html#instance-class_method" title="Akaer::Application.instance (method)">instance</a></span>
|
147
147
|
|
148
148
|
<small>Akaer::Application</small>
|
149
149
|
|
@@ -151,7 +151,7 @@
|
|
151
151
|
|
152
152
|
|
153
153
|
<li class="r2 ">
|
154
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
154
|
+
<span class='object_link'><a href="Akaer/Application.html#is_ipv4%3F-instance_method" title="Akaer::Application#is_ipv4? (method)">#is_ipv4?</a></span>
|
155
155
|
|
156
156
|
<small>Akaer::Application</small>
|
157
157
|
|
@@ -159,7 +159,7 @@
|
|
159
159
|
|
160
160
|
|
161
161
|
<li class="r1 ">
|
162
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
162
|
+
<span class='object_link'><a href="Akaer/Application.html#is_ipv6%3F-instance_method" title="Akaer::Application#is_ipv6? (method)">#is_ipv6?</a></span>
|
163
163
|
|
164
164
|
<small>Akaer::Application</small>
|
165
165
|
|
@@ -167,15 +167,15 @@
|
|
167
167
|
|
168
168
|
|
169
169
|
<li class="r2 ">
|
170
|
-
<span class='object_link'><a href="Akaer/
|
170
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/General.html#is_osx%3F-instance_method" title="Akaer::ApplicationMethods::General#is_osx? (method)">#is_osx?</a></span>
|
171
171
|
|
172
|
-
<small>Akaer::
|
172
|
+
<small>Akaer::ApplicationMethods::General</small>
|
173
173
|
|
174
174
|
</li>
|
175
175
|
|
176
176
|
|
177
177
|
<li class="r1 ">
|
178
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
178
|
+
<span class='object_link'><a href="Akaer/Application.html#launch_agent_path-instance_method" title="Akaer::Application#launch_agent_path (method)">#launch_agent_path</a></span>
|
179
179
|
|
180
180
|
<small>Akaer::Application</small>
|
181
181
|
|
@@ -183,7 +183,7 @@
|
|
183
183
|
|
184
184
|
|
185
185
|
<li class="r2 ">
|
186
|
-
<span class='object_link'><a href="Akaer/Application.html#
|
186
|
+
<span class='object_link'><a href="Akaer/Application.html#logger-instance_method" title="Akaer::Application#logger (method)">#logger</a></span>
|
187
187
|
|
188
188
|
<small>Akaer::Application</small>
|
189
189
|
|
@@ -191,6 +191,14 @@
|
|
191
191
|
|
192
192
|
|
193
193
|
<li class="r1 ">
|
194
|
+
<span class='object_link'><a href="Akaer/ApplicationMethods/General.html#manage-instance_method" title="Akaer::ApplicationMethods::General#manage (method)">#manage</a></span>
|
195
|
+
|
196
|
+
<small>Akaer::ApplicationMethods::General</small>
|
197
|
+
|
198
|
+
</li>
|
199
|
+
|
200
|
+
|
201
|
+
<li class="r2 ">
|
194
202
|
<span class='object_link'><a href="Akaer/Application.html#pad_number-instance_method" title="Akaer::Application#pad_number (method)">#pad_number</a></span>
|
195
203
|
|
196
204
|
<small>Akaer::Application</small>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Top Level Namespace
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.4.1
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -103,9 +103,9 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Sat Feb 9 17:30:33 2013 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
-
0.8.
|
108
|
+
0.8.4.1 (ruby-1.9.3).
|
109
109
|
</div>
|
110
110
|
|
111
111
|
</body>
|