akaer 1.5.3 → 1.5.4
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/akaer.gemspec +1 -1
- data/doc/Akaer.html +2 -2
- data/doc/Akaer/Application.html +225 -243
- data/doc/Akaer/Configuration.html +12 -13
- data/doc/Akaer/Version.html +6 -10
- data/doc/_index.html +2 -2
- data/doc/file.README.html +3 -3
- data/doc/index.html +3 -3
- data/doc/top-level-namespace.html +2 -2
- data/lib/akaer/version.rb +1 -1
- data/spec/akaer/application_spec.rb +22 -3
- metadata +126 -135
|
@@ -252,17 +252,16 @@
|
|
|
252
252
|
<td>
|
|
253
253
|
<pre class="code"><span class="info file"># File 'lib/akaer/configuration.rb', line 45</span>
|
|
254
254
|
|
|
255
|
-
<span class='
|
|
256
|
-
<span class='
|
|
257
|
-
|
|
258
|
-
<span class='comment
|
|
259
|
-
<span class='
|
|
260
|
-
<span class='
|
|
261
|
-
<span class='
|
|
262
|
-
<span class='
|
|
263
|
-
<span class='
|
|
264
|
-
<span class='
|
|
265
|
-
</pre>
|
|
255
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
256
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_overrides'>overrides</span><span class='comma'>,</span> <span class='id identifier rubyid_logger'>logger</span><span class='rparen'>)</span>
|
|
257
|
+
|
|
258
|
+
<span class='comment'># Make sure some arguments are of correct type
|
|
259
|
+
</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span> <span class='op'>=</span> <span class='gvar'>$stdout</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>STDOUT</span><span class='tstring_end'>"</span></span>
|
|
260
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span> <span class='op'>=</span> <span class='gvar'>$stderr</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_file'>log_file</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>STDERR</span><span class='tstring_end'>"</span></span>
|
|
261
|
+
<span class='kw'>self</span><span class='period'>.</span><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_addresses'>addresses</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span>
|
|
262
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_aliases'>aliases</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_aliases'>aliases</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span>
|
|
263
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_level'>log_level</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_level'>log_level</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span>
|
|
264
|
+
<span class='kw'>end</span></pre>
|
|
266
265
|
</td>
|
|
267
266
|
</tr>
|
|
268
267
|
</table>
|
|
@@ -274,9 +273,9 @@
|
|
|
274
273
|
</div>
|
|
275
274
|
|
|
276
275
|
<div id="footer">
|
|
277
|
-
Generated on Sat Oct 6
|
|
276
|
+
Generated on Sat Oct 6 09:32:17 2012 by
|
|
278
277
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
279
|
-
0.8.2.1 (ruby-1.
|
|
278
|
+
0.8.2.1 (ruby-1.9.2).
|
|
280
279
|
</div>
|
|
281
280
|
|
|
282
281
|
</body>
|
data/doc/Akaer/Version.html
CHANGED
|
@@ -119,8 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
</div>
|
|
121
121
|
</dt>
|
|
122
|
-
<dd><pre class="code"><span class='
|
|
123
|
-
</pre></dd>
|
|
122
|
+
<dd><pre class="code"><span class='int'>1</span></pre></dd>
|
|
124
123
|
|
|
125
124
|
<dt id="MINOR-constant" class="">MINOR =
|
|
126
125
|
<div class="docstring">
|
|
@@ -135,8 +134,7 @@
|
|
|
135
134
|
|
|
136
135
|
</div>
|
|
137
136
|
</dt>
|
|
138
|
-
<dd><pre class="code"><span class='
|
|
139
|
-
</pre></dd>
|
|
137
|
+
<dd><pre class="code"><span class='int'>5</span></pre></dd>
|
|
140
138
|
|
|
141
139
|
<dt id="PATCH-constant" class="">PATCH =
|
|
142
140
|
<div class="docstring">
|
|
@@ -151,8 +149,7 @@
|
|
|
151
149
|
|
|
152
150
|
</div>
|
|
153
151
|
</dt>
|
|
154
|
-
<dd><pre class="code"><span class='
|
|
155
|
-
</pre></dd>
|
|
152
|
+
<dd><pre class="code"><span class='int'>4</span></pre></dd>
|
|
156
153
|
|
|
157
154
|
<dt id="STRING-constant" class="">STRING =
|
|
158
155
|
<div class="docstring">
|
|
@@ -167,8 +164,7 @@
|
|
|
167
164
|
|
|
168
165
|
</div>
|
|
169
166
|
</dt>
|
|
170
|
-
<dd><pre class="code"><span class='
|
|
171
|
-
</pre></dd>
|
|
167
|
+
<dd><pre class="code"><span class='lbracket'>[</span><span class='const'>MAJOR</span><span class='comma'>,</span> <span class='const'>MINOR</span><span class='comma'>,</span> <span class='const'>PATCH</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span></pre></dd>
|
|
172
168
|
|
|
173
169
|
</dl>
|
|
174
170
|
|
|
@@ -184,9 +180,9 @@
|
|
|
184
180
|
</div>
|
|
185
181
|
|
|
186
182
|
<div id="footer">
|
|
187
|
-
Generated on Sat Oct 6
|
|
183
|
+
Generated on Sat Oct 6 09:32:17 2012 by
|
|
188
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
189
|
-
0.8.2.1 (ruby-1.
|
|
185
|
+
0.8.2.1 (ruby-1.9.2).
|
|
190
186
|
</div>
|
|
191
187
|
|
|
192
188
|
</body>
|
data/doc/_index.html
CHANGED
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
</div>
|
|
139
139
|
|
|
140
140
|
<div id="footer">
|
|
141
|
-
Generated on Sat Oct 6
|
|
141
|
+
Generated on Sat Oct 6 09:32:17 2012 by
|
|
142
142
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
143
|
-
0.8.2.1 (ruby-1.
|
|
143
|
+
0.8.2.1 (ruby-1.9.2).
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
</body>
|
data/doc/file.README.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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=UTF-8" />
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
@@ -132,9 +132,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
|
132
132
|
</div></div>
|
|
133
133
|
|
|
134
134
|
<div id="footer">
|
|
135
|
-
Generated on Sat Oct 6
|
|
135
|
+
Generated on Sat Oct 6 09:32:17 2012 by
|
|
136
136
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
137
|
-
0.8.2.1 (ruby-1.
|
|
137
|
+
0.8.2.1 (ruby-1.9.2).
|
|
138
138
|
</div>
|
|
139
139
|
|
|
140
140
|
</body>
|
data/doc/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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=UTF-8" />
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
@@ -132,9 +132,9 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
|
|
|
132
132
|
</div></div>
|
|
133
133
|
|
|
134
134
|
<div id="footer">
|
|
135
|
-
Generated on Sat Oct 6
|
|
135
|
+
Generated on Sat Oct 6 09:32:17 2012 by
|
|
136
136
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
137
|
-
0.8.2.1 (ruby-1.
|
|
137
|
+
0.8.2.1 (ruby-1.9.2).
|
|
138
138
|
</div>
|
|
139
139
|
|
|
140
140
|
</body>
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on Sat Oct 6
|
|
106
|
+
Generated on Sat Oct 6 09:32:17 2012 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
|
-
0.8.2.1 (ruby-1.
|
|
108
|
+
0.8.2.1 (ruby-1.9.2).
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
</body>
|
data/lib/akaer/version.rb
CHANGED
|
@@ -9,20 +9,20 @@ require "spec_helper"
|
|
|
9
9
|
describe Akaer::Application do
|
|
10
10
|
def create_application(overrides)
|
|
11
11
|
mamertes_app = Mamertes::App(:run => false) do
|
|
12
|
-
option "configuration", [], {:type => String, :default => overrides["configuration"] || "
|
|
12
|
+
option "configuration", [], {:type => String, :default => overrides["configuration"] || "/dev/null"}
|
|
13
13
|
option "interface", [], {:type => String, :default => overrides["interface"] || "lo0"}
|
|
14
14
|
option "addresses", [], {:type => Array, :default => overrides["addresses"] || []}
|
|
15
15
|
option "start-address", [], {:type => String, :default => overrides["start-address"] || "10.0.0.1"}
|
|
16
16
|
option "aliases", [:S], {:type => Integer, :default => overrides["aliases"] || 5}
|
|
17
17
|
option "add-command", [:A], {:type => String, :default => overrides["add-command"] || "sudo ifconfig @INTERFACE@ alias @ALIAS@"}
|
|
18
18
|
option "remove-command", [:R], {:type => String, :default => overrides["remove-command"] || "sudo ifconfig @INTERFACE@ -alias @ALIAS@"}
|
|
19
|
-
option "log-file", [], {:type => String, :default => overrides["log-file"] || "
|
|
19
|
+
option "log-file", [], {:type => String, :default => overrides["log-file"] || "/dev/null"}
|
|
20
20
|
option "log-level", [:L], {:type => Integer, :default => overrides["log-level"] || 1}
|
|
21
21
|
option "dry-run", [:n], {:default => overrides["dry-run"] || false}
|
|
22
22
|
option "quiet", [], {:default => overrides["quiet"] || false}
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
Akaer::Application.new(mamertes_app)
|
|
25
|
+
::Akaer::Application.new(mamertes_app)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
before(:each) do
|
|
@@ -32,6 +32,25 @@ describe Akaer::Application do
|
|
|
32
32
|
let(:application){ create_application({"log-file" => log_file}) }
|
|
33
33
|
let(:launch_agent_path) { "/tmp/akaer-test-agent-#{Time.now.strftime("%Y%m%d-%H%M%S")}" }
|
|
34
34
|
|
|
35
|
+
describe ".instance" do
|
|
36
|
+
it("should call .new with the passed arguments") do
|
|
37
|
+
::Akaer::Application.should_receive(:new).with("FOO")
|
|
38
|
+
::Akaer::Application.instance("FOO")
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
it("should return the same instance") do
|
|
42
|
+
::Akaer::Application.stub(:new) do Time.now end
|
|
43
|
+
instance = ::Akaer::Application.instance("start")
|
|
44
|
+
expect(::Akaer::Application.instance("stop")).to be(instance)
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
it("should return a new instance if requested to") do
|
|
48
|
+
::Akaer::Application.stub(:new) do Time.now end
|
|
49
|
+
instance = ::Akaer::Application.instance("")
|
|
50
|
+
expect(::Akaer::Application.instance({"log-file" => "/dev/null"}, true)).not_to be(instance)
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
35
54
|
describe "#initialize" do
|
|
36
55
|
it("should setup the logger") do
|
|
37
56
|
expect(application.logger).not_to be_nil
|
metadata
CHANGED
|
@@ -1,158 +1,152 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: akaer
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.5.4
|
|
5
5
|
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 1
|
|
8
|
-
- 5
|
|
9
|
-
- 3
|
|
10
|
-
version: 1.5.3
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Shogun
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
21
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
22
|
-
none: false
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
hash: 29
|
|
27
|
-
segments:
|
|
28
|
-
- 1
|
|
29
|
-
- 1
|
|
30
|
-
- 7
|
|
31
|
-
version: 1.1.7
|
|
32
|
-
prerelease: false
|
|
33
|
-
type: :runtime
|
|
12
|
+
date: 2012-10-06 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
34
15
|
name: mamertes
|
|
35
|
-
requirement:
|
|
36
|
-
|
|
37
|
-
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 1.1.8
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 1.1.8
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: rspec
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
38
33
|
none: false
|
|
39
|
-
requirements:
|
|
34
|
+
requirements:
|
|
40
35
|
- - ~>
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
hash: 35
|
|
43
|
-
segments:
|
|
44
|
-
- 2
|
|
45
|
-
- 11
|
|
46
|
-
- 0
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
47
37
|
version: 2.11.0
|
|
48
|
-
prerelease: false
|
|
49
38
|
type: :development
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ~>
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 2.11.0
|
|
46
|
+
- !ruby/object:Gem::Dependency
|
|
47
|
+
name: rake
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
54
49
|
none: false
|
|
55
|
-
requirements:
|
|
50
|
+
requirements:
|
|
56
51
|
- - ~>
|
|
57
|
-
- !ruby/object:Gem::Version
|
|
58
|
-
hash: 59
|
|
59
|
-
segments:
|
|
60
|
-
- 0
|
|
61
|
-
- 9
|
|
62
|
-
- 0
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
63
53
|
version: 0.9.0
|
|
64
|
-
prerelease: false
|
|
65
54
|
type: :development
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- !ruby/object:Gem::Dependency
|
|
69
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
70
57
|
none: false
|
|
71
|
-
requirements:
|
|
58
|
+
requirements:
|
|
72
59
|
- - ~>
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 0.9.0
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: simplecov
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
65
|
+
none: false
|
|
66
|
+
requirements:
|
|
67
|
+
- - ~>
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
79
69
|
version: 0.6.0
|
|
80
|
-
prerelease: false
|
|
81
70
|
type: :development
|
|
82
|
-
name: simplecov
|
|
83
|
-
requirement: *id004
|
|
84
|
-
- !ruby/object:Gem::Dependency
|
|
85
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
|
86
|
-
none: false
|
|
87
|
-
requirements:
|
|
88
|
-
- - ">="
|
|
89
|
-
- !ruby/object:Gem::Version
|
|
90
|
-
hash: 3
|
|
91
|
-
segments:
|
|
92
|
-
- 0
|
|
93
|
-
version: "0"
|
|
94
71
|
prerelease: false
|
|
95
|
-
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ~>
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: 0.6.0
|
|
78
|
+
- !ruby/object:Gem::Dependency
|
|
96
79
|
name: pry
|
|
97
|
-
requirement:
|
|
98
|
-
|
|
99
|
-
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
81
|
+
none: false
|
|
82
|
+
requirements:
|
|
83
|
+
- - ! '>='
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '0'
|
|
86
|
+
type: :development
|
|
87
|
+
prerelease: false
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
100
89
|
none: false
|
|
101
|
-
requirements:
|
|
90
|
+
requirements:
|
|
91
|
+
- - ! '>='
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0'
|
|
94
|
+
- !ruby/object:Gem::Dependency
|
|
95
|
+
name: yard
|
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
|
97
|
+
none: false
|
|
98
|
+
requirements:
|
|
102
99
|
- - ~>
|
|
103
|
-
- !ruby/object:Gem::Version
|
|
104
|
-
hash: 63
|
|
105
|
-
segments:
|
|
106
|
-
- 0
|
|
107
|
-
- 8
|
|
108
|
-
- 0
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
109
101
|
version: 0.8.0
|
|
110
|
-
prerelease: false
|
|
111
102
|
type: :development
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
103
|
+
prerelease: false
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
none: false
|
|
106
|
+
requirements:
|
|
107
|
+
- - ~>
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: 0.8.0
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: redcarpet
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
116
113
|
none: false
|
|
117
|
-
requirements:
|
|
114
|
+
requirements:
|
|
118
115
|
- - ~>
|
|
119
|
-
- !ruby/object:Gem::Version
|
|
120
|
-
hash: 11
|
|
121
|
-
segments:
|
|
122
|
-
- 2
|
|
123
|
-
- 1
|
|
124
|
-
- 0
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
125
117
|
version: 2.1.0
|
|
126
|
-
prerelease: false
|
|
127
118
|
type: :development
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
none: false
|
|
122
|
+
requirements:
|
|
123
|
+
- - ~>
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: 2.1.0
|
|
126
|
+
- !ruby/object:Gem::Dependency
|
|
127
|
+
name: github-markup
|
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
|
132
129
|
none: false
|
|
133
|
-
requirements:
|
|
130
|
+
requirements:
|
|
134
131
|
- - ~>
|
|
135
|
-
- !ruby/object:Gem::Version
|
|
136
|
-
hash: 3
|
|
137
|
-
segments:
|
|
138
|
-
- 0
|
|
139
|
-
- 7
|
|
140
|
-
- 0
|
|
132
|
+
- !ruby/object:Gem::Version
|
|
141
133
|
version: 0.7.0
|
|
142
|
-
prerelease: false
|
|
143
134
|
type: :development
|
|
144
|
-
|
|
145
|
-
|
|
135
|
+
prerelease: false
|
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
+
none: false
|
|
138
|
+
requirements:
|
|
139
|
+
- - ~>
|
|
140
|
+
- !ruby/object:Gem::Version
|
|
141
|
+
version: 0.7.0
|
|
146
142
|
description: A small utility to add aliases to network interfaces.
|
|
147
|
-
email:
|
|
143
|
+
email:
|
|
148
144
|
- shogun_panda@me.com
|
|
149
|
-
executables:
|
|
145
|
+
executables:
|
|
150
146
|
- akaer
|
|
151
147
|
extensions: []
|
|
152
|
-
|
|
153
148
|
extra_rdoc_files: []
|
|
154
|
-
|
|
155
|
-
files:
|
|
149
|
+
files:
|
|
156
150
|
- .gitignore
|
|
157
151
|
- .travis.yml
|
|
158
152
|
- .yardopts
|
|
@@ -194,38 +188,35 @@ files:
|
|
|
194
188
|
- spec/spec_helper.rb
|
|
195
189
|
homepage: http://github.com/ShogunPanda/akaer
|
|
196
190
|
licenses: []
|
|
197
|
-
|
|
198
191
|
post_install_message:
|
|
199
192
|
rdoc_options: []
|
|
200
|
-
|
|
201
|
-
require_paths:
|
|
193
|
+
require_paths:
|
|
202
194
|
- lib
|
|
203
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
204
196
|
none: false
|
|
205
|
-
requirements:
|
|
206
|
-
- -
|
|
207
|
-
- !ruby/object:Gem::Version
|
|
208
|
-
|
|
209
|
-
segments:
|
|
197
|
+
requirements:
|
|
198
|
+
- - ! '>='
|
|
199
|
+
- !ruby/object:Gem::Version
|
|
200
|
+
version: '0'
|
|
201
|
+
segments:
|
|
210
202
|
- 0
|
|
211
|
-
|
|
212
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
|
+
hash: -1649116655582096437
|
|
204
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
205
|
none: false
|
|
214
|
-
requirements:
|
|
215
|
-
- -
|
|
216
|
-
- !ruby/object:Gem::Version
|
|
217
|
-
|
|
218
|
-
segments:
|
|
206
|
+
requirements:
|
|
207
|
+
- - ! '>='
|
|
208
|
+
- !ruby/object:Gem::Version
|
|
209
|
+
version: '0'
|
|
210
|
+
segments:
|
|
219
211
|
- 0
|
|
220
|
-
|
|
212
|
+
hash: -1649116655582096437
|
|
221
213
|
requirements: []
|
|
222
|
-
|
|
223
214
|
rubyforge_project: akaer
|
|
224
215
|
rubygems_version: 1.8.24
|
|
225
216
|
signing_key:
|
|
226
217
|
specification_version: 3
|
|
227
218
|
summary: A small utility to add aliases to network interfaces.
|
|
228
|
-
test_files:
|
|
219
|
+
test_files:
|
|
229
220
|
- spec/akaer/application_spec.rb
|
|
230
221
|
- spec/akaer/configuration_spec.rb
|
|
231
222
|
- spec/coverage_helper.rb
|