akaer 1.5.0 → 1.5.1
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/Gemfile.lock +1 -1
- data/doc/Akaer/Application.html +50 -49
- data/doc/Akaer/Configuration.html +1 -1
- data/doc/Akaer/Version.html +3 -3
- data/doc/Akaer.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/akaer/application.rb +4 -3
- data/lib/akaer/version.rb +2 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/doc/Akaer/Application.html
CHANGED
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
|
|
470
470
|
|
|
471
471
|
|
|
472
|
-
<span class="summary_desc"><div class='inline'><p>Checks if and address is a valid
|
|
472
|
+
<span class="summary_desc"><div class='inline'><p>Checks if and address is a valid IPv6 address.</p>
|
|
473
473
|
</div></span>
|
|
474
474
|
|
|
475
475
|
</li>
|
|
@@ -910,13 +910,13 @@
|
|
|
910
910
|
<pre class="lines">
|
|
911
911
|
|
|
912
912
|
|
|
913
|
-
303
|
|
914
913
|
304
|
|
915
914
|
305
|
|
916
|
-
306
|
|
915
|
+
306
|
|
916
|
+
307</pre>
|
|
917
917
|
</td>
|
|
918
918
|
<td>
|
|
919
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
919
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 304</span>
|
|
920
920
|
|
|
921
921
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span><span class='comma'>,</span> <span class='id identifier rubyid_force'>force</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
922
922
|
<span class='ivar'>@instance</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_force'>force</span>
|
|
@@ -975,7 +975,6 @@
|
|
|
975
975
|
<pre class="lines">
|
|
976
976
|
|
|
977
977
|
|
|
978
|
-
197
|
|
979
978
|
198
|
|
980
979
|
199
|
|
981
980
|
200
|
|
@@ -986,10 +985,11 @@
|
|
|
986
985
|
205
|
|
987
986
|
206
|
|
988
987
|
207
|
|
989
|
-
208
|
|
988
|
+
208
|
|
989
|
+
209</pre>
|
|
990
990
|
</td>
|
|
991
991
|
<td>
|
|
992
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
992
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 198</span>
|
|
993
993
|
|
|
994
994
|
<span class='kw'>def</span> <span class='id identifier rubyid_action_add'>action_add</span>
|
|
995
995
|
<span class='id identifier rubyid_addresses'>addresses</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_compute_addresses'>compute_addresses</span>
|
|
@@ -1050,7 +1050,6 @@
|
|
|
1050
1050
|
<pre class="lines">
|
|
1051
1051
|
|
|
1052
1052
|
|
|
1053
|
-
229
|
|
1054
1053
|
230
|
|
1055
1054
|
231
|
|
1056
1055
|
232
|
|
@@ -1085,10 +1084,11 @@
|
|
|
1085
1084
|
261
|
|
1086
1085
|
262
|
|
1087
1086
|
263
|
|
1088
|
-
264
|
|
1087
|
+
264
|
|
1088
|
+
265</pre>
|
|
1089
1089
|
</td>
|
|
1090
1090
|
<td>
|
|
1091
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1091
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 230</span>
|
|
1092
1092
|
|
|
1093
1093
|
<span class='kw'>def</span> <span class='id identifier rubyid_action_install'>action_install</span>
|
|
1094
1094
|
<span class='id identifier rubyid_logger'>logger</span> <span class='op'>=</span> <span class='id identifier rubyid_get_logger'>get_logger</span>
|
|
@@ -1173,7 +1173,6 @@
|
|
|
1173
1173
|
<pre class="lines">
|
|
1174
1174
|
|
|
1175
1175
|
|
|
1176
|
-
213
|
|
1177
1176
|
214
|
|
1178
1177
|
215
|
|
1179
1178
|
216
|
|
@@ -1184,10 +1183,11 @@
|
|
|
1184
1183
|
221
|
|
1185
1184
|
222
|
|
1186
1185
|
223
|
|
1187
|
-
224
|
|
1186
|
+
224
|
|
1187
|
+
225</pre>
|
|
1188
1188
|
</td>
|
|
1189
1189
|
<td>
|
|
1190
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1190
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 214</span>
|
|
1191
1191
|
|
|
1192
1192
|
<span class='kw'>def</span> <span class='id identifier rubyid_action_remove'>action_remove</span>
|
|
1193
1193
|
<span class='id identifier rubyid_addresses'>addresses</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_compute_addresses'>compute_addresses</span>
|
|
@@ -1248,7 +1248,6 @@
|
|
|
1248
1248
|
<pre class="lines">
|
|
1249
1249
|
|
|
1250
1250
|
|
|
1251
|
-
269
|
|
1252
1251
|
270
|
|
1253
1252
|
271
|
|
1254
1253
|
272
|
|
@@ -1275,10 +1274,11 @@
|
|
|
1275
1274
|
293
|
|
1276
1275
|
294
|
|
1277
1276
|
295
|
|
1278
|
-
296
|
|
1277
|
+
296
|
|
1278
|
+
297</pre>
|
|
1279
1279
|
</td>
|
|
1280
1280
|
<td>
|
|
1281
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1281
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 270</span>
|
|
1282
1282
|
|
|
1283
1283
|
<span class='kw'>def</span> <span class='id identifier rubyid_action_uninstall'>action_uninstall</span>
|
|
1284
1284
|
<span class='id identifier rubyid_logger'>logger</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get_logger'>get_logger</span>
|
|
@@ -1376,7 +1376,6 @@
|
|
|
1376
1376
|
<pre class="lines">
|
|
1377
1377
|
|
|
1378
1378
|
|
|
1379
|
-
135
|
|
1380
1379
|
136
|
|
1381
1380
|
137
|
|
1382
1381
|
138
|
|
@@ -1401,10 +1400,11 @@
|
|
|
1401
1400
|
157
|
|
1402
1401
|
158
|
|
1403
1402
|
159
|
|
1404
|
-
160
|
|
1403
|
+
160
|
|
1404
|
+
161</pre>
|
|
1405
1405
|
</td>
|
|
1406
1406
|
<td>
|
|
1407
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1407
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 136</span>
|
|
1408
1408
|
|
|
1409
1409
|
<span class='kw'>def</span> <span class='id identifier rubyid_compute_addresses'>compute_addresses</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:all</span><span class='rparen'>)</span>
|
|
1410
1410
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
|
@@ -1498,12 +1498,12 @@
|
|
|
1498
1498
|
<pre class="lines">
|
|
1499
1499
|
|
|
1500
1500
|
|
|
1501
|
-
127
|
|
1502
1501
|
128
|
|
1503
|
-
129
|
|
1502
|
+
129
|
|
1503
|
+
130</pre>
|
|
1504
1504
|
</td>
|
|
1505
1505
|
<td>
|
|
1506
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1506
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 128</span>
|
|
1507
1507
|
|
|
1508
1508
|
<span class='kw'>def</span> <span class='id identifier rubyid_execute_command'>execute_command</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span><span class='rparen'>)</span>
|
|
1509
1509
|
<span class='const'>Kernel</span><span class='period'>.</span><span class='id identifier rubyid_system'>system</span><span class='lparen'>(</span><span class='id identifier rubyid_command'>command</span><span class='rparen'>)</span>
|
|
@@ -1555,12 +1555,12 @@
|
|
|
1555
1555
|
<pre class="lines">
|
|
1556
1556
|
|
|
1557
1557
|
|
|
1558
|
-
111
|
|
1559
1558
|
112
|
|
1560
|
-
113
|
|
1559
|
+
113
|
|
1560
|
+
114</pre>
|
|
1561
1561
|
</td>
|
|
1562
1562
|
<td>
|
|
1563
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1563
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 112</span>
|
|
1564
1564
|
|
|
1565
1565
|
<span class='kw'>def</span> <span class='id identifier rubyid_get_logger'>get_logger</span>
|
|
1566
1566
|
<span class='ivar'>@logger</span> <span class='op'>||=</span> <span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='const'>Bovem</span><span class='op'>::</span><span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_default_file'>default_file</span><span class='comma'>,</span> <span class='ivar'>@config</span><span class='period'>.</span><span class='id identifier rubyid_log_level'>log_level</span><span class='comma'>,</span> <span class='ivar'>@log_formatter</span><span class='rparen'>)</span>
|
|
@@ -1631,15 +1631,15 @@
|
|
|
1631
1631
|
<pre class="lines">
|
|
1632
1632
|
|
|
1633
1633
|
|
|
1634
|
-
70
|
|
1635
1634
|
71
|
|
1636
1635
|
72
|
|
1637
1636
|
73
|
|
1638
1637
|
74
|
|
1639
|
-
75
|
|
1638
|
+
75
|
|
1639
|
+
76</pre>
|
|
1640
1640
|
</td>
|
|
1641
1641
|
<td>
|
|
1642
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1642
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 71</span>
|
|
1643
1643
|
|
|
1644
1644
|
<span class='kw'>def</span> <span class='id identifier rubyid_is_ipv4?'>is_ipv4?</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
|
|
1645
1645
|
<span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='id identifier rubyid_address'>address</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span>
|
|
@@ -1663,7 +1663,7 @@
|
|
|
1663
1663
|
|
|
1664
1664
|
</h3><div class="docstring">
|
|
1665
1665
|
<div class="discussion">
|
|
1666
|
-
<p>Checks if and address is a valid
|
|
1666
|
+
<p>Checks if and address is a valid IPv6 address.</p>
|
|
1667
1667
|
|
|
1668
1668
|
|
|
1669
1669
|
</div>
|
|
@@ -1700,7 +1700,7 @@
|
|
|
1700
1700
|
|
|
1701
1701
|
|
|
1702
1702
|
—
|
|
1703
|
-
<div class='inline'><p><code>true</code> if the address is a valid
|
|
1703
|
+
<div class='inline'><p><code>true</code> if the address is a valid IPv6 address, <code>false</code> otherwise.</p>
|
|
1704
1704
|
</div>
|
|
1705
1705
|
|
|
1706
1706
|
</li>
|
|
@@ -1713,7 +1713,6 @@
|
|
|
1713
1713
|
<pre class="lines">
|
|
1714
1714
|
|
|
1715
1715
|
|
|
1716
|
-
81
|
|
1717
1716
|
82
|
|
1718
1717
|
83
|
|
1719
1718
|
84
|
|
@@ -1728,10 +1727,11 @@
|
|
|
1728
1727
|
93
|
|
1729
1728
|
94
|
|
1730
1729
|
95
|
|
1731
|
-
96
|
|
1730
|
+
96
|
|
1731
|
+
97</pre>
|
|
1732
1732
|
</td>
|
|
1733
1733
|
<td>
|
|
1734
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1734
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 82</span>
|
|
1735
1735
|
|
|
1736
1736
|
<span class='kw'>def</span> <span class='id identifier rubyid_is_ipv6?'>is_ipv6?</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
|
|
1737
1737
|
<span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='id identifier rubyid_address'>address</span><span class='period'>.</span><span class='id identifier rubyid_ensure_string'>ensure_string</span>
|
|
@@ -1765,8 +1765,9 @@
|
|
|
1765
1765
|
|
|
1766
1766
|
</h3><div class="docstring">
|
|
1767
1767
|
<div class="discussion">
|
|
1768
|
-
<p>Checks if we are running on MacOS X
|
|
1769
|
-
|
|
1768
|
+
<p>Checks if we are running on MacOS X.</p>
|
|
1769
|
+
|
|
1770
|
+
<p>System services are only available on that platform.</p>
|
|
1770
1771
|
|
|
1771
1772
|
|
|
1772
1773
|
</div>
|
|
@@ -1797,12 +1798,12 @@ System services are only available on that platform.</p>
|
|
|
1797
1798
|
<pre class="lines">
|
|
1798
1799
|
|
|
1799
1800
|
|
|
1800
|
-
62
|
|
1801
1801
|
63
|
|
1802
|
-
64
|
|
1802
|
+
64
|
|
1803
|
+
65</pre>
|
|
1803
1804
|
</td>
|
|
1804
1805
|
<td>
|
|
1805
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1806
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 63</span>
|
|
1806
1807
|
|
|
1807
1808
|
<span class='kw'>def</span> <span class='id identifier rubyid_is_osx?'>is_osx?</span>
|
|
1808
1809
|
<span class='op'>::</span><span class='const'>Config</span><span class='op'>::</span><span class='const'>CONFIG</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>host_os</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^darwin</span><span class='regexp_end'>/</span></span>
|
|
@@ -1875,12 +1876,12 @@ System services are only available on that platform.</p>
|
|
|
1875
1876
|
<pre class="lines">
|
|
1876
1877
|
|
|
1877
1878
|
|
|
1878
|
-
119
|
|
1879
1879
|
120
|
|
1880
|
-
121
|
|
1880
|
+
121
|
|
1881
|
+
122</pre>
|
|
1881
1882
|
</td>
|
|
1882
1883
|
<td>
|
|
1883
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1884
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 120</span>
|
|
1884
1885
|
|
|
1885
1886
|
<span class='kw'>def</span> <span class='id identifier rubyid_launch_agent_path'>launch_agent_path</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>it.cowtech.akaer</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1886
1887
|
<span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>HOME</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/Library/LaunchAgents/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='rbrace'>}</span><span class='tstring_content'>.plist</span><span class='tstring_end'>"</span></span>
|
|
@@ -1901,7 +1902,7 @@ System services are only available on that platform.</p>
|
|
|
1901
1902
|
|
|
1902
1903
|
</h3><div class="docstring">
|
|
1903
1904
|
<div class="discussion">
|
|
1904
|
-
<p>Adds or removes an alias from the interface
|
|
1905
|
+
<p>Adds or removes an alias from the interface.</p>
|
|
1905
1906
|
|
|
1906
1907
|
|
|
1907
1908
|
</div>
|
|
@@ -1966,7 +1967,6 @@ System services are only available on that platform.</p>
|
|
|
1966
1967
|
<pre class="lines">
|
|
1967
1968
|
|
|
1968
1969
|
|
|
1969
|
-
167
|
|
1970
1970
|
168
|
|
1971
1971
|
169
|
|
1972
1972
|
170
|
|
@@ -1991,10 +1991,11 @@ System services are only available on that platform.</p>
|
|
|
1991
1991
|
189
|
|
1992
1992
|
190
|
|
1993
1993
|
191
|
|
1994
|
-
192
|
|
1994
|
+
192
|
|
1995
|
+
193</pre>
|
|
1995
1996
|
</td>
|
|
1996
1997
|
<td>
|
|
1997
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
1998
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 168</span>
|
|
1998
1999
|
|
|
1999
2000
|
<span class='kw'>def</span> <span class='id identifier rubyid_manage'>manage</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
|
|
2000
2001
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='kw'>true</span>
|
|
@@ -2105,12 +2106,12 @@ System services are only available on that platform.</p>
|
|
|
2105
2106
|
<pre class="lines">
|
|
2106
2107
|
|
|
2107
2108
|
|
|
2108
|
-
104
|
|
2109
2109
|
105
|
|
2110
|
-
106
|
|
2110
|
+
106
|
|
2111
|
+
107</pre>
|
|
2111
2112
|
</td>
|
|
2112
2113
|
<td>
|
|
2113
|
-
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line
|
|
2114
|
+
<pre class="code"><span class="info file"># File 'lib/akaer/application.rb', line 105</span>
|
|
2114
2115
|
|
|
2115
2116
|
<span class='kw'>def</span> <span class='id identifier rubyid_pad_number'>pad_number</span><span class='lparen'>(</span><span class='id identifier rubyid_num'>num</span><span class='comma'>,</span> <span class='id identifier rubyid_len'>len</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
2116
2117
|
<span class='id identifier rubyid_num'>num</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_rjust'>rjust</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_len'>len</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span><span class='comma'>,</span> <span class='int'>2</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
@@ -2125,7 +2126,7 @@ System services are only available on that platform.</p>
|
|
|
2125
2126
|
</div>
|
|
2126
2127
|
|
|
2127
2128
|
<div id="footer">
|
|
2128
|
-
Generated on Wed Aug 22 10:
|
|
2129
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
2129
2130
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2130
2131
|
0.8.2.1 (ruby-1.9.2).
|
|
2131
2132
|
</div>
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
</div>
|
|
274
274
|
|
|
275
275
|
<div id="footer">
|
|
276
|
-
Generated on Wed Aug 22 10:
|
|
276
|
+
Generated on Wed Aug 22 10:39:51 2012 by
|
|
277
277
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
278
278
|
0.8.2.1 (ruby-1.9.2).
|
|
279
279
|
</div>
|
data/doc/Akaer/Version.html
CHANGED
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
|
|
87
87
|
<h2>Overview</h2><div class="docstring">
|
|
88
88
|
<div class="discussion">
|
|
89
|
-
<p>The current version of
|
|
89
|
+
<p>The current version of akaer, according to semantic versioning.</p>
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
</div>
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
|
|
150
150
|
</div>
|
|
151
151
|
</dt>
|
|
152
|
-
<dd><pre class="code"><span class='int'>
|
|
152
|
+
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
|
153
153
|
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
|
155
155
|
<div class="docstring">
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
|
|
182
182
|
<div id="footer">
|
|
183
|
-
Generated on Wed Aug 22 10:
|
|
183
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
185
185
|
0.8.2.1 (ruby-1.9.2).
|
|
186
186
|
</div>
|
data/doc/Akaer.html
CHANGED
|
@@ -121,7 +121,7 @@ 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 Wed Aug 22 10:
|
|
124
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
126
126
|
0.8.2.1 (ruby-1.9.2).
|
|
127
127
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
</div>
|
|
139
139
|
|
|
140
140
|
<div id="footer">
|
|
141
|
-
Generated on Wed Aug 22 10:
|
|
141
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
142
142
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
143
143
|
0.8.2.1 (ruby-1.9.2).
|
|
144
144
|
</div>
|
data/doc/file.README.html
CHANGED
|
@@ -131,7 +131,7 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
|
131
131
|
</div></div>
|
|
132
132
|
|
|
133
133
|
<div id="footer">
|
|
134
|
-
Generated on Wed Aug 22 10:
|
|
134
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
135
135
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
136
136
|
0.8.2.1 (ruby-1.9.2).
|
|
137
137
|
</div>
|
data/doc/index.html
CHANGED
|
@@ -131,7 +131,7 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
|
131
131
|
</div></div>
|
|
132
132
|
|
|
133
133
|
<div id="footer">
|
|
134
|
-
Generated on Wed Aug 22 10:
|
|
134
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
135
135
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
136
136
|
0.8.2.1 (ruby-1.9.2).
|
|
137
137
|
</div>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on Wed Aug 22 10:
|
|
106
|
+
Generated on Wed Aug 22 10:39:50 2012 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
108
|
0.8.2.1 (ruby-1.9.2).
|
|
109
109
|
</div>
|
data/lib/akaer/application.rb
CHANGED
|
@@ -56,6 +56,7 @@ module Akaer
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# Checks if we are running on MacOS X.
|
|
59
|
+
#
|
|
59
60
|
# System services are only available on that platform.
|
|
60
61
|
#
|
|
61
62
|
# @return [Boolean] `true` if the current platform is MacOS X, `false` otherwise.
|
|
@@ -74,10 +75,10 @@ module Akaer
|
|
|
74
75
|
rv = (mo && mo.captures.all? {|i| i.to_i < 256}) ? true : false
|
|
75
76
|
end
|
|
76
77
|
|
|
77
|
-
# Checks if and address is a valid
|
|
78
|
+
# Checks if and address is a valid IPv6 address.
|
|
78
79
|
#
|
|
79
80
|
# @param address [String] The address to check.
|
|
80
|
-
# @return [Boolean] `true` if the address is a valid
|
|
81
|
+
# @return [Boolean] `true` if the address is a valid IPv6 address, `false` otherwise.
|
|
81
82
|
def is_ipv6?(address)
|
|
82
83
|
address = address.ensure_string
|
|
83
84
|
|
|
@@ -159,7 +160,7 @@ module Akaer
|
|
|
159
160
|
rv
|
|
160
161
|
end
|
|
161
162
|
|
|
162
|
-
# Adds or removes an alias from the interface
|
|
163
|
+
# Adds or removes an alias from the interface.
|
|
163
164
|
#
|
|
164
165
|
# @param type [Symbol] The operation to execute. Can be `:add` or `:remove`.
|
|
165
166
|
# @param address [String] The address to manage.
|
data/lib/akaer/version.rb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
#
|
|
6
6
|
|
|
7
7
|
module Akaer
|
|
8
|
-
# The current version of
|
|
8
|
+
# The current version of akaer, according to semantic versioning.
|
|
9
9
|
#
|
|
10
10
|
# @see http://semver.org
|
|
11
11
|
module Version
|
|
@@ -16,7 +16,7 @@ module Akaer
|
|
|
16
16
|
MINOR = 5
|
|
17
17
|
|
|
18
18
|
# The patch version.
|
|
19
|
-
PATCH =
|
|
19
|
+
PATCH = 1
|
|
20
20
|
|
|
21
21
|
# The current version of akaer.
|
|
22
22
|
STRING = [MAJOR, MINOR, PATCH].compact.join(".")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: akaer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -200,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
200
200
|
version: '0'
|
|
201
201
|
segments:
|
|
202
202
|
- 0
|
|
203
|
-
hash:
|
|
203
|
+
hash: 2559379806524260301
|
|
204
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
205
205
|
none: false
|
|
206
206
|
requirements:
|
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
209
|
version: '0'
|
|
210
210
|
segments:
|
|
211
211
|
- 0
|
|
212
|
-
hash:
|
|
212
|
+
hash: 2559379806524260301
|
|
213
213
|
requirements: []
|
|
214
214
|
rubyforge_project: akaer
|
|
215
215
|
rubygems_version: 1.8.24
|