coverage/index.html in vagrant-windows-1.3.1 vs coverage/index.html in vagrant-windows-1.3.2
- old
+ new
@@ -12,31 +12,31 @@
<body>
<div id="loading">
<img src="./assets/0.7.1/loading.gif" alt="loading"/>
</div>
<div id="wrapper" style="display:none;">
- <div class="timestamp">Generated <abbr class="timeago" title="2013-12-02T14:07:38-08:00">2013-12-02T14:07:38-08:00</abbr></div>
+ <div class="timestamp">Generated <abbr class="timeago" title="2013-12-04T15:56:38-08:00">2013-12-04T15:56:38-08:00</abbr></div>
<ul class="group_tabs"></ul>
<div id="content">
<div class="file_list_container" id="AllFiles">
<h2>
<span class="group_name">All Files</span>
- (<span class="covered_percent"><span class="red">57.79%</span></span>
+ (<span class="covered_percent"><span class="red">57.86%</span></span>
covered at
<span class="covered_strength">
<span class="green">
1.08
</span>
</span> hits/line)
</h2>
<a name="AllFiles"></a>
<div>
<b>29</b> files in total.
- <b>822</b> relevant lines.
+ <b>821</b> relevant lines.
<span class="green"><b>475</b> lines covered</span> and
- <span class="red"><b>347</b> lines missed </span>
+ <span class="red"><b>346</b> lines missed </span>
</div>
<table class="file_list">
<thead>
<tr>
<th>File</th>
@@ -230,15 +230,15 @@
<td>0</td>
</tr>
<tr>
<td class="strong"><a href="#8dd805604e0326933cecd09151f4d1dac947b74c" class="src_link" title="lib/vagrant-windows/monkey_patches/plugins/provisioners/shell/provisioner.rb">lib/vagrant-windows/monkey_patches/plugins/provisioners/shell/provisioner.rb</a></td>
- <td class="red strong">26.09 %</td>
- <td>103</td>
- <td>46</td>
+ <td class="red strong">26.67 %</td>
+ <td>101</td>
+ <td>45</td>
<td>12</td>
- <td>34</td>
+ <td>33</td>
<td>0.3</td>
</tr>
<tr>
<td class="strong"><a href="#ee8701360a03270a2ab0f3354046766cf5f92da8" class="src_link" title="lib/vagrant-windows/plugin.rb">lib/vagrant-windows/plugin.rb</a></td>
@@ -6957,15 +6957,15 @@
</div>
<div class="source_table" id="8dd805604e0326933cecd09151f4d1dac947b74c">
<div class="header">
<h3>lib/vagrant-windows/monkey_patches/plugins/provisioners/shell/provisioner.rb</h3>
- <h4><span class="red">26.09 %</span> covered</h4>
+ <h4><span class="red">26.67 %</span> covered</h4>
<div>
- <b>46</b> relevant lines.
+ <b>45</b> relevant lines.
<span class="green"><b>12</b> lines covered</span> and
- <span class="red"><b>34</b> lines missed.</span>
+ <span class="red"><b>33</b> lines missed.</span>
</div>
</div>
<pre>
<ol>
@@ -7367,223 +7367,211 @@
</li>
<li class="missed" data-hits="0" data-linenumber="67">
- <code class="ruby"> script = nil</code>
+ <code class="ruby"> if config.remote?</code>
</li>
<li class="never" data-hits="" data-linenumber="68">
- <code class="ruby"></code>
+ <code class="ruby"> </code>
</li>
<li class="missed" data-hits="0" data-linenumber="69">
- <code class="ruby"> if config.remote?</code>
+ <code class="ruby"> download_path = @machine.env.tmp_path.join("#{@machine.id}-remote-script#{File.extname(config.path)}")</code>
</li>
<li class="missed" data-hits="0" data-linenumber="70">
- <code class="ruby"> download_path = @machine.env.tmp_path.join("#{@machine.id}-remote-script")</code>
+ <code class="ruby"> download_path.delete if download_path.file?</code>
</li>
- <li class="missed" data-hits="0" data-linenumber="71">
+ <li class="never" data-hits="" data-linenumber="71">
- <code class="ruby"> download_path.delete if download_path.file?</code>
+ <code class="ruby"></code>
</li>
- <li class="never" data-hits="" data-linenumber="72">
+ <li class="missed" data-hits="0" data-linenumber="72">
- <code class="ruby"></code>
+ <code class="ruby"> begin</code>
</li>
<li class="missed" data-hits="0" data-linenumber="73">
- <code class="ruby"> Vagrant::Util::Downloader.new(config.path, download_path).download!</code>
+ <code class="ruby"> Vagrant::Util::Downloader.new(config.path, download_path).download!</code>
</li>
<li class="missed" data-hits="0" data-linenumber="74">
- <code class="ruby"> script = download_path.read</code>
+ <code class="ruby"> yield download_path</code>
</li>
<li class="never" data-hits="" data-linenumber="75">
- <code class="ruby"></code>
+ <code class="ruby"> ensure</code>
</li>
<li class="missed" data-hits="0" data-linenumber="76">
- <code class="ruby"> download_path.delete</code>
+ <code class="ruby"> download_path.delete</code>
</li>
<li class="never" data-hits="" data-linenumber="77">
- <code class="ruby"> elsif config.path</code>
+ <code class="ruby"> end</code>
</li>
<li class="never" data-hits="" data-linenumber="78">
- <code class="ruby"> # Just yield the path to that file...</code>
+ <code class="ruby"> </code>
</li>
<li class="missed" data-hits="0" data-linenumber="79">
- <code class="ruby"> root_path = @machine.env.root_path</code>
+ <code class="ruby"> elsif config.path</code>
</li>
- <li class="missed" data-hits="0" data-linenumber="80">
+ <li class="never" data-hits="" data-linenumber="80">
- <code class="ruby"> script = Pathname.new(config.path).expand_path(root_path).read</code>
+ <code class="ruby"> # Just yield the path to that file...</code>
</li>
- <li class="never" data-hits="" data-linenumber="81">
+ <li class="missed" data-hits="0" data-linenumber="81">
- <code class="ruby"> else</code>
+ <code class="ruby"> yield config.path</code>
</li>
<li class="never" data-hits="" data-linenumber="82">
- <code class="ruby"> # The script is just the inline code...</code>
+ <code class="ruby"> else</code>
</li>
- <li class="missed" data-hits="0" data-linenumber="83">
+ <li class="never" data-hits="" data-linenumber="83">
- <code class="ruby"> script = config.inline</code>
+ <code class="ruby"> # Otherwise we have an inline script, we need to Tempfile it,</code>
</li>
<li class="never" data-hits="" data-linenumber="84">
- <code class="ruby"> end</code>
+ <code class="ruby"> # and handle it specially...</code>
</li>
- <li class="never" data-hits="" data-linenumber="85">
+ <li class="missed" data-hits="0" data-linenumber="85">
- <code class="ruby"></code>
+ <code class="ruby"> file = Tempfile.new(['vagrant-powershell', '.ps1'])</code>
</li>
<li class="never" data-hits="" data-linenumber="86">
- <code class="ruby"> # Otherwise we have an inline script, we need to Tempfile it,</code>
+ <code class="ruby"></code>
</li>
- <li class="never" data-hits="" data-linenumber="87">
+ <li class="missed" data-hits="0" data-linenumber="87">
- <code class="ruby"> # and handle it specially...</code>
+ <code class="ruby"> begin</code>
</li>
<li class="missed" data-hits="0" data-linenumber="88">
- <code class="ruby"> file = Tempfile.new(['vagrant-powershell', '.ps1'])</code>
+ <code class="ruby"> file.write(config.inline)</code>
</li>
- <li class="never" data-hits="" data-linenumber="89">
+ <li class="missed" data-hits="0" data-linenumber="89">
- <code class="ruby"></code>
+ <code class="ruby"> file.fsync</code>
</li>
<li class="missed" data-hits="0" data-linenumber="90">
- <code class="ruby"> begin</code>
+ <code class="ruby"> file.close</code>
</li>
<li class="missed" data-hits="0" data-linenumber="91">
- <code class="ruby"> file.write(script)</code>
+ <code class="ruby"> yield file.path</code>
</li>
- <li class="missed" data-hits="0" data-linenumber="92">
+ <li class="never" data-hits="" data-linenumber="92">
- <code class="ruby"> file.fsync</code>
+ <code class="ruby"> ensure</code>
</li>
<li class="missed" data-hits="0" data-linenumber="93">
- <code class="ruby"> file.close</code>
+ <code class="ruby"> file.close</code>
</li>
<li class="missed" data-hits="0" data-linenumber="94">
- <code class="ruby"> yield file.path</code>
+ <code class="ruby"> file.unlink</code>
</li>
<li class="never" data-hits="" data-linenumber="95">
- <code class="ruby"> ensure</code>
+ <code class="ruby"> end</code>
</li>
- <li class="missed" data-hits="0" data-linenumber="96">
+ <li class="never" data-hits="" data-linenumber="96">
- <code class="ruby"> file.close</code>
- </li>
-
- <li class="missed" data-hits="0" data-linenumber="97">
-
-
- <code class="ruby"> file.unlink</code>
- </li>
-
- <li class="never" data-hits="" data-linenumber="98">
-
-
<code class="ruby"> end</code>
</li>
- <li class="never" data-hits="" data-linenumber="99">
+ <li class="never" data-hits="" data-linenumber="97">
<code class="ruby"> end</code>
</li>
- <li class="never" data-hits="" data-linenumber="100">
+ <li class="never" data-hits="" data-linenumber="98">
<code class="ruby"></code>
</li>
- <li class="never" data-hits="" data-linenumber="101">
+ <li class="never" data-hits="" data-linenumber="99">
<code class="ruby"> end # Provisioner class</code>
</li>
- <li class="never" data-hits="" data-linenumber="102">
+ <li class="never" data-hits="" data-linenumber="100">
<code class="ruby"> end</code>
</li>
- <li class="never" data-hits="" data-linenumber="103">
+ <li class="never" data-hits="" data-linenumber="101">
<code class="ruby">end</code>
</li>