Sha256: b49b70a2b5448a56dde2e102a612f0672e68d8134f15177841dc29ca96fbd08b

Contents?: true

Size: 759 Bytes

Versions: 3

Compression:

Stored size: 759 Bytes

Contents

<%
    require 'rubygems'
    require 'hpricot'
%>
<div id="bodyColumn">
    <div class="contentBox">
        <div class="section"><a name="rcov"></a>
            <%
                # chargement/modification du rapport rcov
                doc = Hpricot(File.read("#{Continuous4r::WORK_DIR}/rcov/coverage/index.html"))
                doc.search('//a') do |link|
                  if link.inner_text.index('rcov').nil?
                    link.swap("<a target='_blank' href='rcov/coverage/#{link.attributes['href']}'>#{link.inner_text}</a>")
                  end
                end
            %>
            <h2>Rcov Results</h2>
            <%= doc.search("style")[1].to_html %>
            <%= (doc/"body").inner_html %>
        </div>
    </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
continuous4r-0.0.2 lib/site/body-rcov.rhtml
continuous4r-0.0.3 lib/site/body-rcov.rhtml
continuous4r-0.0.4 lib/site/body-rcov.rhtml