You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2014/07/07 19:56:56 UTC
svn commit: r1608531 - in /buildr/site: CHANGELOG download.html index.html
rdoc/CHANGELOG.html rdoc/URI/FILE.html rdoc/URI/Generic.html
rdoc/created.rid rdoc/js/search_index.js
Author: donaldp
Date: Mon Jul 7 17:56:56 2014
New Revision: 1608531
URL: http://svn.apache.org/r1608531
Log:
Publish latest site
Modified:
buildr/site/CHANGELOG
buildr/site/download.html
buildr/site/index.html
buildr/site/rdoc/CHANGELOG.html
buildr/site/rdoc/URI/FILE.html
buildr/site/rdoc/URI/Generic.html
buildr/site/rdoc/created.rid
buildr/site/rdoc/js/search_index.js
Modified: buildr/site/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/site/CHANGELOG?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/CHANGELOG (original)
+++ buildr/site/CHANGELOG Mon Jul 7 17:56:56 2014
@@ -1,3 +1,14 @@
+1.4.19 (2014-07-06)
+* Fixed: BUILDR-700 - Ensure SNAPSHOT artifacts, constructed using the
+ download(artifact('group:artifact:jar:1-SNAPSHOT') =>
+ 'http://example.com/...') construct will correctly download the
+ artifacts from configured URL.
+* Fixed: BUILDR-700 - Fix bug where buildr was truncating SNAPSHOT files
+ that had not changed since last update check and HTTP was returning
+ "HTTP Not Modified" status.
+* Fixed: Fix bug introduced in 1.4.18 version of custom_pom addon where
+ poms are created for artifacts that have a classifier.
+
1.4.18 (2014-06-24)
* Fixed: BUILDR-699 - Update the custom_pom addon to avoid failure when
used with zip packages.
Modified: buildr/site/download.html
URL: http://svn.apache.org/viewvc/buildr/site/download.html?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/download.html (original)
+++ buildr/site/download.html Mon Jul 7 17:56:56 2014
@@ -87,6 +87,40 @@
<p>The official Apache distribution consists of the digitally signed binaries (gems) and source packages <a href="#dist">available below</a>. To install these binaries, you must first download them to disk and then install them using the <code>gem install</code> command (or <code>rake install</code> for a source distribution).</p>
<p>The source code is included in both source and binary distribution, the Gem distribution expands the source code into your local Gem repository. That’s in addition to getting the source code directly. Learn more about working with source code and <a href="contributing.html#edge">living on the edge</a>.</p>
<h2 id="dist">Binaries and Source Code</h2>
+<h3>buildr 1.4.19 (2014-07-06)</h3>
+<table>
+ <tr>
+ <th>Package </th>
+ <th>MD5 Checksum </th>
+ <th><span class="caps">PGP</span> </th>
+ </tr>
+ <tr>
+ <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.19/buildr-1.4.19-java.gem">buildr-1.4.19-java.gem</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19-java.gem.md5">bdf35f947eab94766ec4a4ca4b82e73e</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19-java.gem.asc">Sig</a> </td>
+ </tr>
+ <tr>
+ <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.19/buildr-1.4.19-x86-mswin32.gem">buildr-1.4.19-x86-mswin32.gem</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19-x86-mswin32.gem.md5">9fbe0ac5148e5d3a6f449dfbd5dfc4a2</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19-x86-mswin32.gem.asc">Sig</a> </td>
+ </tr>
+ <tr>
+ <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.19/buildr-1.4.19.gem">buildr-1.4.19.gem</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19.gem.md5">626af3aabef47a6c55587aaeca5d879d</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19.gem.asc">Sig</a> </td>
+ </tr>
+ <tr>
+ <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.19/buildr-1.4.19.tgz">buildr-1.4.19.tgz</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19.tgz.md5">f9bc0151a6ed9867c40393cced6195f5</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19.tgz.asc">Sig</a> </td>
+ </tr>
+ <tr>
+ <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.19/buildr-1.4.19.zip">buildr-1.4.19.zip</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19.zip.md5">1c88b93901524e236db41ec69a3bc72a</a> </td>
+ <td> <a href="http://www.apache.org/dist/buildr/1.4.19/buildr-1.4.19.zip.asc">Sig</a> </td>
+ </tr>
+</table>
+<p style="text-align:right;">(<a href="http://www.apache.org/dist/buildr/1.4.19/KEYS">Release signing keys</a>)</p>
<h3>buildr 1.4.18 (2014-06-24)</h3>
<table>
<tr>
@@ -95,32 +129,32 @@
<th><span class="caps">PGP</span> </th>
</tr>
<tr>
- <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.18/buildr-1.4.18-java.gem">buildr-1.4.18-java.gem</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18-java.gem.md5">e71adb986a066d0238325dabdfe577ff</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18-java.gem.asc">Sig</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18-java.gem">buildr-1.4.18-java.gem</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18-java.gem.md5">e71adb986a066d0238325dabdfe577ff</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18-java.gem.asc">Sig</a> </td>
</tr>
<tr>
- <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.18/buildr-1.4.18-x86-mswin32.gem">buildr-1.4.18-x86-mswin32.gem</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18-x86-mswin32.gem.md5">322d4008c2b8ca45e7e78e0248b35d4a</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18-x86-mswin32.gem.asc">Sig</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18-x86-mswin32.gem">buildr-1.4.18-x86-mswin32.gem</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18-x86-mswin32.gem.md5">322d4008c2b8ca45e7e78e0248b35d4a</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18-x86-mswin32.gem.asc">Sig</a> </td>
</tr>
<tr>
- <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.18/buildr-1.4.18.gem">buildr-1.4.18.gem</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18.gem.md5">9bb3eb5085bd531ef7b2dc68baf847ad</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18.gem.asc">Sig</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.gem">buildr-1.4.18.gem</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.gem.md5">9bb3eb5085bd531ef7b2dc68baf847ad</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.gem.asc">Sig</a> </td>
</tr>
<tr>
- <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.18/buildr-1.4.18.tgz">buildr-1.4.18.tgz</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18.tgz.md5">f6a74d86f76abf9e7de5e2c32ec59946</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18.tgz.asc">Sig</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.tgz">buildr-1.4.18.tgz</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.tgz.md5">f6a74d86f76abf9e7de5e2c32ec59946</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.tgz.asc">Sig</a> </td>
</tr>
<tr>
- <td> <a href="http://www.apache.org/dyn/closer.cgi/buildr/1.4.18/buildr-1.4.18.zip">buildr-1.4.18.zip</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18.zip.md5">3fba955436b4dd5f88e0f280d765f37b</a> </td>
- <td> <a href="http://www.apache.org/dist/buildr/1.4.18/buildr-1.4.18.zip.asc">Sig</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.zip">buildr-1.4.18.zip</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.zip.md5">3fba955436b4dd5f88e0f280d765f37b</a> </td>
+ <td> <a href="http://archive.apache.org/dist/buildr/1.4.18/buildr-1.4.18.zip.asc">Sig</a> </td>
</tr>
</table>
-<p style="text-align:right;">(<a href="http://www.apache.org/dist/buildr/1.4.18/KEYS">Release signing keys</a>)</p>
+<p style="text-align:right;">(<a href="http://archive.apache.org/dist/buildr/1.4.18/KEYS">Release signing keys</a>)</p>
<h3>buildr 1.4.17 (2014-05-25)</h3>
<table>
<tr>
Modified: buildr/site/index.html
URL: http://svn.apache.org/viewvc/buildr/site/index.html?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/index.html (original)
+++ buildr/site/index.html Mon Jul 7 17:56:56 2014
@@ -118,6 +118,18 @@
</ul>
<p>So let’s get started. You can <a href="quick_start.html">read the documentation online</a>, or <a href="buildr.pdf">download the <span class="caps">PDF</span></a>.</p>
<h2 id="news">What’s New</h2>
+<p>Highlights from Buildr 1.4.19 (2014-07-06)</p>
+<ul>
+ <li>Fixed: <span class="caps">BUILDR</span>-700 – Ensure <span class="caps">SNAPSHOT</span> artifacts, constructed using the<br />
+ download(artifact(‘group:artifact:jar:1-<span class="caps">SNAPSHOT</span>’) =><br />
+ ‘http://example.com/…’) construct will correctly download the<br />
+ artifacts from configured <span class="caps">URL</span>.</li>
+ <li>Fixed: <span class="caps">BUILDR</span>-700 – Fix bug where buildr was truncating <span class="caps">SNAPSHOT</span> files<br />
+ that had not changed since last update check and <span class="caps">HTTP</span> was returning<br />
+ “<span class="caps">HTTP</span> Not Modified” status.</li>
+ <li>Fixed: Fix bug introduced in 1.4.18 version of custom_pom addon where<br />
+ poms are created for artifacts that have a classifier.</li>
+</ul>
<p>Highlights from Buildr 1.4.18 (2014-06-24)</p>
<ul>
<li>Fixed: <span class="caps">BUILDR</span>-699 – Update the custom_pom addon to avoid failure when<br />
@@ -139,30 +151,6 @@
<li>Fixed: Fix the naming of css_lint addon file so it is made available<br />
as an addon.</li>
</ul>
-<p>Highlights from Buildr 1.4.17 (2014-05-25)</p>
-<ul>
- <li>Change: Supply a default xsl file for generating the checkstyle report.</li>
- <li>Added: Add csslint tasks css_lint:xml and css_lint:html that support source code analysis of <span class="caps">CSS</span> files.</li>
- <li>Added: Add scss_lint tasks scss_lint:xml and scss_lint:html that support source code analysis of <span class="caps">SCSS</span> files.</li>
- <li>Added: Import ‘buildr/custom_pom’ addon to make it easier to build POMs for projects publishing to Maven Central.</li>
- <li>Added: Add flag to allow non portable extensions in wsgen addon.</li>
-</ul>
-<p>Highlights from Buildr 1.4.16 (2014-05-03)</p>
-<ul>
- <li>Added: Add the ability to generate a html report when using the<br />
- jacoco addon. Extracted from the ode project.</li>
- <li>Change: Improved the error handling when generating java from wsdl<br />
- in the wsgen addon.</li>
- <li>Change: Upgraded the Checkstyle plugin to use checkstyle 5.7 that<br />
- improves Java 7 compatibility.</li>
- <li>Change: Upgraded the <span class="caps">PMD</span> plugin to use pmd 5.0.5 which for Java 7<br />
- compatibility.</li>
- <li>Change: Improve the ‘buildr/gwt’ addon to easily support different<br />
- gwt versions. Fix several bugs with the addon at the same<br />
- time.</li>
- <li>Fixed: Avoid crash in <span class="caps">GPG</span> addon if unable to create a pom<br />
- for an artifact.</li>
-</ul>
<p>This is a partial list — see the <a href="CHANGELOG"><span class="caps">CHANGELOG</span></a> for full details.</p>
<h2 id="notices">Credits & Notices</h2>
<p><a href="http://www.apache.org"><img src="http://www.apache.org/images/asf-logo.gif" title="A project of the Apache Software Foundation" alt="A project of the Apache Software Foundation" /></a></p>
Modified: buildr/site/rdoc/CHANGELOG.html
URL: http://svn.apache.org/viewvc/buildr/site/rdoc/CHANGELOG.html?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/rdoc/CHANGELOG.html (original)
+++ buildr/site/rdoc/CHANGELOG.html Mon Jul 7 17:56:56 2014
@@ -393,6 +393,19 @@
<div id="documentation" class="description">
+<p>1.4.19 (2014-07-06)</p>
+
+<pre class="ruby"><span class="ruby-constant">Fixed</span><span class="ruby-operator">:</span> <span class="ruby-constant">BUILDR</span><span class="ruby-operator">-</span><span class="ruby-value">700</span> <span class="ruby-operator">-</span> <span class="ruby-constant">Ensure</span> <span class="ruby-constant">SNAPSHOT</span> <span class="ruby-identifier">artifacts</span>, <span class="ruby-identifier">constructed</span> <span class="ruby-identifier">using</span> <span class="ruby-identifier">the</span>
+ <span class="ruby-identifier">download</span>(<span class="ruby-identifier">artifact</span>(<span class="ruby-string">'group:artifact:jar:1-SNAPSHOT'</span>) =<span class="ruby-operator">></span>
+ <span class="ruby-string">'http://example.com/...'</span>) <span class="ruby-identifier">construct</span> <span class="ruby-identifier">will</span> <span class="ruby-identifier">correctly</span> <span class="ruby-identifier">download</span> <span class="ruby-identifier">the</span>
+ <span class="ruby-identifier">artifacts</span> <span class="ruby-identifier">from</span> <span class="ruby-identifier">configured</span> <span class="ruby-constant">URL</span>.
+<span class="ruby-constant">Fixed</span><span class="ruby-operator">:</span> <span class="ruby-constant">BUILDR</span><span class="ruby-operator">-</span><span class="ruby-value">700</span> <span class="ruby-operator">-</span> <span class="ruby-constant">Fix</span> <span class="ruby-identifier">bug</span> <span class="ruby-identifier">where</span> <span class="ruby-identifier">buildr</span> <span class="ruby-identifier">was</span> <span class="ruby-identifier">truncating</span> <span class="ruby-constant">SNAPSHOT</span> <span class="ruby-identifier">files</span>
+ <span class="ruby-identifier">that</span> <span class="ruby-identifier">had</span> <span class="ruby-keyword">not</span> <span class="ruby-identifier">changed</span> <span class="ruby-identifier">since</span> <span class="ruby-identifier">last</span> <span class="ruby-identifier">update</span> <span class="ruby-identifier">check</span> <span class="ruby-keyword">and</span> <span class="ruby-constant">HTTP</span> <span class="ruby-identifier">was</span> <span class="ruby-identifier">returning</span>
+ <span class="ruby-string">"HTTP Not Modified"</span> <span class="ruby-identifier">status</span>.
+<span class="ruby-constant">Fixed</span><span class="ruby-operator">:</span> <span class="ruby-constant">Fix</span> <span class="ruby-identifier">bug</span> <span class="ruby-identifier">introduced</span> <span class="ruby-keyword">in</span> <span class="ruby-value">1.4</span><span class="ruby-value">.18</span> <span class="ruby-identifier">version</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">custom_pom</span> <span class="ruby-identifier">addon</span> <span class="ruby-identifier">where</span>
+ <span class="ruby-identifier">poms</span> <span class="ruby-identifier">are</span> <span class="ruby-identifier">created</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">artifacts</span> <span class="ruby-identifier">that</span> <span class="ruby-identifier">have</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">classifier</span>.
+</pre>
+
<p>1.4.18 (2014-06-24)</p>
<pre>Fixed: BUILDR-699 - Update the custom_pom addon to avoid failure when
Modified: buildr/site/rdoc/URI/FILE.html
URL: http://svn.apache.org/viewvc/buildr/site/rdoc/URI/FILE.html?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/rdoc/URI/FILE.html (original)
+++ buildr/site/rdoc/URI/FILE.html Mon Jul 7 17:56:56 2014
@@ -500,7 +500,7 @@ URL.</p>
<div class="method-source-code" id="new-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 495</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 497</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
<span class="ruby-keyword">super</span>
<span class="ruby-comment"># file:something (opaque) becomes file:///something</span>
@@ -556,7 +556,7 @@ URL.</p>
<div class="method-source-code" id="read-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 517</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 519</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">read</span>(<span class="ruby-identifier">options</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
<span class="ruby-identifier">options</span> <span class="ruby-operator">||=</span> {}
<span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">'Either you\re attempting to read a file from another host (which we don\t support), or you used two slashes by mistake, where you should have file:///<path>.'</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">host</span>
@@ -600,7 +600,7 @@ URL.</p>
<div class="method-source-code" id="to_s-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 532</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 534</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
<span class="ruby-node">"file://#{host}#{path}"</span>
<span class="ruby-keyword">end</span></pre>
@@ -638,7 +638,7 @@ URL.</p>
<div class="method-source-code" id="upload-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 488</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 490</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-keyword">super</span>
<span class="ruby-keyword">if</span> <span class="ruby-constant">File</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">source</span> <span class="ruby-keyword">then</span>
Modified: buildr/site/rdoc/URI/Generic.html
URL: http://svn.apache.org/viewvc/buildr/site/rdoc/URI/Generic.html?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/rdoc/URI/Generic.html (original)
+++ buildr/site/rdoc/URI/Generic.html Mon Jul 7 17:56:56 2014
@@ -500,10 +500,12 @@ Pipe.</p>
<span class="ruby-identifier">modified</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-identifier">target</span>).<span class="ruby-identifier">mtime</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">target</span>)
<span class="ruby-identifier">temp</span> = <span class="ruby-constant">Tempfile</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">target</span>))
<span class="ruby-identifier">temp</span>.<span class="ruby-identifier">binmode</span>
- <span class="ruby-identifier">read</span>({<span class="ruby-value">:progress=</span><span class="ruby-operator">></span><span class="ruby-identifier">verbose</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span> <span class="ruby-operator">||</span> {}).<span class="ruby-identifier">merge</span>(<span class="ruby-value">:modified=</span><span class="ruby-operator">></span><span class="ruby-identifier">modified</span>)) { <span class="ruby-operator">|</span><span class="ruby-identifier">chunk</span><span class="ruby-operator">|</span> <span class="ruby-identifier">temp</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">chunk</span> }
+ <span class="ruby-identifier">written</span> = <span class="ruby-keyword">false</span>
+ <span class="ruby-identifier">read</span>({<span class="ruby-value">:progress=</span><span class="ruby-operator">></span><span class="ruby-identifier">verbose</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span> <span class="ruby-operator">||</span> {}).<span class="ruby-identifier">merge</span>(<span class="ruby-value">:modified=</span><span class="ruby-operator">></span><span class="ruby-identifier">modified</span>)) { <span class="ruby-operator">|</span><span class="ruby-identifier">chunk</span><span class="ruby-operator">|</span> <span class="ruby-identifier">written</span> = <span class="ruby-keyword">true</span>; <span class="ruby-identifier">temp</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">chunk</span> }
<span class="ruby-identifier">temp</span>.<span class="ruby-identifier">close</span>
<span class="ruby-identifier">mkpath</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">target</span>)
- <span class="ruby-identifier">mv</span> <span class="ruby-identifier">temp</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">target</span>
+ <span class="ruby-comment"># Only attempt to override file if it was actually written to, i.e. "HTTP Not Modified" was not returned.</span>
+ <span class="ruby-identifier">mv</span> <span class="ruby-identifier">temp</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">target</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">written</span>
<span class="ruby-keyword">when</span> <span class="ruby-constant">File</span>
<span class="ruby-identifier">read</span>({<span class="ruby-value">:progress=</span><span class="ruby-operator">></span><span class="ruby-identifier">verbose</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span> <span class="ruby-operator">||</span> {}).<span class="ruby-identifier">merge</span>(<span class="ruby-value">:modified=</span><span class="ruby-operator">></span><span class="ruby-identifier">target</span>.<span class="ruby-identifier">mtime</span>)) { <span class="ruby-operator">|</span><span class="ruby-identifier">chunk</span><span class="ruby-operator">|</span> <span class="ruby-identifier">target</span>.<span class="ruby-identifier">write</span> <span class="ruby-identifier">chunk</span> }
<span class="ruby-identifier">target</span>.<span class="ruby-identifier">flush</span>
@@ -600,7 +602,7 @@ any object that responds to <code>read</
<div class="method-source-code" id="upload-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 197</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 199</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">source</span>, <span class="ruby-identifier">options</span> = <span class="ruby-keyword">nil</span>)
<span class="ruby-identifier">source</span> = <span class="ruby-identifier">source</span>.<span class="ruby-identifier">name</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">Rake</span><span class="ruby-operator">::</span><span class="ruby-constant">Task</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">source</span>
<span class="ruby-identifier">options</span> <span class="ruby-operator">||=</span> {}
@@ -676,7 +678,7 @@ specified number of bytes, the last yiel
<div class="method-source-code" id="write-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 171</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 173</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">write</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
<span class="ruby-identifier">options</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">pop</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">Hash</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">last</span>
<span class="ruby-identifier">options</span> <span class="ruby-operator">||=</span> {}
@@ -732,7 +734,7 @@ name and port number from environment va
<div class="method-source-code" id="proxy_uri-source">
- <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 252</span>
+ <pre><span class="ruby-comment"># File lib/buildr/core/transports.rb, line 254</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">proxy_uri</span>
<span class="ruby-identifier">proxy</span> = <span class="ruby-constant">ENV</span>[<span class="ruby-node">"#{scheme.upcase}_PROXY"</span>]
<span class="ruby-identifier">proxy</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">proxy</span>) <span class="ruby-keyword">if</span> <span class="ruby-constant">String</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">proxy</span>
Modified: buildr/site/rdoc/created.rid
URL: http://svn.apache.org/viewvc/buildr/site/rdoc/created.rid?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/rdoc/created.rid (original)
+++ buildr/site/rdoc/created.rid Mon Jul 7 17:56:56 2014
@@ -1,4 +1,4 @@
-Tue, 24 Jun 2014 22:12:42 +1000
+Sun, 06 Jul 2014 11:00:08 +1000
lib/buildr/clojure/shell.rb Sat, 24 May 2014 13:55:33 +1000
lib/buildr/clojure.rb Sun, 11 May 2014 11:29:56 +1000
lib/buildr/core/application.rb Sun, 11 May 2014 11:29:56 +1000
@@ -6,7 +6,7 @@ lib/buildr/core/assets.rb Sun, 11 May 20
lib/buildr/core/build.rb Sat, 24 May 2014 13:55:33 +1000
lib/buildr/core/cc.rb Sun, 11 May 2014 11:23:18 +1000
lib/buildr/core/checks.rb Sun, 11 May 2014 11:29:56 +1000
-lib/buildr/core/common.rb Sun, 11 May 2014 11:23:18 +1000
+lib/buildr/core/common.rb Sat, 05 Jul 2014 16:06:34 +1000
lib/buildr/core/compile.rb Sun, 11 May 2014 11:29:56 +1000
lib/buildr/core/console.rb Sun, 11 May 2014 11:23:18 +1000
lib/buildr/core/doc.rb Sun, 11 May 2014 11:29:56 +1000
@@ -22,7 +22,7 @@ lib/buildr/core/project.rb Tue, 24 Jun 2
lib/buildr/core/run.rb Sat, 24 May 2014 13:55:33 +1000
lib/buildr/core/shell.rb Sat, 24 May 2014 13:55:33 +1000
lib/buildr/core/test.rb Fri, 16 May 2014 21:05:44 +1000
-lib/buildr/core/transports.rb Tue, 24 Jun 2014 15:07:10 +1000
+lib/buildr/core/transports.rb Thu, 03 Jul 2014 20:30:48 +1000
lib/buildr/core/util.rb Sun, 11 May 2014 11:30:05 +1000
lib/buildr/groovy/bdd.rb Sun, 11 May 2014 11:23:18 +1000
lib/buildr/groovy/compiler.rb Sun, 11 May 2014 11:30:05 +1000
@@ -49,7 +49,7 @@ lib/buildr/java/test_result.rb Sun, 11 M
lib/buildr/java/tests.rb Sat, 24 May 2014 13:55:33 +1000
lib/buildr/java/version_requirement.rb Sun, 11 May 2014 11:30:05 +1000
lib/buildr/packaging/archive.rb Sun, 11 May 2014 11:30:05 +1000
-lib/buildr/packaging/artifact.rb Sun, 11 May 2014 11:30:05 +1000
+lib/buildr/packaging/artifact.rb Sat, 05 Jul 2014 11:58:23 +1000
lib/buildr/packaging/artifact_namespace.rb Sat, 24 May 2014 13:55:33 +1000
lib/buildr/packaging/artifact_search.rb Sun, 11 May 2014 11:23:18 +1000
lib/buildr/packaging/gems.rb Wed, 18 Jun 2014 21:51:06 +1000
@@ -67,9 +67,9 @@ lib/buildr/scala/shell.rb Sun, 11 May 20
lib/buildr/scala/tests.rb Sun, 11 May 2014 11:30:05 +1000
lib/buildr/scala.rb Sun, 11 May 2014 11:30:05 +1000
lib/buildr/shell.rb Sun, 11 May 2014 11:23:18 +1000
-lib/buildr/version.rb Tue, 24 Jun 2014 22:09:47 +1000
+lib/buildr/version.rb Sun, 06 Jul 2014 10:57:27 +1000
lib/buildr.rb Sun, 11 May 2014 11:23:18 +1000
README.rdoc Wed, 18 Jun 2014 22:11:26 +1000
-CHANGELOG Tue, 24 Jun 2014 21:09:12 +1000
+CHANGELOG Sun, 06 Jul 2014 10:55:09 +1000
LICENSE Wed, 19 Feb 2014 04:32:20 +1100
NOTICE Wed, 19 Feb 2014 14:43:39 +1100
Modified: buildr/site/rdoc/js/search_index.js
URL: http://svn.apache.org/viewvc/buildr/site/rdoc/js/search_index.js?rev=1608531&r1=1608530&r2=1608531&view=diff
==============================================================================
--- buildr/site/rdoc/js/search_index.js (original)
+++ buildr/site/rdoc/js/search_index.js Mon Jul 7 17:56:56 2014
@@ -1 +1 @@
[... 5 lines stripped ...]