devdnsd 3.1.0 → 3.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08a79752fa5924ccd8ffea09cadaeb8281ca69a3
4
- data.tar.gz: ab7ecd64b9067b0e88c2e4c83663f8d32a711d17
3
+ metadata.gz: 1ed4108bb900c89f5d35a664ac91e9f15c4140f2
4
+ data.tar.gz: 1c1e00f638074e705fb969d6ac992b2471663397
5
5
  SHA512:
6
- metadata.gz: 098f5cea2d11e258860203883004720752bbd3ad9bfccc138fad58179fda17a4dfb0557a5fa108570dad2681c71efef2c8e2c8d6e241eeb3da8bd7101937eb46
7
- data.tar.gz: fe2db95171863e6f73c1f52160a2035832f67fd7af2ace0b65583e8e50efad3ab4558eddfe40a290d8de23fb302e2512276cdfdb438dbb569df47622c9cb6078
6
+ metadata.gz: 2ea69219c5543de30628acd20721d9f68af4b309c4efd4529607d6be739e7ee8e4b68b14e63320f39891a51301b585bb99ab7d5f5ca74db670cdde2b2a3aff25
7
+ data.tar.gz: 79c4a1bef6589fa251f53a0b6f536974e6c3220b8dfa4425d386c2cb21ae6ef72fe2e3058454b6ed3283c66a34179b4046a6a349e3aa00b25875fa9f1bd6c9e8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 3.1.1 / 2014-03-09
2
+
3
+ * Minor typo fix.
4
+
1
5
  ### 3.1.0 / 2014-03-09
2
6
 
3
7
  * Added `restart`, `clean` and `status` commands.
data/doc/DevDNSd.html CHANGED
@@ -121,7 +121,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Sun Mar 9 19:54:07 2014 by
124
+ Generated on Sun Mar 9 20:00:09 2014 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.7.3 (ruby-2.1.0).
127
127
  </div>
@@ -2541,7 +2541,7 @@
2541
2541
  </div>
2542
2542
 
2543
2543
  <div id="footer">
2544
- Generated on Sun Mar 9 19:54:08 2014 by
2544
+ Generated on Sun Mar 9 20:00:10 2014 by
2545
2545
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2546
2546
  0.8.7.3 (ruby-2.1.0).
2547
2547
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sun Mar 9 19:54:07 2014 by
119
+ Generated on Sun Mar 9 20:00:09 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.3 (ruby-2.1.0).
122
122
  </div>
@@ -771,7 +771,7 @@
771
771
  </div>
772
772
 
773
773
  <div id="footer">
774
- Generated on Sun Mar 9 19:54:07 2014 by
774
+ Generated on Sun Mar 9 20:00:09 2014 by
775
775
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
776
776
  0.8.7.3 (ruby-2.1.0).
777
777
  </div>
@@ -508,7 +508,7 @@
508
508
  </div>
509
509
 
510
510
  <div id="footer">
511
- Generated on Sun Mar 9 19:54:07 2014 by
511
+ Generated on Sun Mar 9 20:00:09 2014 by
512
512
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
513
513
  0.8.7.3 (ruby-2.1.0).
514
514
  </div>
@@ -1347,7 +1347,7 @@
1347
1347
  </div>
1348
1348
 
1349
1349
  <div id="footer">
1350
- Generated on Sun Mar 9 19:54:07 2014 by
1350
+ Generated on Sun Mar 9 20:00:09 2014 by
1351
1351
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1352
1352
  0.8.7.3 (ruby-2.1.0).
1353
1353
  </div>
@@ -529,7 +529,7 @@
529
529
  </div>
530
530
 
531
531
  <div id="footer">
532
- Generated on Sun Mar 9 19:54:07 2014 by
532
+ Generated on Sun Mar 9 20:00:09 2014 by
533
533
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
534
534
  0.8.7.3 (ruby-2.1.0).
535
535
  </div>
@@ -421,7 +421,7 @@ config.add_rule("match.dev", "10.0.0.1")
421
421
  </div>
422
422
 
423
423
  <div id="footer">
424
- Generated on Sun Mar 9 19:54:08 2014 by
424
+ Generated on Sun Mar 9 20:00:10 2014 by
425
425
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
426
426
  0.8.7.3 (ruby-2.1.0).
427
427
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sun Mar 9 19:54:07 2014 by
119
+ Generated on Sun Mar 9 20:00:09 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.3 (ruby-2.1.0).
122
122
  </div>
@@ -124,7 +124,7 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Sun Mar 9 19:54:07 2014 by
127
+ Generated on Sun Mar 9 20:00:10 2014 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.7.3 (ruby-2.1.0).
130
130
  </div>
@@ -2927,7 +2927,7 @@
2927
2927
  </div>
2928
2928
 
2929
2929
  <div id="footer">
2930
- Generated on Sun Mar 9 19:54:07 2014 by
2930
+ Generated on Sun Mar 9 20:00:10 2014 by
2931
2931
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2932
2932
  0.8.7.3 (ruby-2.1.0).
2933
2933
  </div>
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>0</span></pre></dd>
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 Sun Mar 9 19:54:07 2014 by
183
+ Generated on Sun Mar 9 20:00:09 2014 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.8.7.3 (ruby-2.1.0).
186
186
  </div>
data/doc/_index.html CHANGED
@@ -237,7 +237,7 @@
237
237
  </div>
238
238
 
239
239
  <div id="footer">
240
- Generated on Sun Mar 9 19:54:06 2014 by
240
+ Generated on Sun Mar 9 20:00:09 2014 by
241
241
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
242
242
  0.8.7.3 (ruby-2.1.0).
243
243
  </div>
data/doc/file.README.html CHANGED
@@ -175,7 +175,7 @@ This argument is ignored if you pass the block, as it assumes that the second ar
175
175
  </div></div>
176
176
 
177
177
  <div id="footer">
178
- Generated on Sun Mar 9 19:54:07 2014 by
178
+ Generated on Sun Mar 9 20:00:09 2014 by
179
179
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
180
180
  0.8.7.3 (ruby-2.1.0).
181
181
  </div>
data/doc/index.html CHANGED
@@ -175,7 +175,7 @@ This argument is ignored if you pass the block, as it assumes that the second ar
175
175
  </div></div>
176
176
 
177
177
  <div id="footer">
178
- Generated on Sun Mar 9 19:54:07 2014 by
178
+ Generated on Sun Mar 9 20:00:09 2014 by
179
179
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
180
180
  0.8.7.3 (ruby-2.1.0).
181
181
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Sun Mar 9 19:54:07 2014 by
106
+ Generated on Sun Mar 9 20:00:09 2014 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.3 (ruby-2.1.0).
109
109
  </div>
@@ -335,7 +335,7 @@ module DevDNSd
335
335
  def toggle_agent(launch_agent, operation, info_message, error_message, error_level)
336
336
  begin
337
337
  logger.info(i18n.send(info_message, launch_agent))
338
- execute_command("launchctl #{operation} -w \"#{launch_agent}\" > /dev/null 2>&1")
338
+ execute_command("launchctl #{operation} -w \"#{launch_agent}\" > /dev/null 2&>1")
339
339
  true
340
340
  rescue
341
341
  logger.send(error_level, i18n.send(error_message))
@@ -493,7 +493,7 @@ module DevDNSd
493
493
  # @param address [String] The address to manage.
494
494
  # @return [String] The command to execute.
495
495
  def build_command(type, address)
496
- Mustache.render(config.send((type == :remove) ? :remove_command : :add_command), {interface: config.interface, address: address.to_s}) + " > /dev/null 2>&1"
496
+ Mustache.render(config.send((type == :remove) ? :remove_command : :add_command), {interface: config.interface, address: address.to_s}) + " > /dev/null 2&>1"
497
497
  end
498
498
 
499
499
  # Executes management.
@@ -16,7 +16,7 @@ module DevDNSd
16
16
  MINOR = 1
17
17
 
18
18
  # The patch version.
19
- PATCH = 0
19
+ PATCH = 1
20
20
 
21
21
  # The current version number of DevDNSd.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -416,10 +416,10 @@ describe DevDNSd::Application do
416
416
  end
417
417
 
418
418
  it "should call the right system command" do
419
- expect(application).to receive(:execute_command).with("sudo ifconfig lo0 alias 10.0.0.3 > /dev/null 2>&1")
419
+ expect(application).to receive(:execute_command).with("sudo ifconfig lo0 alias 10.0.0.3 > /dev/null 2&>1")
420
420
  application.manage_address(:add, "10.0.0.3")
421
421
 
422
- expect(application).to receive(:execute_command).with("sudo ifconfig lo0 -alias 10.0.0.3 > /dev/null 2>&1")
422
+ expect(application).to receive(:execute_command).with("sudo ifconfig lo0 -alias 10.0.0.3 > /dev/null 2&>1")
423
423
  application.manage_address(:remove, "10.0.0.3")
424
424
  end
425
425
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devdnsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun