summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-03-14 00:36:32 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-03-14 00:36:32 -0700
commit7fbfa8cabecc943670cb5765900979efe8a0dcb7 (patch)
treee4a58b00066dc05eee384e3b6cac48f76af0c6a6
parent8785608a3ff644e4835045396913f0f137706d3c (diff)
downloadchef-7fbfa8cabecc943670cb5765900979efe8a0dcb7.tar.gz
Getting rid of coverage in git
-rw-r--r--coverage/index.html495
-rw-r--r--coverage/lib-chef-config_rb.html679
-rw-r--r--coverage/lib-chef-cookbook_rb.html718
-rw-r--r--coverage/lib-chef-mixin-check_helper_rb.html643
-rw-r--r--coverage/lib-chef-mixin-from_file_rb.html642
-rw-r--r--coverage/lib-chef-node_rb.html701
-rw-r--r--coverage/lib-chef-recipe_rb.html706
-rw-r--r--coverage/lib-chef-resource-file_rb.html723
-rw-r--r--coverage/lib-chef-resource_collection_rb.html765
-rw-r--r--coverage/lib-chef-resource_definition_rb.html673
-rw-r--r--coverage/lib-chef-resource_rb.html733
-rw-r--r--coverage/lib-chef_rb.html636
-rw-r--r--spec/data/cookbooks/openldap/attributes/default.rb1
-rw-r--r--spec/data/cookbooks/openldap/ignore6
-rw-r--r--spec/unit/compile_spec.rb45
-rw-r--r--spec/unit/cookbook_collection_spec.rb65
16 files changed, 7 insertions, 8224 deletions
diff --git a/coverage/index.html b/coverage/index.html
deleted file mode 100644
index 0f8159c58e..0000000000
--- a/coverage/index.html
+++ /dev/null
@@ -1,495 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td>TOTAL</td>
- <td class='lines_total'><tt>909</tt>
- </td>
- <td class='lines_code'><tt>597</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='dark'><td><a href='lib-chef_rb.html'>lib/chef.rb</a>
- </td>
- <td class='lines_total'><tt>26</tt>
- </td>
- <td class='lines_code'><tt>5</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='light'><td><a href='lib-chef-config_rb.html'>lib/chef/config.rb</a>
- </td>
- <td class='lines_total'><tt>69</tt>
- </td>
- <td class='lines_code'><tt>43</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='dark'><td><a href='lib-chef-cookbook_rb.html'>lib/chef/cookbook.rb</a>
- </td>
- <td class='lines_total'><tt>108</tt>
- </td>
- <td class='lines_code'><tt>79</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='light'><td><a href='lib-chef-mixin-check_helper_rb.html'>lib/chef/mixin/check_helper.rb</a>
- </td>
- <td class='lines_total'><tt>33</tt>
- </td>
- <td class='lines_code'><tt>14</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='dark'><td><a href='lib-chef-mixin-from_file_rb.html'>lib/chef/mixin/from_file.rb</a>
- </td>
- <td class='lines_total'><tt>32</tt>
- </td>
- <td class='lines_code'><tt>13</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='light'><td><a href='lib-chef-node_rb.html'>lib/chef/node.rb</a>
- </td>
- <td class='lines_total'><tt>91</tt>
- </td>
- <td class='lines_code'><tt>60</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='dark'><td><a href='lib-chef-recipe_rb.html'>lib/chef/recipe.rb</a>
- </td>
- <td class='lines_total'><tt>96</tt>
- </td>
- <td class='lines_code'><tt>66</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='light'><td><a href='lib-chef-resource_rb.html'>lib/chef/resource.rb</a>
- </td>
- <td class='lines_total'><tt>123</tt>
- </td>
- <td class='lines_code'><tt>90</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='dark'><td><a href='lib-chef-resource-file_rb.html'>lib/chef/resource/file.rb</a>
- </td>
- <td class='lines_total'><tt>113</tt>
- </td>
- <td class='lines_code'><tt>84</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='light'><td><a href='lib-chef-resource_collection_rb.html'>lib/chef/resource_collection.rb</a>
- </td>
- <td class='lines_total'><tt>155</tt>
- </td>
- <td class='lines_code'><tt>110</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr class='dark'><td><a href='lib-chef-resource_definition_rb.html'>lib/chef/resource_definition.rb</a>
- </td>
- <td class='lines_total'><tt>63</tt>
- </td>
- <td class='lines_code'><tt>33</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml11' height='31' alt='Valid XHTML 1.1!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-config_rb.html b/coverage/lib-chef-config_rb.html
deleted file mode 100644
index 82eeadd743..0000000000
--- a/coverage/lib-chef-config_rb.html
+++ /dev/null
@@ -1,679 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/config.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-config_rb.html'>lib/chef/config.rb</a>
- </td>
- <td class='lines_total'><tt>69</tt>
- </td>
- <td class='lines_code'><tt>43</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred1"><a name="line1"></a> 1 #
-</span><span class="inferred0"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred1"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred0"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred1"><a name="line5"></a> 5 #
-</span><span class="inferred0"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred1"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred0"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred1"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred0"><a name="line10"></a>10 #
-</span><span class="inferred1"><a name="line11"></a>11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred0"><a name="line12"></a>12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred1"><a name="line13"></a>13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred0"><a name="line14"></a>14 # GNU General Public License for more details.
-</span><span class="inferred1"><a name="line15"></a>15 #
-</span><span class="inferred0"><a name="line16"></a>16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred1"><a name="line17"></a>17 # along with this program; if not, write to the Free Software
-</span><span class="inferred0"><a name="line18"></a>18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred1"><a name="line19"></a>19 #
-</span><span class="inferred0"><a name="line20"></a>20
-</span><span class="marked1"><a name="line21"></a>21 require File.join(File.dirname(__FILE__), &quot;mixin&quot;, &quot;check_helper&quot;)
-</span><span class="inferred0"><a name="line22"></a>22
-</span><span class="marked1"><a name="line23"></a>23 class Chef
-</span><span class="marked0"><a name="line24"></a>24 class Config
-</span><span class="inferred1"><a name="line25"></a>25
-</span><span class="marked0"><a name="line26"></a>26 include Chef::Mixin::CheckHelper
-</span><span class="inferred1"><a name="line27"></a>27
-</span><span class="marked0"><a name="line28"></a>28 def initialize
-</span><span class="marked1"><a name="line29"></a>29 set_defaults
-</span><span class="marked0"><a name="line30"></a>30 end
-</span><span class="inferred1"><a name="line31"></a>31
-</span><span class="marked0"><a name="line32"></a>32 def self.load_file(file)
-</span><span class="marked1"><a name="line33"></a>33 config = Chef::Config.new
-</span><span class="marked0"><a name="line34"></a>34 if File.exists?(file) &amp;&amp; File.readable?(file)
-</span><span class="marked1"><a name="line35"></a>35 begin
-</span><span class="marked0"><a name="line36"></a>36 config.instance_eval(IO.read(file), file, 1)
-</span><span class="inferred1"><a name="line37"></a>37 rescue NoMethodError =&gt; e
-</span><span class="marked0"><a name="line38"></a>38 new_message = &quot;You probably tried to use a config variable that doesn't exist!\n&quot;
-</span><span class="marked1"><a name="line39"></a>39 new_message += e.message
-</span><span class="marked0"><a name="line40"></a>40 raise e.exception(new_message)
-</span><span class="inferred1"><a name="line41"></a>41 end
-</span><span class="inferred0"><a name="line42"></a>42 else
-</span><span class="marked1"><a name="line43"></a>43 raise IOError, &quot;Cannot find or read #{file}!&quot;
-</span><span class="inferred0"><a name="line44"></a>44 end
-</span><span class="marked1"><a name="line45"></a>45 config
-</span><span class="inferred0"><a name="line46"></a>46 end
-</span><span class="inferred1"><a name="line47"></a>47
-</span><span class="marked0"><a name="line48"></a>48 def cookbook_path(*args)
-</span><span class="marked1"><a name="line49"></a>49 if args.length == 0
-</span><span class="marked0"><a name="line50"></a>50 @cookbook_path
-</span><span class="inferred1"><a name="line51"></a>51 else
-</span><span class="marked0"><a name="line52"></a>52 flat_args = args.flatten
-</span><span class="marked1"><a name="line53"></a>53 flat_args.each do |a|
-</span><span class="marked0"><a name="line54"></a>54 unless a.kind_of?(String)
-</span><span class="marked1"><a name="line55"></a>55 raise ArgumentError, &quot;You must pass strings to cookbook_path!&quot;
-</span><span class="inferred0"><a name="line56"></a>56 end
-</span><span class="inferred1"><a name="line57"></a>57 end
-</span><span class="marked0"><a name="line58"></a>58 @cookbook_path = flat_args
-</span><span class="inferred1"><a name="line59"></a>59 end
-</span><span class="marked0"><a name="line60"></a>60 end
-</span><span class="inferred1"><a name="line61"></a>61
-</span><span class="marked0"><a name="line62"></a>62 def set_defaults
-</span><span class="marked1"><a name="line63"></a>63 @cookbook_path = [
-</span><span class="inferred0"><a name="line64"></a>64 &quot;/etc/chef/site-cookbook&quot;,
-</span><span class="inferred1"><a name="line65"></a>65 &quot;/etc/chef/cookbook&quot;,
-</span><span class="inferred0"><a name="line66"></a>66 ]
-</span><span class="marked1"><a name="line67"></a>67 end
-</span><span class="inferred0"><a name="line68"></a>68 end
-</span><span class="inferred1"><a name="line69"></a>69 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-cookbook_rb.html b/coverage/lib-chef-cookbook_rb.html
deleted file mode 100644
index 13c28d7870..0000000000
--- a/coverage/lib-chef-cookbook_rb.html
+++ /dev/null
@@ -1,718 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/cookbook.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-cookbook_rb.html'>lib/chef/cookbook.rb</a>
- </td>
- <td class='lines_total'><tt>108</tt>
- </td>
- <td class='lines_code'><tt>79</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred0"><a name="line1"></a> 1 #
-</span><span class="inferred1"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred0"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred1"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred0"><a name="line5"></a> 5 #
-</span><span class="inferred1"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred0"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred1"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred0"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred1"><a name="line10"></a> 10 #
-</span><span class="inferred0"><a name="line11"></a> 11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred1"><a name="line12"></a> 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred0"><a name="line13"></a> 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred1"><a name="line14"></a> 14 # GNU General Public License for more details.
-</span><span class="inferred0"><a name="line15"></a> 15 #
-</span><span class="inferred1"><a name="line16"></a> 16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred0"><a name="line17"></a> 17 # along with this program; if not, write to the Free Software
-</span><span class="inferred1"><a name="line18"></a> 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred0"><a name="line19"></a> 19 #
-</span><span class="inferred1"><a name="line20"></a> 20
-</span><span class="marked0"><a name="line21"></a> 21 class Chef
-</span><span class="marked1"><a name="line22"></a> 22 class Cookbook
-</span><span class="inferred0"><a name="line23"></a> 23
-</span><span class="marked1"><a name="line24"></a> 24 attr_accessor :attribute_files, :definition_files, :name
-</span><span class="marked0"><a name="line25"></a> 25 attr_reader :recipe_files
-</span><span class="inferred1"><a name="line26"></a> 26
-</span><span class="marked0"><a name="line27"></a> 27 def initialize(name)
-</span><span class="marked1"><a name="line28"></a> 28 @name = name
-</span><span class="marked0"><a name="line29"></a> 29 @attribute_files = Array.new
-</span><span class="marked1"><a name="line30"></a> 30 @definition_files = Array.new
-</span><span class="marked0"><a name="line31"></a> 31 @recipe_files = Array.new
-</span><span class="marked1"><a name="line32"></a> 32 @recipe_names = Hash.new
-</span><span class="inferred0"><a name="line33"></a> 33 end
-</span><span class="inferred1"><a name="line34"></a> 34
-</span><span class="marked0"><a name="line35"></a> 35 def load_attributes(node)
-</span><span class="marked1"><a name="line36"></a> 36 unless node.kind_of?(Chef::Node)
-</span><span class="marked0"><a name="line37"></a> 37 raise ArgumentError, &quot;You must pass a Chef::Node to load_attributes!&quot;
-</span><span class="inferred1"><a name="line38"></a> 38 end
-</span><span class="marked0"><a name="line39"></a> 39 @attribute_files.each do |file|
-</span><span class="marked1"><a name="line40"></a> 40 node.from_file(file)
-</span><span class="inferred0"><a name="line41"></a> 41 end
-</span><span class="marked1"><a name="line42"></a> 42 node
-</span><span class="inferred0"><a name="line43"></a> 43 end
-</span><span class="inferred1"><a name="line44"></a> 44
-</span><span class="marked0"><a name="line45"></a> 45 def load_definitions
-</span><span class="marked1"><a name="line46"></a> 46 results = Hash.new
-</span><span class="marked0"><a name="line47"></a> 47 @definition_files.each do |file|
-</span><span class="marked1"><a name="line48"></a> 48 resourcedef = Chef::ResourceDefinition.new
-</span><span class="marked0"><a name="line49"></a> 49 resourcedef.from_file(file)
-</span><span class="marked1"><a name="line50"></a> 50 results[resourcedef.name] = resourcedef
-</span><span class="inferred0"><a name="line51"></a> 51 end
-</span><span class="marked1"><a name="line52"></a> 52 results
-</span><span class="inferred0"><a name="line53"></a> 53 end
-</span><span class="inferred1"><a name="line54"></a> 54
-</span><span class="marked0"><a name="line55"></a> 55 def recipe_files=(*args)
-</span><span class="marked1"><a name="line56"></a> 56 @recipe_files = args.flatten
-</span><span class="marked0"><a name="line57"></a> 57 @recipe_files.each_index do |i|
-</span><span class="marked1"><a name="line58"></a> 58 file = @recipe_files[i]
-</span><span class="marked0"><a name="line59"></a> 59 case file
-</span><span class="marked1"><a name="line60"></a> 60 when /(.+\/)(.+).rb$/
-</span><span class="marked0"><a name="line61"></a> 61 @recipe_names[$2] = i
-</span><span class="marked1"><a name="line62"></a> 62 when /(.+).rb$/
-</span><span class="marked0"><a name="line63"></a> 63 @recipe_names[$1] = i
-</span><span class="inferred1"><a name="line64"></a> 64 else
-</span><span class="marked0"><a name="line65"></a> 65 @recipe_names[file] = i
-</span><span class="inferred1"><a name="line66"></a> 66 end
-</span><span class="inferred0"><a name="line67"></a> 67 end
-</span><span class="marked1"><a name="line68"></a> 68 @recipe_files
-</span><span class="inferred0"><a name="line69"></a> 69 end
-</span><span class="inferred1"><a name="line70"></a> 70
-</span><span class="marked0"><a name="line71"></a> 71 def recipe?(name)
-</span><span class="marked1"><a name="line72"></a> 72 lookup_name = name
-</span><span class="marked0"><a name="line73"></a> 73 if name =~ /(.+)::(.+)/
-</span><span class="marked1"><a name="line74"></a> 74 cookbook_name = $1
-</span><span class="marked0"><a name="line75"></a> 75 lookup_name = $2
-</span><span class="marked1"><a name="line76"></a> 76 return false unless cookbook_name == @name
-</span><span class="inferred0"><a name="line77"></a> 77 end
-</span><span class="marked1"><a name="line78"></a> 78 @recipe_names.has_key?(lookup_name)
-</span><span class="inferred0"><a name="line79"></a> 79 end
-</span><span class="inferred1"><a name="line80"></a> 80
-</span><span class="marked0"><a name="line81"></a> 81 def recipes
-</span><span class="marked1"><a name="line82"></a> 82 results = Array.new
-</span><span class="marked0"><a name="line83"></a> 83 @recipe_names.each_key do |rname|
-</span><span class="marked1"><a name="line84"></a> 84 results &lt;&lt; &quot;#{@name}::#{rname}&quot;
-</span><span class="inferred0"><a name="line85"></a> 85 end
-</span><span class="marked1"><a name="line86"></a> 86 results
-</span><span class="inferred0"><a name="line87"></a> 87 end
-</span><span class="inferred1"><a name="line88"></a> 88
-</span><span class="marked0"><a name="line89"></a> 89 def load_recipe(name, node, collection=nil, definitions=nil, config=nil)
-</span><span class="marked1"><a name="line90"></a> 90 cookbook_name = @name
-</span><span class="marked0"><a name="line91"></a> 91 recipe_name = nil
-</span><span class="marked1"><a name="line92"></a> 92 case name
-</span><span class="marked0"><a name="line93"></a> 93 when /^(.+)::(.+)$/
-</span><span class="marked1"><a name="line94"></a> 94 recipe_name = $2
-</span><span class="inferred0"><a name="line95"></a> 95 else
-</span><span class="marked1"><a name="line96"></a> 96 recipe_name = name
-</span><span class="inferred0"><a name="line97"></a> 97 end
-</span><span class="marked1"><a name="line98"></a> 98 unless @recipe_names.has_key?(recipe_name)
-</span><span class="marked0"><a name="line99"></a> 99 raise ArgumentError, &quot;Cannot find a recipe matching #{recipe_name} in cookbook #{@name}&quot;
-</span><span class="inferred1"><a name="line100"></a>100 end
-</span><span class="marked0"><a name="line101"></a>101 recipe = Chef::Recipe.new(cookbook_name, recipe_name, node,
-</span><span class="inferred1"><a name="line102"></a>102 collection, definitions, config)
-</span><span class="marked0"><a name="line103"></a>103 recipe.from_file(@recipe_files[@recipe_names[recipe_name]])
-</span><span class="marked1"><a name="line104"></a>104 recipe
-</span><span class="inferred0"><a name="line105"></a>105 end
-</span><span class="inferred1"><a name="line106"></a>106
-</span><span class="inferred0"><a name="line107"></a>107 end
-</span><span class="inferred1"><a name="line108"></a>108 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-mixin-check_helper_rb.html b/coverage/lib-chef-mixin-check_helper_rb.html
deleted file mode 100644
index 5ec5e3d54b..0000000000
--- a/coverage/lib-chef-mixin-check_helper_rb.html
+++ /dev/null
@@ -1,643 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/mixin/check_helper.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-mixin-check_helper_rb.html'>lib/chef/mixin/check_helper.rb</a>
- </td>
- <td class='lines_total'><tt>33</tt>
- </td>
- <td class='lines_code'><tt>14</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred0"><a name="line1"></a> 1 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred1"><a name="line2"></a> 2 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred0"><a name="line3"></a> 3 # License:: GNU General Public License version 2 or later
-</span><span class="inferred1"><a name="line4"></a> 4 #
-</span><span class="inferred0"><a name="line5"></a> 5 # This program and entire repository is free software; you can
-</span><span class="inferred1"><a name="line6"></a> 6 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred0"><a name="line7"></a> 7 # General Public License as published by the Free Software
-</span><span class="inferred1"><a name="line8"></a> 8 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred0"><a name="line9"></a> 9 #
-</span><span class="inferred1"><a name="line10"></a>10 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred0"><a name="line11"></a>11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred1"><a name="line12"></a>12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred0"><a name="line13"></a>13 # GNU General Public License for more details.
-</span><span class="inferred1"><a name="line14"></a>14 #
-</span><span class="inferred0"><a name="line15"></a>15 # You should have received a copy of the GNU General Public License
-</span><span class="inferred1"><a name="line16"></a>16 # along with this program; if not, write to the Free Software
-</span><span class="inferred0"><a name="line17"></a>17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred1"><a name="line18"></a>18 #
-</span><span class="inferred0"><a name="line19"></a>19
-</span><span class="marked1"><a name="line20"></a>20 class Chef
-</span><span class="marked0"><a name="line21"></a>21 module Mixin
-</span><span class="marked1"><a name="line22"></a>22 module CheckHelper
-</span><span class="marked0"><a name="line23"></a>23 def set_if_args(thing, arguments)
-</span><span class="marked1"><a name="line24"></a>24 raise ArgumentError, &quot;Must call set_if_args with a block!&quot; unless Kernel.block_given?
-</span><span class="marked0"><a name="line25"></a>25 if arguments != nil
-</span><span class="marked1"><a name="line26"></a>26 yield(arguments)
-</span><span class="inferred0"><a name="line27"></a>27 else
-</span><span class="marked1"><a name="line28"></a>28 thing
-</span><span class="inferred0"><a name="line29"></a>29 end
-</span><span class="inferred1"><a name="line30"></a>30 end
-</span><span class="inferred0"><a name="line31"></a>31 end
-</span><span class="inferred1"><a name="line32"></a>32 end
-</span><span class="inferred0"><a name="line33"></a>33 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-mixin-from_file_rb.html b/coverage/lib-chef-mixin-from_file_rb.html
deleted file mode 100644
index ceb17aa4d5..0000000000
--- a/coverage/lib-chef-mixin-from_file_rb.html
+++ /dev/null
@@ -1,642 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/mixin/from_file.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-mixin-from_file_rb.html'>lib/chef/mixin/from_file.rb</a>
- </td>
- <td class='lines_total'><tt>32</tt>
- </td>
- <td class='lines_code'><tt>13</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred1"><a name="line1"></a> 1 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred0"><a name="line2"></a> 2 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred1"><a name="line3"></a> 3 # License:: GNU General Public License version 2 or later
-</span><span class="inferred0"><a name="line4"></a> 4 #
-</span><span class="inferred1"><a name="line5"></a> 5 # This program and entire repository is free software; you can
-</span><span class="inferred0"><a name="line6"></a> 6 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred1"><a name="line7"></a> 7 # General Public License as published by the Free Software
-</span><span class="inferred0"><a name="line8"></a> 8 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred1"><a name="line9"></a> 9 #
-</span><span class="inferred0"><a name="line10"></a>10 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred1"><a name="line11"></a>11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred0"><a name="line12"></a>12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred1"><a name="line13"></a>13 # GNU General Public License for more details.
-</span><span class="inferred0"><a name="line14"></a>14 #
-</span><span class="inferred1"><a name="line15"></a>15 # You should have received a copy of the GNU General Public License
-</span><span class="inferred0"><a name="line16"></a>16 # along with this program; if not, write to the Free Software
-</span><span class="inferred1"><a name="line17"></a>17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred0"><a name="line18"></a>18 #
-</span><span class="inferred1"><a name="line19"></a>19
-</span><span class="marked0"><a name="line20"></a>20 class Chef
-</span><span class="marked1"><a name="line21"></a>21 module Mixin
-</span><span class="marked0"><a name="line22"></a>22 module FromFile
-</span><span class="marked1"><a name="line23"></a>23 def from_file(filename)
-</span><span class="marked0"><a name="line24"></a>24 if File.exists?(filename) &amp;&amp; File.readable?(filename)
-</span><span class="marked1"><a name="line25"></a>25 self.instance_eval(IO.read(filename), filename, 1)
-</span><span class="inferred0"><a name="line26"></a>26 else
-</span><span class="marked1"><a name="line27"></a>27 raise IOError, &quot;Cannot open or read #{filename}!&quot;
-</span><span class="inferred0"><a name="line28"></a>28 end
-</span><span class="marked1"><a name="line29"></a>29 end
-</span><span class="inferred0"><a name="line30"></a>30 end
-</span><span class="inferred1"><a name="line31"></a>31 end
-</span><span class="inferred0"><a name="line32"></a>32 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-node_rb.html b/coverage/lib-chef-node_rb.html
deleted file mode 100644
index 565e54a41b..0000000000
--- a/coverage/lib-chef-node_rb.html
+++ /dev/null
@@ -1,701 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/node.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-node_rb.html'>lib/chef/node.rb</a>
- </td>
- <td class='lines_total'><tt>91</tt>
- </td>
- <td class='lines_code'><tt>60</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred1"><a name="line1"></a> 1 #
-</span><span class="inferred0"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred1"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred0"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred1"><a name="line5"></a> 5 #
-</span><span class="inferred0"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred1"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred0"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred1"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred0"><a name="line10"></a>10 #
-</span><span class="inferred1"><a name="line11"></a>11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred0"><a name="line12"></a>12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred1"><a name="line13"></a>13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred0"><a name="line14"></a>14 # GNU General Public License for more details.
-</span><span class="inferred1"><a name="line15"></a>15 #
-</span><span class="inferred0"><a name="line16"></a>16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred1"><a name="line17"></a>17 # along with this program; if not, write to the Free Software
-</span><span class="inferred0"><a name="line18"></a>18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred1"><a name="line19"></a>19 #
-</span><span class="inferred0"><a name="line20"></a>20
-</span><span class="marked1"><a name="line21"></a>21 require File.join(File.dirname(__FILE__), &quot;mixin&quot;, &quot;check_helper&quot;)
-</span><span class="marked0"><a name="line22"></a>22 require File.join(File.dirname(__FILE__), &quot;mixin&quot;, &quot;from_file&quot;)
-</span><span class="inferred1"><a name="line23"></a>23
-</span><span class="marked0"><a name="line24"></a>24 class Chef
-</span><span class="marked1"><a name="line25"></a>25 class Node
-</span><span class="inferred0"><a name="line26"></a>26
-</span><span class="marked1"><a name="line27"></a>27 attr_accessor :attribute, :recipe_list
-</span><span class="inferred0"><a name="line28"></a>28
-</span><span class="marked1"><a name="line29"></a>29 include Chef::Mixin::CheckHelper
-</span><span class="marked0"><a name="line30"></a>30 include Chef::Mixin::FromFile
-</span><span class="inferred1"><a name="line31"></a>31
-</span><span class="marked0"><a name="line32"></a>32 def initialize()
-</span><span class="marked1"><a name="line33"></a>33 @name = nil
-</span><span class="marked0"><a name="line34"></a>34 @attribute = Hash.new
-</span><span class="marked1"><a name="line35"></a>35 @recipe_list = Array.new
-</span><span class="inferred0"><a name="line36"></a>36 end
-</span><span class="inferred1"><a name="line37"></a>37
-</span><span class="marked0"><a name="line38"></a>38 def name(arg=nil)
-</span><span class="marked1"><a name="line39"></a>39 set_if_args(@name, arg) do |a|
-</span><span class="marked0"><a name="line40"></a>40 case a
-</span><span class="marked1"><a name="line41"></a>41 when String
-</span><span class="marked0"><a name="line42"></a>42 @name = a
-</span><span class="inferred1"><a name="line43"></a>43 else
-</span><span class="marked0"><a name="line44"></a>44 raise ArgumentError, &quot;The nodes name must be a string&quot;
-</span><span class="inferred1"><a name="line45"></a>45 end
-</span><span class="inferred0"><a name="line46"></a>46 end
-</span><span class="marked1"><a name="line47"></a>47 end
-</span><span class="inferred0"><a name="line48"></a>48
-</span><span class="marked1"><a name="line49"></a>49 def [](attrib)
-</span><span class="marked0"><a name="line50"></a>50 if @attribute.has_key?(attrib)
-</span><span class="marked1"><a name="line51"></a>51 @attribute[attrib]
-</span><span class="marked0"><a name="line52"></a>52 elsif @attribute.has_key?(attrib.to_s)
-</span><span class="marked1"><a name="line53"></a>53 @attribute[attrib.to_s]
-</span><span class="inferred0"><a name="line54"></a>54 else
-</span><span class="marked1"><a name="line55"></a>55 nil
-</span><span class="inferred0"><a name="line56"></a>56 end
-</span><span class="marked1"><a name="line57"></a>57 end
-</span><span class="inferred0"><a name="line58"></a>58
-</span><span class="marked1"><a name="line59"></a>59 def attribute?(attrib)
-</span><span class="marked0"><a name="line60"></a>60 result = false
-</span><span class="marked1"><a name="line61"></a>61 result = @attribute.has_key?(attrib)
-</span><span class="marked0"><a name="line62"></a>62 return result if result
-</span><span class="marked1"><a name="line63"></a>63 return @attribute.has_key?(attrib.to_sym)
-</span><span class="inferred0"><a name="line64"></a>64 end
-</span><span class="inferred1"><a name="line65"></a>65
-</span><span class="marked0"><a name="line66"></a>66 def recipe?(recipe_name)
-</span><span class="marked1"><a name="line67"></a>67 @recipe_list.detect { |r| r == recipe_name } ? true : false
-</span><span class="marked0"><a name="line68"></a>68 end
-</span><span class="inferred1"><a name="line69"></a>69
-</span><span class="marked0"><a name="line70"></a>70 def recipes(*args)
-</span><span class="marked1"><a name="line71"></a>71 if args.length &gt; 0
-</span><span class="marked0"><a name="line72"></a>72 @recipe_list = args.flatten
-</span><span class="inferred1"><a name="line73"></a>73 else
-</span><span class="marked0"><a name="line74"></a>74 @recipe_list
-</span><span class="inferred1"><a name="line75"></a>75 end
-</span><span class="marked0"><a name="line76"></a>76 end
-</span><span class="inferred1"><a name="line77"></a>77
-</span><span class="marked0"><a name="line78"></a>78 def method_missing(symbol, *args)
-</span><span class="marked1"><a name="line79"></a>79 if args.length != 0
-</span><span class="marked0"><a name="line80"></a>80 @attribute[symbol] = args.length == 1 ? args[0] : args
-</span><span class="inferred1"><a name="line81"></a>81 else
-</span><span class="marked0"><a name="line82"></a>82 if @attribute.has_key?(symbol)
-</span><span class="marked1"><a name="line83"></a>83 @attribute[symbol]
-</span><span class="inferred0"><a name="line84"></a>84 else
-</span><span class="marked1"><a name="line85"></a>85 raise ArgumentError, &quot;Attribute #{symbol.to_s} is not defined!&quot;
-</span><span class="inferred0"><a name="line86"></a>86 end
-</span><span class="inferred1"><a name="line87"></a>87 end
-</span><span class="marked0"><a name="line88"></a>88 end
-</span><span class="inferred1"><a name="line89"></a>89
-</span><span class="inferred0"><a name="line90"></a>90 end
-</span><span class="inferred1"><a name="line91"></a>91 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-recipe_rb.html b/coverage/lib-chef-recipe_rb.html
deleted file mode 100644
index e58968b88b..0000000000
--- a/coverage/lib-chef-recipe_rb.html
+++ /dev/null
@@ -1,706 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/recipe.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-recipe_rb.html'>lib/chef/recipe.rb</a>
- </td>
- <td class='lines_total'><tt>96</tt>
- </td>
- <td class='lines_code'><tt>66</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred0"><a name="line1"></a> 1 #
-</span><span class="inferred1"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred0"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred1"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred0"><a name="line5"></a> 5 #
-</span><span class="inferred1"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred0"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred1"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred0"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred1"><a name="line10"></a>10 #
-</span><span class="inferred0"><a name="line11"></a>11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred1"><a name="line12"></a>12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred0"><a name="line13"></a>13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred1"><a name="line14"></a>14 # GNU General Public License for more details.
-</span><span class="inferred0"><a name="line15"></a>15 #
-</span><span class="inferred1"><a name="line16"></a>16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred0"><a name="line17"></a>17 # along with this program; if not, write to the Free Software
-</span><span class="inferred1"><a name="line18"></a>18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred0"><a name="line19"></a>19 #
-</span><span class="inferred1"><a name="line20"></a>20
-</span><span class="marked0"><a name="line21"></a>21 require File.join(File.dirname(__FILE__), &quot;mixin&quot;, &quot;from_file&quot;)
-</span><span class="inferred1"><a name="line22"></a>22
-</span><span class="marked0"><a name="line23"></a>23 class Chef
-</span><span class="marked1"><a name="line24"></a>24 class Recipe
-</span><span class="inferred0"><a name="line25"></a>25
-</span><span class="marked1"><a name="line26"></a>26 include Chef::Mixin::FromFile
-</span><span class="inferred0"><a name="line27"></a>27
-</span><span class="marked1"><a name="line28"></a>28 attr_accessor :cookbook_name, :recipe_name, :recipe, :node, :collection,
-</span><span class="inferred0"><a name="line29"></a>29 :definitions, :config, :params
-</span><span class="inferred1"><a name="line30"></a>30
-</span><span class="marked0"><a name="line31"></a>31 def initialize(cookbook_name, recipe_name, node, collection=nil, definitions=nil, config=nil)
-</span><span class="marked1"><a name="line32"></a>32 @cookbook_name = cookbook_name
-</span><span class="marked0"><a name="line33"></a>33 @recipe_name = recipe_name
-</span><span class="marked1"><a name="line34"></a>34 @node = node
-</span><span class="marked0"><a name="line35"></a>35 if collection
-</span><span class="marked1"><a name="line36"></a>36 @collection = collection
-</span><span class="inferred0"><a name="line37"></a>37 else
-</span><span class="marked1"><a name="line38"></a>38 @collection = Chef::ResourceCollection.new()
-</span><span class="inferred0"><a name="line39"></a>39 end
-</span><span class="marked1"><a name="line40"></a>40 if config
-</span><span class="marked0"><a name="line41"></a>41 @config = config
-</span><span class="inferred1"><a name="line42"></a>42 else
-</span><span class="marked0"><a name="line43"></a>43 @config = Chef::Config.new()
-</span><span class="inferred1"><a name="line44"></a>44 end
-</span><span class="marked0"><a name="line45"></a>45 if definitions
-</span><span class="marked1"><a name="line46"></a>46 @definitions = definitions
-</span><span class="inferred0"><a name="line47"></a>47 else
-</span><span class="marked1"><a name="line48"></a>48 @definitions = Hash.new
-</span><span class="inferred0"><a name="line49"></a>49 end
-</span><span class="marked1"><a name="line50"></a>50 @params = Hash.new
-</span><span class="inferred0"><a name="line51"></a>51 end
-</span><span class="inferred1"><a name="line52"></a>52
-</span><span class="marked0"><a name="line53"></a>53 def resources(*args)
-</span><span class="marked1"><a name="line54"></a>54 @collection.resources(*args)
-</span><span class="marked0"><a name="line55"></a>55 end
-</span><span class="inferred1"><a name="line56"></a>56
-</span><span class="marked0"><a name="line57"></a>57 def method_missing(method_symbol, *args, &amp;block)
-</span><span class="marked1"><a name="line58"></a>58 resource = nil
-</span><span class="inferred0"><a name="line59"></a>59 # If we have a definition that matches, we want to use that instead. This should
-</span><span class="inferred1"><a name="line60"></a>60 # let you do some really crazy over-riding of &quot;native&quot; types, if you really want
-</span><span class="inferred0"><a name="line61"></a>61 # to.
-</span><span class="marked1"><a name="line62"></a>62 if @definitions.has_key?(method_symbol)
-</span><span class="marked0"><a name="line63"></a>63 new_def = @definitions[method_symbol].dup
-</span><span class="marked1"><a name="line64"></a>64 new_def.instance_eval(&amp;block)
-</span><span class="marked0"><a name="line65"></a>65 new_recipe = Chef::Recipe.new(@cookbook_name, @recipe_name, @node, @collection, @definitions, @config)
-</span><span class="marked1"><a name="line66"></a>66 new_recipe.params = new_def.params
-</span><span class="marked0"><a name="line67"></a>67 new_recipe.instance_eval(&amp;new_def.recipe)
-</span><span class="inferred1"><a name="line68"></a>68 else
-</span><span class="marked0"><a name="line69"></a>69 method_name = method_symbol.to_s
-</span><span class="inferred1"><a name="line70"></a>70 # Otherwise, we're rocking the regular resource call route.
-</span><span class="marked0"><a name="line71"></a>71 rname = nil
-</span><span class="marked1"><a name="line72"></a>72 case method_name
-</span><span class="marked0"><a name="line73"></a>73 when /^(.+)_(.+)$/
-</span><span class="marked1"><a name="line74"></a>74 rname = &quot;Chef::Resource::#{$1.capitalize}#{$2.capitalize}&quot;
-</span><span class="marked0"><a name="line75"></a>75 when /^(.+)$/
-</span><span class="marked1"><a name="line76"></a>76 rname = &quot;Chef::Resource::#{$1.capitalize}&quot;
-</span><span class="inferred0"><a name="line77"></a>77 end
-</span><span class="marked1"><a name="line78"></a>78 begin
-</span><span class="marked0"><a name="line79"></a>79 args &lt;&lt; @collection
-</span><span class="marked1"><a name="line80"></a>80 args &lt;&lt; @config
-</span><span class="marked0"><a name="line81"></a>81 resource = eval(rname).new(*args)
-</span><span class="marked1"><a name="line82"></a>82 resource.params = @params
-</span><span class="marked0"><a name="line83"></a>83 resource.instance_eval(&amp;block)
-</span><span class="inferred1"><a name="line84"></a>84 rescue Exception =&gt; e
-</span><span class="marked0"><a name="line85"></a>85 if e.kind_of?(NameError) &amp;&amp; e.to_s =~ /Chef::Resource/
-</span><span class="marked1"><a name="line86"></a>86 raise NameError, &quot;Cannot find #{rname} for #{method_name}\nOriginal: #{e.to_s}&quot;
-</span><span class="inferred0"><a name="line87"></a>87 else
-</span><span class="marked1"><a name="line88"></a>88 raise e
-</span><span class="inferred0"><a name="line89"></a>89 end
-</span><span class="inferred1"><a name="line90"></a>90 end
-</span><span class="marked0"><a name="line91"></a>91 @collection &lt;&lt; resource
-</span><span class="marked1"><a name="line92"></a>92 resource
-</span><span class="inferred0"><a name="line93"></a>93 end
-</span><span class="inferred1"><a name="line94"></a>94 end
-</span><span class="inferred0"><a name="line95"></a>95 end
-</span><span class="inferred1"><a name="line96"></a>96 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-resource-file_rb.html b/coverage/lib-chef-resource-file_rb.html
deleted file mode 100644
index 2a792cafbb..0000000000
--- a/coverage/lib-chef-resource-file_rb.html
+++ /dev/null
@@ -1,723 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/resource/file.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-resource-file_rb.html'>lib/chef/resource/file.rb</a>
- </td>
- <td class='lines_total'><tt>113</tt>
- </td>
- <td class='lines_code'><tt>84</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred1"><a name="line1"></a> 1 #
-</span><span class="inferred0"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred1"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred0"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred1"><a name="line5"></a> 5 #
-</span><span class="inferred0"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred1"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred0"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred1"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred0"><a name="line10"></a> 10 #
-</span><span class="inferred1"><a name="line11"></a> 11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred0"><a name="line12"></a> 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred1"><a name="line13"></a> 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred0"><a name="line14"></a> 14 # GNU General Public License for more details.
-</span><span class="inferred1"><a name="line15"></a> 15 #
-</span><span class="inferred0"><a name="line16"></a> 16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred1"><a name="line17"></a> 17 # along with this program; if not, write to the Free Software
-</span><span class="inferred0"><a name="line18"></a> 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred1"><a name="line19"></a> 19 #
-</span><span class="inferred0"><a name="line20"></a> 20
-</span><span class="marked1"><a name="line21"></a> 21 class Chef
-</span><span class="marked0"><a name="line22"></a> 22 class Resource
-</span><span class="marked1"><a name="line23"></a> 23 class File &lt; Chef::Resource
-</span><span class="marked0"><a name="line24"></a> 24 attr_reader :backup, :checksum, :insure, :group, :mode, :owner, :path
-</span><span class="inferred1"><a name="line25"></a> 25
-</span><span class="marked0"><a name="line26"></a> 26 def initialize(name, collection=nil, config=nil)
-</span><span class="marked1"><a name="line27"></a> 27 @resource_name = :file
-</span><span class="marked0"><a name="line28"></a> 28 super(name, collection, config)
-</span><span class="marked1"><a name="line29"></a> 29 @path = name
-</span><span class="marked0"><a name="line30"></a> 30 @backup = true
-</span><span class="marked1"><a name="line31"></a> 31 @checksum = &quot;md5sum&quot;
-</span><span class="inferred0"><a name="line32"></a> 32 end
-</span><span class="inferred1"><a name="line33"></a> 33
-</span><span class="marked0"><a name="line34"></a> 34 def backup(arg=nil)
-</span><span class="marked1"><a name="line35"></a> 35 set_if_args(@backup, arg) do
-</span><span class="marked0"><a name="line36"></a> 36 case arg
-</span><span class="marked1"><a name="line37"></a> 37 when true, false, Integer
-</span><span class="marked0"><a name="line38"></a> 38 @backup = arg
-</span><span class="inferred1"><a name="line39"></a> 39 else
-</span><span class="marked0"><a name="line40"></a> 40 raise ArgumentError, &quot;backup must be true, false, or a number!&quot;
-</span><span class="inferred1"><a name="line41"></a> 41 end
-</span><span class="inferred0"><a name="line42"></a> 42 end
-</span><span class="marked1"><a name="line43"></a> 43 end
-</span><span class="inferred0"><a name="line44"></a> 44
-</span><span class="marked1"><a name="line45"></a> 45 def checksum(arg=nil)
-</span><span class="marked0"><a name="line46"></a> 46 set_if_args(@checksum, arg) do
-</span><span class="marked1"><a name="line47"></a> 47 case arg
-</span><span class="marked0"><a name="line48"></a> 48 when &quot;md5sum&quot;, &quot;mtime&quot;
-</span><span class="marked1"><a name="line49"></a> 49 @checksum = arg
-</span><span class="inferred0"><a name="line50"></a> 50 else
-</span><span class="marked1"><a name="line51"></a> 51 raise ArgumentError, &quot;checksum must be md5sum or mtime!&quot;
-</span><span class="inferred0"><a name="line52"></a> 52 end
-</span><span class="inferred1"><a name="line53"></a> 53 end
-</span><span class="marked0"><a name="line54"></a> 54 end
-</span><span class="inferred1"><a name="line55"></a> 55
-</span><span class="marked0"><a name="line56"></a> 56 def insure(arg=nil)
-</span><span class="marked1"><a name="line57"></a> 57 set_if_args(@insure, arg) do
-</span><span class="marked0"><a name="line58"></a> 58 case arg
-</span><span class="marked1"><a name="line59"></a> 59 when &quot;absent&quot;, &quot;present&quot;
-</span><span class="marked0"><a name="line60"></a> 60 @insure = arg
-</span><span class="inferred1"><a name="line61"></a> 61 else
-</span><span class="marked0"><a name="line62"></a> 62 raise ArgumentError, &quot;insure must be absent or present!&quot;
-</span><span class="inferred1"><a name="line63"></a> 63 end
-</span><span class="inferred0"><a name="line64"></a> 64 end
-</span><span class="marked1"><a name="line65"></a> 65 end
-</span><span class="inferred0"><a name="line66"></a> 66
-</span><span class="marked1"><a name="line67"></a> 67 def group(arg=nil)
-</span><span class="marked0"><a name="line68"></a> 68 set_if_args(@group, arg) do
-</span><span class="marked1"><a name="line69"></a> 69 case arg
-</span><span class="marked0"><a name="line70"></a> 70 when /^([a-z]|[A-Z]|[0-9]|_|-)+$/, Integer
-</span><span class="marked1"><a name="line71"></a> 71 @group = arg
-</span><span class="inferred0"><a name="line72"></a> 72 else
-</span><span class="marked1"><a name="line73"></a> 73 raise ArgumentError, &quot;group must match /^([a-z]|[A-Z]|[0-9]|_|-)$/, Integer!&quot;
-</span><span class="inferred0"><a name="line74"></a> 74 end
-</span><span class="inferred1"><a name="line75"></a> 75 end
-</span><span class="marked0"><a name="line76"></a> 76 end
-</span><span class="inferred1"><a name="line77"></a> 77
-</span><span class="marked0"><a name="line78"></a> 78 def mode(arg=nil)
-</span><span class="marked1"><a name="line79"></a> 79 set_if_args(@mode, arg) do
-</span><span class="marked0"><a name="line80"></a> 80 case &quot;#{arg.to_s}&quot;
-</span><span class="marked1"><a name="line81"></a> 81 when /^\d{3,4}$/
-</span><span class="marked0"><a name="line82"></a> 82 @mode = arg
-</span><span class="inferred1"><a name="line83"></a> 83 else
-</span><span class="marked0"><a name="line84"></a> 84 raise ArgumentError, &quot;mode must be a valid unix file mode - 3 or 4 digets!&quot;
-</span><span class="inferred1"><a name="line85"></a> 85 end
-</span><span class="inferred0"><a name="line86"></a> 86 end
-</span><span class="marked1"><a name="line87"></a> 87 end
-</span><span class="inferred0"><a name="line88"></a> 88
-</span><span class="marked1"><a name="line89"></a> 89 def owner(arg=nil)
-</span><span class="marked0"><a name="line90"></a> 90 set_if_args(@owner, arg) do
-</span><span class="marked1"><a name="line91"></a> 91 case arg
-</span><span class="marked0"><a name="line92"></a> 92 when /^([a-z]|[A-Z]|[0-9]|_|-)+$/, Integer
-</span><span class="marked1"><a name="line93"></a> 93 @owner = arg
-</span><span class="inferred0"><a name="line94"></a> 94 else
-</span><span class="marked1"><a name="line95"></a> 95 raise ArgumentError, &quot;group must match /^([a-z]|[A-Z]|[0-9]|_|-)$/, Integer!&quot;
-</span><span class="inferred0"><a name="line96"></a> 96 end
-</span><span class="inferred1"><a name="line97"></a> 97 end
-</span><span class="marked0"><a name="line98"></a> 98 end
-</span><span class="inferred1"><a name="line99"></a> 99
-</span><span class="marked0"><a name="line100"></a>100 def path(arg=nil)
-</span><span class="marked1"><a name="line101"></a>101 set_if_args(@path, arg) do
-</span><span class="marked0"><a name="line102"></a>102 case arg
-</span><span class="marked1"><a name="line103"></a>103 when String
-</span><span class="marked0"><a name="line104"></a>104 @path = arg
-</span><span class="inferred1"><a name="line105"></a>105 else
-</span><span class="marked0"><a name="line106"></a>106 raise ArgumentError, &quot;path must be a string!&quot;
-</span><span class="inferred1"><a name="line107"></a>107 end
-</span><span class="inferred0"><a name="line108"></a>108 end
-</span><span class="marked1"><a name="line109"></a>109 end
-</span><span class="inferred0"><a name="line110"></a>110
-</span><span class="inferred1"><a name="line111"></a>111 end
-</span><span class="inferred0"><a name="line112"></a>112 end
-</span><span class="inferred1"><a name="line113"></a>113 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-resource_collection_rb.html b/coverage/lib-chef-resource_collection_rb.html
deleted file mode 100644
index b32bc57709..0000000000
--- a/coverage/lib-chef-resource_collection_rb.html
+++ /dev/null
@@ -1,765 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/resource_collection.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-resource_collection_rb.html'>lib/chef/resource_collection.rb</a>
- </td>
- <td class='lines_total'><tt>155</tt>
- </td>
- <td class='lines_code'><tt>110</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred0"><a name="line1"></a> 1 #
-</span><span class="inferred1"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred0"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred1"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred0"><a name="line5"></a> 5 #
-</span><span class="inferred1"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred0"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred1"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred0"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred1"><a name="line10"></a> 10 #
-</span><span class="inferred0"><a name="line11"></a> 11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred1"><a name="line12"></a> 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred0"><a name="line13"></a> 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred1"><a name="line14"></a> 14 # GNU General Public License for more details.
-</span><span class="inferred0"><a name="line15"></a> 15 #
-</span><span class="inferred1"><a name="line16"></a> 16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred0"><a name="line17"></a> 17 # along with this program; if not, write to the Free Software
-</span><span class="inferred1"><a name="line18"></a> 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred0"><a name="line19"></a> 19 #
-</span><span class="inferred1"><a name="line20"></a> 20
-</span><span class="marked0"><a name="line21"></a> 21 class Chef
-</span><span class="marked1"><a name="line22"></a> 22 class ResourceCollection
-</span><span class="marked0"><a name="line23"></a> 23 include Enumerable
-</span><span class="inferred1"><a name="line24"></a> 24
-</span><span class="marked0"><a name="line25"></a> 25 def initialize
-</span><span class="marked1"><a name="line26"></a> 26 @resources = Array.new
-</span><span class="marked0"><a name="line27"></a> 27 @resources_by_name = Hash.new
-</span><span class="inferred1"><a name="line28"></a> 28 end
-</span><span class="inferred0"><a name="line29"></a> 29
-</span><span class="marked1"><a name="line30"></a> 30 def [](index)
-</span><span class="marked0"><a name="line31"></a> 31 @resources[index]
-</span><span class="marked1"><a name="line32"></a> 32 end
-</span><span class="inferred0"><a name="line33"></a> 33
-</span><span class="marked1"><a name="line34"></a> 34 def []=(index, arg)
-</span><span class="marked0"><a name="line35"></a> 35 is_chef_resource(arg)
-</span><span class="marked1"><a name="line36"></a> 36 @resources[index] = arg
-</span><span class="marked0"><a name="line37"></a> 37 @resources_by_name[arg.to_s] = index
-</span><span class="inferred1"><a name="line38"></a> 38 end
-</span><span class="inferred0"><a name="line39"></a> 39
-</span><span class="marked1"><a name="line40"></a> 40 def &lt;&lt;(*args)
-</span><span class="marked0"><a name="line41"></a> 41 args.flatten.each do |a|
-</span><span class="marked1"><a name="line42"></a> 42 is_chef_resource(a)
-</span><span class="marked0"><a name="line43"></a> 43 @resources &lt;&lt; a
-</span><span class="marked1"><a name="line44"></a> 44 @resources_by_name[a.to_s] = @resources.length - 1
-</span><span class="inferred0"><a name="line45"></a> 45 end
-</span><span class="marked1"><a name="line46"></a> 46 end
-</span><span class="inferred0"><a name="line47"></a> 47
-</span><span class="marked1"><a name="line48"></a> 48 def push(*args)
-</span><span class="marked0"><a name="line49"></a> 49 args.flatten.each do |a|
-</span><span class="marked1"><a name="line50"></a> 50 is_chef_resource(a)
-</span><span class="marked0"><a name="line51"></a> 51 @resources.push(a)
-</span><span class="marked1"><a name="line52"></a> 52 @resources_by_name[a.to_s] = @resources.length - 1
-</span><span class="inferred0"><a name="line53"></a> 53 end
-</span><span class="marked1"><a name="line54"></a> 54 end
-</span><span class="inferred0"><a name="line55"></a> 55
-</span><span class="marked1"><a name="line56"></a> 56 def each
-</span><span class="marked0"><a name="line57"></a> 57 @resources.each do |r|
-</span><span class="marked1"><a name="line58"></a> 58 yield r
-</span><span class="inferred0"><a name="line59"></a> 59 end
-</span><span class="marked1"><a name="line60"></a> 60 end
-</span><span class="inferred0"><a name="line61"></a> 61
-</span><span class="marked1"><a name="line62"></a> 62 def each_index
-</span><span class="marked0"><a name="line63"></a> 63 @resources.each_index do |i|
-</span><span class="marked1"><a name="line64"></a> 64 yield i
-</span><span class="inferred0"><a name="line65"></a> 65 end
-</span><span class="marked1"><a name="line66"></a> 66 end
-</span><span class="inferred0"><a name="line67"></a> 67
-</span><span class="marked1"><a name="line68"></a> 68 def lookup(resource)
-</span><span class="marked0"><a name="line69"></a> 69 lookup_by = nil
-</span><span class="marked1"><a name="line70"></a> 70 if resource.kind_of?(Chef::Resource)
-</span><span class="marked0"><a name="line71"></a> 71 lookup_by = resource.to_s
-</span><span class="marked1"><a name="line72"></a> 72 elsif resource.kind_of?(String)
-</span><span class="marked0"><a name="line73"></a> 73 lookup_by = resource
-</span><span class="inferred1"><a name="line74"></a> 74 else
-</span><span class="marked0"><a name="line75"></a> 75 raise ArgumentError, &quot;Must pass a Chef::Resource or String to lookup&quot;
-</span><span class="inferred1"><a name="line76"></a> 76 end
-</span><span class="marked0"><a name="line77"></a> 77 res = @resources_by_name[lookup_by]
-</span><span class="marked1"><a name="line78"></a> 78 unless res
-</span><span class="marked0"><a name="line79"></a> 79 raise ArgumentError, &quot;Cannot find a resource matching #{lookup_by} (did you define it first?)&quot;
-</span><span class="inferred1"><a name="line80"></a> 80 end
-</span><span class="marked0"><a name="line81"></a> 81 @resources[res]
-</span><span class="inferred1"><a name="line82"></a> 82 end
-</span><span class="inferred0"><a name="line83"></a> 83
-</span><span class="inferred1"><a name="line84"></a> 84 # Find existing resources by searching the list of existing resources. Possible
-</span><span class="inferred0"><a name="line85"></a> 85 # forms are:
-</span><span class="inferred1"><a name="line86"></a> 86 #
-</span><span class="inferred0"><a name="line87"></a> 87 # resources(:file =&gt; &quot;foobar&quot;)
-</span><span class="inferred1"><a name="line88"></a> 88 # resources(:file =&gt; [ &quot;foobar&quot;, &quot;baz&quot; ])
-</span><span class="inferred0"><a name="line89"></a> 89 # resources(&quot;file[foobar]&quot;, &quot;file[baz]&quot;)
-</span><span class="inferred1"><a name="line90"></a> 90 # resources(&quot;file[foobar,baz]&quot;)
-</span><span class="inferred0"><a name="line91"></a> 91 #
-</span><span class="inferred1"><a name="line92"></a> 92 # Returns the matching resource, or an Array of matching resources.
-</span><span class="inferred0"><a name="line93"></a> 93 #
-</span><span class="inferred1"><a name="line94"></a> 94 # Raises an ArgumentError if you feed it bad lookup information
-</span><span class="inferred0"><a name="line95"></a> 95 # Raises a Runtime Error if it can't find the resources you are looking for.
-</span><span class="marked1"><a name="line96"></a> 96 def resources(*args)
-</span><span class="marked0"><a name="line97"></a> 97 results = Array.new
-</span><span class="marked1"><a name="line98"></a> 98 args.each do |arg|
-</span><span class="marked0"><a name="line99"></a> 99 case arg
-</span><span class="marked1"><a name="line100"></a>100 when Hash
-</span><span class="marked0"><a name="line101"></a>101 results &lt;&lt; find_resource_by_hash(arg)
-</span><span class="marked1"><a name="line102"></a>102 when String
-</span><span class="marked0"><a name="line103"></a>103 results &lt;&lt; find_resource_by_string(arg)
-</span><span class="inferred1"><a name="line104"></a>104 else
-</span><span class="marked0"><a name="line105"></a>105 raise ArgumentError, &quot;resources takes arguments as a hash or strings!&quot;
-</span><span class="inferred1"><a name="line106"></a>106 end
-</span><span class="inferred0"><a name="line107"></a>107 end
-</span><span class="marked1"><a name="line108"></a>108 flat_results = results.flatten
-</span><span class="marked0"><a name="line109"></a>109 flat_results.length == 1 ? flat_results[0] : flat_results
-</span><span class="inferred1"><a name="line110"></a>110 end
-</span><span class="inferred0"><a name="line111"></a>111
-</span><span class="marked1"><a name="line112"></a>112 private
-</span><span class="inferred0"><a name="line113"></a>113
-</span><span class="marked1"><a name="line114"></a>114 def find_resource_by_hash(arg)
-</span><span class="marked0"><a name="line115"></a>115 results = Array.new
-</span><span class="marked1"><a name="line116"></a>116 arg.each do |resource_name, name_list|
-</span><span class="marked0"><a name="line117"></a>117 names = name_list.kind_of?(Array) ? name_list : [ name_list ]
-</span><span class="marked1"><a name="line118"></a>118 names.each do |name|
-</span><span class="marked0"><a name="line119"></a>119 res_name = &quot;#{resource_name.to_s}[#{name}]&quot;
-</span><span class="marked1"><a name="line120"></a>120 results &lt;&lt; lookup(res_name)
-</span><span class="inferred0"><a name="line121"></a>121 end
-</span><span class="inferred1"><a name="line122"></a>122 end
-</span><span class="marked0"><a name="line123"></a>123 return results
-</span><span class="inferred1"><a name="line124"></a>124 end
-</span><span class="inferred0"><a name="line125"></a>125
-</span><span class="marked1"><a name="line126"></a>126 def find_resource_by_string(arg)
-</span><span class="marked0"><a name="line127"></a>127 results = Array.new
-</span><span class="marked1"><a name="line128"></a>128 case arg
-</span><span class="marked0"><a name="line129"></a>129 when /^(.+)\[(.+?),(.+)\]$/
-</span><span class="marked1"><a name="line130"></a>130 resource_type = $1
-</span><span class="marked0"><a name="line131"></a>131 arg =~ /^.+\[(.+)\]$/
-</span><span class="marked1"><a name="line132"></a>132 resource_list = $1
-</span><span class="marked0"><a name="line133"></a>133 resource_list.split(&quot;,&quot;).each do |name|
-</span><span class="marked1"><a name="line134"></a>134 resource_name = &quot;#{resource_type}[#{name}]&quot;
-</span><span class="marked0"><a name="line135"></a>135 results &lt;&lt; lookup(resource_name)
-</span><span class="inferred1"><a name="line136"></a>136 end
-</span><span class="marked0"><a name="line137"></a>137 when /^(.+)\[(.+)\]$/
-</span><span class="marked1"><a name="line138"></a>138 resource_type = $1
-</span><span class="marked0"><a name="line139"></a>139 name = $2
-</span><span class="marked1"><a name="line140"></a>140 resource_name = &quot;#{resource_type}[#{name}]&quot;
-</span><span class="marked0"><a name="line141"></a>141 results &lt;&lt; lookup(resource_name)
-</span><span class="inferred1"><a name="line142"></a>142 else
-</span><span class="marked0"><a name="line143"></a>143 raise ArgumentError, &quot;You must have a string like resource_type[name]!&quot;
-</span><span class="inferred1"><a name="line144"></a>144 end
-</span><span class="marked0"><a name="line145"></a>145 return results
-</span><span class="inferred1"><a name="line146"></a>146 end
-</span><span class="inferred0"><a name="line147"></a>147
-</span><span class="marked1"><a name="line148"></a>148 def is_chef_resource(arg)
-</span><span class="marked0"><a name="line149"></a>149 unless arg.kind_of?(Chef::Resource)
-</span><span class="marked1"><a name="line150"></a>150 raise ArgumentError, &quot;Members must be Chef::Resource's&quot;
-</span><span class="inferred0"><a name="line151"></a>151 end
-</span><span class="marked1"><a name="line152"></a>152 true
-</span><span class="inferred0"><a name="line153"></a>153 end
-</span><span class="inferred1"><a name="line154"></a>154 end
-</span><span class="inferred0"><a name="line155"></a>155 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-resource_definition_rb.html b/coverage/lib-chef-resource_definition_rb.html
deleted file mode 100644
index a502ffb3cd..0000000000
--- a/coverage/lib-chef-resource_definition_rb.html
+++ /dev/null
@@ -1,673 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/resource_definition.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-resource_definition_rb.html'>lib/chef/resource_definition.rb</a>
- </td>
- <td class='lines_total'><tt>63</tt>
- </td>
- <td class='lines_code'><tt>33</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred1"><a name="line1"></a> 1 #
-</span><span class="inferred0"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred1"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred0"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred1"><a name="line5"></a> 5 #
-</span><span class="inferred0"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred1"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred0"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred1"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred0"><a name="line10"></a>10 #
-</span><span class="inferred1"><a name="line11"></a>11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred0"><a name="line12"></a>12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred1"><a name="line13"></a>13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred0"><a name="line14"></a>14 # GNU General Public License for more details.
-</span><span class="inferred1"><a name="line15"></a>15 #
-</span><span class="inferred0"><a name="line16"></a>16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred1"><a name="line17"></a>17 # along with this program; if not, write to the Free Software
-</span><span class="inferred0"><a name="line18"></a>18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred1"><a name="line19"></a>19 #
-</span><span class="inferred0"><a name="line20"></a>20
-</span><span class="marked1"><a name="line21"></a>21 require File.join(File.dirname(__FILE__), &quot;mixin&quot;, &quot;from_file&quot;)
-</span><span class="inferred0"><a name="line22"></a>22
-</span><span class="marked1"><a name="line23"></a>23 class Chef
-</span><span class="marked0"><a name="line24"></a>24 class ResourceDefinition
-</span><span class="inferred1"><a name="line25"></a>25
-</span><span class="marked0"><a name="line26"></a>26 include Chef::Mixin::FromFile
-</span><span class="inferred1"><a name="line27"></a>27
-</span><span class="marked0"><a name="line28"></a>28 attr_accessor :name, :params, :recipe
-</span><span class="inferred1"><a name="line29"></a>29
-</span><span class="marked0"><a name="line30"></a>30 def initialize
-</span><span class="marked1"><a name="line31"></a>31 @name = nil
-</span><span class="marked0"><a name="line32"></a>32 @params = Hash.new
-</span><span class="marked1"><a name="line33"></a>33 @recipe = nil
-</span><span class="inferred0"><a name="line34"></a>34 end
-</span><span class="inferred1"><a name="line35"></a>35
-</span><span class="marked0"><a name="line36"></a>36 def define(resource_name, prototype_params=nil, &amp;block)
-</span><span class="marked1"><a name="line37"></a>37 unless resource_name.kind_of?(Symbol)
-</span><span class="marked0"><a name="line38"></a>38 raise ArgumentError, &quot;You must use a symbol when defining a new resource!&quot;
-</span><span class="inferred1"><a name="line39"></a>39 end
-</span><span class="marked0"><a name="line40"></a>40 @name = resource_name
-</span><span class="marked1"><a name="line41"></a>41 if prototype_params
-</span><span class="marked0"><a name="line42"></a>42 unless prototype_params.kind_of?(Hash)
-</span><span class="marked1"><a name="line43"></a>43 raise ArgumentError, &quot;You must pass a hash as the prototype parameters for a definition.&quot;
-</span><span class="inferred0"><a name="line44"></a>44 end
-</span><span class="marked1"><a name="line45"></a>45 @params = prototype_params
-</span><span class="inferred0"><a name="line46"></a>46 end
-</span><span class="marked1"><a name="line47"></a>47 if Kernel.block_given?
-</span><span class="marked0"><a name="line48"></a>48 @recipe = block
-</span><span class="inferred1"><a name="line49"></a>49 else
-</span><span class="marked0"><a name="line50"></a>50 raise ArgumentError, &quot;You must pass a block to a definition.&quot;
-</span><span class="inferred1"><a name="line51"></a>51 end
-</span><span class="marked0"><a name="line52"></a>52 true
-</span><span class="inferred1"><a name="line53"></a>53 end
-</span><span class="inferred0"><a name="line54"></a>54
-</span><span class="inferred1"><a name="line55"></a>55 # When we do the resource definition, we're really just setting new values for
-</span><span class="inferred0"><a name="line56"></a>56 # the paramaters we prototyped at the top. This method missing is as simple as
-</span><span class="inferred1"><a name="line57"></a>57 # it gets.
-</span><span class="marked0"><a name="line58"></a>58 def method_missing(symbol, *args)
-</span><span class="marked1"><a name="line59"></a>59 @params[symbol] = args.length == 1 ? args[0] : args
-</span><span class="marked0"><a name="line60"></a>60 end
-</span><span class="inferred1"><a name="line61"></a>61
-</span><span class="inferred0"><a name="line62"></a>62 end
-</span><span class="inferred1"><a name="line63"></a>63 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef-resource_rb.html b/coverage/lib-chef-resource_rb.html
deleted file mode 100644
index 1657a2743c..0000000000
--- a/coverage/lib-chef-resource_rb.html
+++ /dev/null
@@ -1,733 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef/resource.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef-resource_rb.html'>lib/chef/resource.rb</a>
- </td>
- <td class='lines_total'><tt>123</tt>
- </td>
- <td class='lines_code'><tt>90</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred0"><a name="line1"></a> 1 #
-</span><span class="inferred1"><a name="line2"></a> 2 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred0"><a name="line3"></a> 3 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred1"><a name="line4"></a> 4 # License:: GNU General Public License version 2 or later
-</span><span class="inferred0"><a name="line5"></a> 5 #
-</span><span class="inferred1"><a name="line6"></a> 6 # This program and entire repository is free software; you can
-</span><span class="inferred0"><a name="line7"></a> 7 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred1"><a name="line8"></a> 8 # General Public License as published by the Free Software
-</span><span class="inferred0"><a name="line9"></a> 9 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred1"><a name="line10"></a> 10 #
-</span><span class="inferred0"><a name="line11"></a> 11 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred1"><a name="line12"></a> 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred0"><a name="line13"></a> 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred1"><a name="line14"></a> 14 # GNU General Public License for more details.
-</span><span class="inferred0"><a name="line15"></a> 15 #
-</span><span class="inferred1"><a name="line16"></a> 16 # You should have received a copy of the GNU General Public License
-</span><span class="inferred0"><a name="line17"></a> 17 # along with this program; if not, write to the Free Software
-</span><span class="inferred1"><a name="line18"></a> 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred0"><a name="line19"></a> 19 #
-</span><span class="inferred1"><a name="line20"></a> 20
-</span><span class="marked0"><a name="line21"></a> 21 require File.join(File.dirname(__FILE__), &quot;mixin&quot;, &quot;check_helper&quot;)
-</span><span class="marked1"><a name="line22"></a> 22 require 'yaml'
-</span><span class="inferred0"><a name="line23"></a> 23
-</span><span class="marked1"><a name="line24"></a> 24 class Chef
-</span><span class="marked0"><a name="line25"></a> 25 class Resource
-</span><span class="inferred1"><a name="line26"></a> 26
-</span><span class="marked0"><a name="line27"></a> 27 include Chef::Mixin::CheckHelper
-</span><span class="inferred1"><a name="line28"></a> 28
-</span><span class="marked0"><a name="line29"></a> 29 attr_accessor :tag, :actions, :config, :params
-</span><span class="marked1"><a name="line30"></a> 30 attr_reader :name, :noop, :resource_name, :collection, :notifies, :subscribes
-</span><span class="inferred0"><a name="line31"></a> 31
-</span><span class="marked1"><a name="line32"></a> 32 def initialize(name, collection=nil, config=nil)
-</span><span class="marked0"><a name="line33"></a> 33 @name = name
-</span><span class="marked1"><a name="line34"></a> 34 if collection
-</span><span class="marked0"><a name="line35"></a> 35 @collection = collection
-</span><span class="inferred1"><a name="line36"></a> 36 else
-</span><span class="marked0"><a name="line37"></a> 37 @collection = Chef::ResourceCollection.new()
-</span><span class="inferred1"><a name="line38"></a> 38 end
-</span><span class="marked0"><a name="line39"></a> 39 if config
-</span><span class="marked1"><a name="line40"></a> 40 @config = config
-</span><span class="inferred0"><a name="line41"></a> 41 else
-</span><span class="marked1"><a name="line42"></a> 42 @config = Chef::Config.new()
-</span><span class="inferred0"><a name="line43"></a> 43 end
-</span><span class="marked1"><a name="line44"></a> 44 @tag = [ name.to_s ]
-</span><span class="marked0"><a name="line45"></a> 45 @noop = nil
-</span><span class="marked1"><a name="line46"></a> 46 @before = nil
-</span><span class="marked0"><a name="line47"></a> 47 @actions = Hash.new
-</span><span class="marked1"><a name="line48"></a> 48 @params = Hash.new
-</span><span class="inferred0"><a name="line49"></a> 49 end
-</span><span class="inferred1"><a name="line50"></a> 50
-</span><span class="marked0"><a name="line51"></a> 51 def name(name=nil)
-</span><span class="marked1"><a name="line52"></a> 52 set_if_args(@name, name) do
-</span><span class="marked0"><a name="line53"></a> 53 raise ArgumentError, &quot;name must be a string!&quot; unless name.kind_of?(String)
-</span><span class="marked1"><a name="line54"></a> 54 @name = name
-</span><span class="inferred0"><a name="line55"></a> 55 end
-</span><span class="marked1"><a name="line56"></a> 56 end
-</span><span class="inferred0"><a name="line57"></a> 57
-</span><span class="marked1"><a name="line58"></a> 58 def noop(tf=nil)
-</span><span class="marked0"><a name="line59"></a> 59 set_if_args(@noop, tf) do
-</span><span class="marked1"><a name="line60"></a> 60 raise ArgumentError, &quot;noop must be true or false!&quot; unless tf == true || tf == false
-</span><span class="marked0"><a name="line61"></a> 61 @noop = tf
-</span><span class="inferred1"><a name="line62"></a> 62 end
-</span><span class="marked0"><a name="line63"></a> 63 end
-</span><span class="inferred1"><a name="line64"></a> 64
-</span><span class="marked0"><a name="line65"></a> 65 def notifies(action, resources, timing=:delayed)
-</span><span class="marked1"><a name="line66"></a> 66 timing = check_timing(timing)
-</span><span class="marked0"><a name="line67"></a> 67 rarray = resources.kind_of?(Array) ? resources : [ resources ]
-</span><span class="marked1"><a name="line68"></a> 68 rarray.each do |resource|
-</span><span class="marked0"><a name="line69"></a> 69 action_sym = action.to_sym
-</span><span class="marked1"><a name="line70"></a> 70 if @actions.has_key?(action_sym)
-</span><span class="marked0"><a name="line71"></a> 71 @actions[action_sym][timing] &lt;&lt; resource
-</span><span class="inferred1"><a name="line72"></a> 72 else
-</span><span class="marked0"><a name="line73"></a> 73 @actions[action_sym] = Hash.new
-</span><span class="marked1"><a name="line74"></a> 74 @actions[action_sym][:delayed] = Array.new
-</span><span class="marked0"><a name="line75"></a> 75 @actions[action_sym][:immediate] = Array.new
-</span><span class="marked1"><a name="line76"></a> 76 @actions[action_sym][timing] &lt;&lt; resource
-</span><span class="inferred0"><a name="line77"></a> 77 end
-</span><span class="inferred1"><a name="line78"></a> 78 end
-</span><span class="marked0"><a name="line79"></a> 79 true
-</span><span class="inferred1"><a name="line80"></a> 80 end
-</span><span class="inferred0"><a name="line81"></a> 81
-</span><span class="marked1"><a name="line82"></a> 82 def resources(*args)
-</span><span class="marked0"><a name="line83"></a> 83 @collection.resources(*args)
-</span><span class="marked1"><a name="line84"></a> 84 end
-</span><span class="inferred0"><a name="line85"></a> 85
-</span><span class="marked1"><a name="line86"></a> 86 def subscribes(action, resources, timing=:delayed)
-</span><span class="marked0"><a name="line87"></a> 87 timing = check_timing(timing)
-</span><span class="marked1"><a name="line88"></a> 88 rarray = resources.kind_of?(Array) ? resources : [ resources ]
-</span><span class="marked0"><a name="line89"></a> 89 rarray.each do |resource|
-</span><span class="marked1"><a name="line90"></a> 90 action_sym = action.to_sym
-</span><span class="marked0"><a name="line91"></a> 91 if resource.actions.has_key?(action_sym)
-</span><span class="marked1"><a name="line92"></a> 92 resource.actions[action_sym][timing] &lt;&lt; self
-</span><span class="inferred0"><a name="line93"></a> 93 else
-</span><span class="marked1"><a name="line94"></a> 94 resource.actions[action_sym] = Hash.new
-</span><span class="marked0"><a name="line95"></a> 95 resource.actions[action_sym][:delayed] = Array.new
-</span><span class="marked1"><a name="line96"></a> 96 resource.actions[action_sym][:immediate] = Array.new
-</span><span class="marked0"><a name="line97"></a> 97 resource.actions[action_sym][timing] &lt;&lt; self
-</span><span class="inferred1"><a name="line98"></a> 98 end
-</span><span class="inferred0"><a name="line99"></a> 99 end
-</span><span class="marked1"><a name="line100"></a>100 true
-</span><span class="inferred0"><a name="line101"></a>101 end
-</span><span class="inferred1"><a name="line102"></a>102
-</span><span class="marked0"><a name="line103"></a>103 def is(*args)
-</span><span class="marked1"><a name="line104"></a>104 return *args
-</span><span class="marked0"><a name="line105"></a>105 end
-</span><span class="inferred1"><a name="line106"></a>106
-</span><span class="marked0"><a name="line107"></a>107 def to_s
-</span><span class="marked1"><a name="line108"></a>108 &quot;#{@resource_name}[#{@name}]&quot;
-</span><span class="marked0"><a name="line109"></a>109 end
-</span><span class="inferred1"><a name="line110"></a>110
-</span><span class="marked0"><a name="line111"></a>111 private
-</span><span class="inferred1"><a name="line112"></a>112
-</span><span class="marked0"><a name="line113"></a>113 def check_timing(timing)
-</span><span class="marked1"><a name="line114"></a>114 unless timing == :delayed || timing == :immediate || timing == :immediately
-</span><span class="marked0"><a name="line115"></a>115 raise ArgumentError, &quot;Timing must be :delayed or :immediate(ly), you said #{timing}&quot;
-</span><span class="inferred1"><a name="line116"></a>116 end
-</span><span class="marked0"><a name="line117"></a>117 if timing == :immediately
-</span><span class="marked1"><a name="line118"></a>118 timing = :immediate
-</span><span class="inferred0"><a name="line119"></a>119 end
-</span><span class="marked1"><a name="line120"></a>120 timing
-</span><span class="inferred0"><a name="line121"></a>121 end
-</span><span class="inferred1"><a name="line122"></a>122 end
-</span><span class="inferred0"><a name="line123"></a>123 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/coverage/lib-chef_rb.html b/coverage/lib-chef_rb.html
deleted file mode 100644
index 698627fa66..0000000000
--- a/coverage/lib-chef_rb.html
+++ /dev/null
@@ -1,636 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>lib/chef.rb - C0 code coverage information</title>
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
- <style type='text/css'>span.cross-ref-title {
- font-size: 140%;
-}
-span.cross-ref a {
- text-decoration: none;
-}
-span.cross-ref {
- background-color:#f3f7fa;
- border: 1px dashed #333;
- margin: 1em;
- padding: 0.5em;
- overflow: hidden;
-}
-a.crossref-toggle {
- text-decoration: none;
-}
-span.marked0 {
- background-color: rgb(185, 210, 200);
- display: block;
-}
-span.marked1 {
- background-color: rgb(190, 215, 205);
- display: block;
-}
-span.inferred0 {
- background-color: rgb(175, 200, 200);
- display: block;
-}
-span.inferred1 {
- background-color: rgb(180, 205, 205);
- display: block;
-}
-span.uncovered0 {
- background-color: rgb(225, 110, 110);
- display: block;
-}
-span.uncovered1 {
- background-color: rgb(235, 120, 120);
- display: block;
-}
-span.overview {
- border-bottom: 8px solid black;
-}
-div.overview {
- border-bottom: 8px solid black;
-}
-body {
- font-family: verdana, arial, helvetica;
-}
-div.footer {
- font-size: 68%;
- margin-top: 1.5em;
-}
-h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5em;
-}
-h5 {
- margin-top: 0.5em;
-}
-.hidden {
- display: none;
-}
-div.separator {
- height: 10px;
-}
-/* Commented out for better readability, esp. on IE */
-/*
-table tr td, table tr th {
- font-size: 68%;
-}
-td.value table tr td {
- font-size: 11px;
-}
-*/
-table.percent_graph {
- height: 12px;
- border: #808080 1px solid;
- empty-cells: show;
-}
-table.percent_graph td.covered {
- height: 10px;
- background: #00f000;
-}
-table.percent_graph td.uncovered {
- height: 10px;
- background: #e00000;
-}
-table.percent_graph td.NA {
- height: 10px;
- background: #eaeaea;
-}
-table.report {
- border-collapse: collapse;
- width: 100%;
-}
-table.report td.heading {
- background: #dcecff;
- border: #d0d0d0 1px solid;
- font-weight: bold;
- text-align: center;
-}
-table.report td.heading:hover {
- background: #c0ffc0;
-}
-table.report td.text {
- border: #d0d0d0 1px solid;
-}
-table.report td.value,
-table.report td.lines_total,
-table.report td.lines_code {
- text-align: right;
- border: #d0d0d0 1px solid;
-}
-table.report tr.light {
- background-color: rgb(240, 240, 245);
-}
-table.report tr.dark {
- background-color: rgb(230, 230, 235);
-}
-</style>
- <script type='text/javascript'>
-// <![CDATA[
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make cross-references hidden by default
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
- // ]]>
-</script>
- <style type='text/css'>span.run0 {
- background-color: rgb(178, 204, 255);
- display: block;
-}
-span.run1 {
- background-color: rgb(178, 206, 255);
- display: block;
-}
-span.run2 {
- background-color: rgb(178, 209, 255);
- display: block;
-}
-span.run3 {
- background-color: rgb(178, 211, 255);
- display: block;
-}
-span.run4 {
- background-color: rgb(178, 214, 255);
- display: block;
-}
-span.run5 {
- background-color: rgb(178, 218, 255);
- display: block;
-}
-span.run6 {
- background-color: rgb(178, 220, 255);
- display: block;
-}
-span.run7 {
- background-color: rgb(178, 223, 255);
- display: block;
-}
-span.run8 {
- background-color: rgb(178, 225, 255);
- display: block;
-}
-span.run9 {
- background-color: rgb(178, 228, 255);
- display: block;
-}
-span.run10 {
- background-color: rgb(178, 232, 255);
- display: block;
-}
-span.run11 {
- background-color: rgb(178, 234, 255);
- display: block;
-}
-span.run12 {
- background-color: rgb(178, 237, 255);
- display: block;
-}
-span.run13 {
- background-color: rgb(178, 239, 255);
- display: block;
-}
-span.run14 {
- background-color: rgb(178, 242, 255);
- display: block;
-}
-span.run15 {
- background-color: rgb(178, 246, 255);
- display: block;
-}
-span.run16 {
- background-color: rgb(178, 248, 255);
- display: block;
-}
-span.run17 {
- background-color: rgb(178, 251, 255);
- display: block;
-}
-span.run18 {
- background-color: rgb(178, 253, 255);
- display: block;
-}
-span.run19 {
- background-color: rgb(178, 255, 253);
- display: block;
-}
-span.run20 {
- background-color: rgb(178, 255, 249);
- display: block;
-}
-span.run21 {
- background-color: rgb(178, 255, 247);
- display: block;
-}
-span.run22 {
- background-color: rgb(178, 255, 244);
- display: block;
-}
-span.run23 {
- background-color: rgb(178, 255, 242);
- display: block;
-}
-span.run24 {
- background-color: rgb(178, 255, 239);
- display: block;
-}
-span.run25 {
- background-color: rgb(178, 255, 235);
- display: block;
-}
-span.run26 {
- background-color: rgb(178, 255, 233);
- display: block;
-}
-span.run27 {
- background-color: rgb(178, 255, 230);
- display: block;
-}
-span.run28 {
- background-color: rgb(178, 255, 228);
- display: block;
-}
-span.run29 {
- background-color: rgb(178, 255, 225);
- display: block;
-}
-span.run30 {
- background-color: rgb(178, 255, 221);
- display: block;
-}
-span.run31 {
- background-color: rgb(178, 255, 219);
- display: block;
-}
-span.run32 {
- background-color: rgb(178, 255, 216);
- display: block;
-}
-span.run33 {
- background-color: rgb(178, 255, 214);
- display: block;
-}
-span.run34 {
- background-color: rgb(178, 255, 211);
- display: block;
-}
-span.run35 {
- background-color: rgb(178, 255, 207);
- display: block;
-}
-span.run36 {
- background-color: rgb(178, 255, 205);
- display: block;
-}
-span.run37 {
- background-color: rgb(178, 255, 202);
- display: block;
-}
-span.run38 {
- background-color: rgb(178, 255, 200);
- display: block;
-}
-span.run39 {
- background-color: rgb(178, 255, 197);
- display: block;
-}
-span.run40 {
- background-color: rgb(178, 255, 193);
- display: block;
-}
-span.run41 {
- background-color: rgb(178, 255, 191);
- display: block;
-}
-span.run42 {
- background-color: rgb(178, 255, 188);
- display: block;
-}
-span.run43 {
- background-color: rgb(178, 255, 186);
- display: block;
-}
-span.run44 {
- background-color: rgb(178, 255, 183);
- display: block;
-}
-span.run45 {
- background-color: rgb(178, 255, 179);
- display: block;
-}
-span.run46 {
- background-color: rgb(179, 255, 178);
- display: block;
-}
-span.run47 {
- background-color: rgb(182, 255, 178);
- display: block;
-}
-span.run48 {
- background-color: rgb(184, 255, 178);
- display: block;
-}
-span.run49 {
- background-color: rgb(187, 255, 178);
- display: block;
-}
-span.run50 {
- background-color: rgb(191, 255, 178);
- display: block;
-}
-span.run51 {
- background-color: rgb(193, 255, 178);
- display: block;
-}
-span.run52 {
- background-color: rgb(196, 255, 178);
- display: block;
-}
-span.run53 {
- background-color: rgb(198, 255, 178);
- display: block;
-}
-span.run54 {
- background-color: rgb(201, 255, 178);
- display: block;
-}
-span.run55 {
- background-color: rgb(205, 255, 178);
- display: block;
-}
-span.run56 {
- background-color: rgb(207, 255, 178);
- display: block;
-}
-span.run57 {
- background-color: rgb(210, 255, 178);
- display: block;
-}
-span.run58 {
- background-color: rgb(212, 255, 178);
- display: block;
-}
-span.run59 {
- background-color: rgb(215, 255, 178);
- display: block;
-}
-span.run60 {
- background-color: rgb(219, 255, 178);
- display: block;
-}
-span.run61 {
- background-color: rgb(221, 255, 178);
- display: block;
-}
-span.run62 {
- background-color: rgb(224, 255, 178);
- display: block;
-}
-span.run63 {
- background-color: rgb(226, 255, 178);
- display: block;
-}
-span.run64 {
- background-color: rgb(229, 255, 178);
- display: block;
-}
-span.run65 {
- background-color: rgb(233, 255, 178);
- display: block;
-}
-span.run66 {
- background-color: rgb(235, 255, 178);
- display: block;
-}
-span.run67 {
- background-color: rgb(238, 255, 178);
- display: block;
-}
-span.run68 {
- background-color: rgb(240, 255, 178);
- display: block;
-}
-span.run69 {
- background-color: rgb(243, 255, 178);
- display: block;
-}
-span.run70 {
- background-color: rgb(247, 255, 178);
- display: block;
-}
-span.run71 {
- background-color: rgb(249, 255, 178);
- display: block;
-}
-span.run72 {
- background-color: rgb(252, 255, 178);
- display: block;
-}
-span.run73 {
- background-color: rgb(255, 255, 178);
- display: block;
-}
-span.run74 {
- background-color: rgb(255, 252, 178);
- display: block;
-}
-span.run75 {
- background-color: rgb(255, 248, 178);
- display: block;
-}
-span.run76 {
- background-color: rgb(255, 246, 178);
- display: block;
-}
-span.run77 {
- background-color: rgb(255, 243, 178);
- display: block;
-}
-span.run78 {
- background-color: rgb(255, 240, 178);
- display: block;
-}
-span.run79 {
- background-color: rgb(255, 238, 178);
- display: block;
-}
-span.run80 {
- background-color: rgb(255, 234, 178);
- display: block;
-}
-span.run81 {
- background-color: rgb(255, 232, 178);
- display: block;
-}
-span.run82 {
- background-color: rgb(255, 229, 178);
- display: block;
-}
-span.run83 {
- background-color: rgb(255, 226, 178);
- display: block;
-}
-span.run84 {
- background-color: rgb(255, 224, 178);
- display: block;
-}
-span.run85 {
- background-color: rgb(255, 220, 178);
- display: block;
-}
-span.run86 {
- background-color: rgb(255, 218, 178);
- display: block;
-}
-span.run87 {
- background-color: rgb(255, 215, 178);
- display: block;
-}
-span.run88 {
- background-color: rgb(255, 212, 178);
- display: block;
-}
-span.run89 {
- background-color: rgb(255, 210, 178);
- display: block;
-}
-span.run90 {
- background-color: rgb(255, 206, 178);
- display: block;
-}
-span.run91 {
- background-color: rgb(255, 204, 178);
- display: block;
-}
-span.run92 {
- background-color: rgb(255, 201, 178);
- display: block;
-}
-span.run93 {
- background-color: rgb(255, 198, 178);
- display: block;
-}
-span.run94 {
- background-color: rgb(255, 196, 178);
- display: block;
-}
-span.run95 {
- background-color: rgb(255, 192, 178);
- display: block;
-}
-span.run96 {
- background-color: rgb(255, 189, 178);
- display: block;
-}
-span.run97 {
- background-color: rgb(255, 187, 178);
- display: block;
-}
-span.run98 {
- background-color: rgb(255, 184, 178);
- display: block;
-}
-span.run99 {
- background-color: rgb(255, 182, 178);
- display: block;
-}
-span.run100 {
- background-color: rgb(255, 178, 178);
- display: block;
-}
-</style>
- </head>
- <body><h3>C0 code coverage information</h3>
- <p>Generated on Wed Mar 12 09:52:36 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
- </p>
- <hr/>
- <pre><span class='marked0'>Code reported as executed by Ruby looks like this...
-</span><span class='marked1'>and this: this line is also marked as covered.
-</span><span class='inferred0'>Lines considered as run by rcov, but not reported by Ruby, look like this,
-</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).
-</span><span class='uncovered0'>Finally, here&apos;s a line marked as not executed.
-</span></pre>
-<table class='report'><thead><tr><td class='heading'>Name</td>
- <td class='heading'>Total lines</td>
- <td class='heading'>Lines of code</td>
- <td class='heading'>Total coverage</td>
- <td class='heading'>Code coverage</td>
- </tr>
- </thead>
- <tbody><tr class='light'><td><a href='lib-chef_rb.html'>lib/chef.rb</a>
- </td>
- <td class='lines_total'><tt>26</tt>
- </td>
- <td class='lines_code'><tt>5</tt>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_total'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- <td><table cellspacing='0' cellpadding='0' align='right'><tr><td><tt class='coverage_code'>100.0%</tt>
- &nbsp;</td>
- <td><table cellspacing='0' class='percent_graph' cellpadding='0' width='100'><tr><td class='covered' width='100'/>
- <td class='uncovered' width='0'/>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
-<pre><span class="inferred1"><a name="line1"></a> 1 # Author:: Adam Jacob (&lt;adam@hjksolutions.com&gt;)
-</span><span class="inferred0"><a name="line2"></a> 2 # Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-</span><span class="inferred1"><a name="line3"></a> 3 # License:: GNU General Public License version 2 or later
-</span><span class="inferred0"><a name="line4"></a> 4 #
-</span><span class="inferred1"><a name="line5"></a> 5 # This program and entire repository is free software; you can
-</span><span class="inferred0"><a name="line6"></a> 6 # redistribute it and/or modify it under the terms of the GNU
-</span><span class="inferred1"><a name="line7"></a> 7 # General Public License as published by the Free Software
-</span><span class="inferred0"><a name="line8"></a> 8 # Foundation; either version 2 of the License, or any later version.
-</span><span class="inferred1"><a name="line9"></a> 9 #
-</span><span class="inferred0"><a name="line10"></a>10 # This program is distributed in the hope that it will be useful,
-</span><span class="inferred1"><a name="line11"></a>11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
-</span><span class="inferred0"><a name="line12"></a>12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-</span><span class="inferred1"><a name="line13"></a>13 # GNU General Public License for more details.
-</span><span class="inferred0"><a name="line14"></a>14 #
-</span><span class="inferred1"><a name="line15"></a>15 # You should have received a copy of the GNU General Public License
-</span><span class="inferred0"><a name="line16"></a>16 # along with this program; if not, write to the Free Software
-</span><span class="inferred1"><a name="line17"></a>17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-</span><span class="inferred0"><a name="line18"></a>18 #
-</span><span class="inferred1"><a name="line19"></a>19
-</span><span class="marked0"><a name="line20"></a>20 require 'rubygems'
-</span><span class="inferred1"><a name="line21"></a>21
-</span><span class="marked0"><a name="line22"></a>22 Dir[File.join(File.dirname(__FILE__), 'chef/**/*.rb')].sort.each { |lib| require lib }
-</span><span class="inferred1"><a name="line23"></a>23
-</span><span class="marked0"><a name="line24"></a>24 class Chef
-</span><span class="marked1"><a name="line25"></a>25 VERSION = '0.0.1'
-</span><span class="inferred0"><a name="line26"></a>26 end
-</span></pre><hr/>
- <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a>
- version 0.8.1.2.</p>
-<p><a href='http://validator.w3.org/check/referer'><img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88'/>
- </a>
- <a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px'/>
- </a>
- </p>
- </body>
- </html>
diff --git a/spec/data/cookbooks/openldap/attributes/default.rb b/spec/data/cookbooks/openldap/attributes/default.rb
index 652fc18a20..8c00028021 100644
--- a/spec/data/cookbooks/openldap/attributes/default.rb
+++ b/spec/data/cookbooks/openldap/attributes/default.rb
@@ -1,3 +1,4 @@
+
case chef_env
when "prod"
ldap_server "ops1prod"
diff --git a/spec/data/cookbooks/openldap/ignore b/spec/data/cookbooks/openldap/ignore
index e69de29bb2..e96f4e7df4 100644
--- a/spec/data/cookbooks/openldap/ignore
+++ b/spec/data/cookbooks/openldap/ignore
@@ -0,0 +1,6 @@
+#
+# The ignore file allows you to skip files in cookbooks with the same name that appear
+# later in the search path.
+#
+
+recipes/ignoreme.rb \ No newline at end of file
diff --git a/spec/unit/compile_spec.rb b/spec/unit/compile_spec.rb
deleted file mode 100644
index 1a986b8f44..0000000000
--- a/spec/unit/compile_spec.rb
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# Author:: Adam Jacob (<adam@hjksolutions.com>)
-# Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-# License:: GNU General Public License version 2 or later
-#
-# This program and entire repository is free software; you can
-# redistribute it and/or modify it under the terms of the GNU
-# General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-
-require File.join(File.dirname(__FILE__), "..", "spec_helper")
-
-# describe Chef::Compile do
-# before(:each) do
-# config = Chef::Config.new
-# config.cookbook_path = [ File.join(File.dirname(__FILE__), "..", "cookbooks") ]
-# @compile = Chef::Compile.new(config)
-# end
-#
-# it "should require a node object to compile" do
-#
-# end
-#
-# it "should load up all variables" do
-#
-# end
-#
-# it "should load up all definitions" do
-#
-# end
-#
-# it "should load up all recipes" do
-#
-# end
-# end \ No newline at end of file
diff --git a/spec/unit/cookbook_collection_spec.rb b/spec/unit/cookbook_collection_spec.rb
deleted file mode 100644
index c2b7b976f9..0000000000
--- a/spec/unit/cookbook_collection_spec.rb
+++ /dev/null
@@ -1,65 +0,0 @@
-#
-# Author:: Adam Jacob (<adam@hjksolutions.com>)
-# Copyright:: Copyright (c) 2008 HJK Solutions, LLC
-# License:: GNU General Public License version 2 or later
-#
-# This program and entire repository is free software; you can
-# redistribute it and/or modify it under the terms of the GNU
-# General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
-
-# require File.join(File.dirname(__FILE__), "..", "spec_helper")
-#
-# describe Chef::CookbookCollection do
-# before(:each) do
-# config = Chef::Config.new
-# config.cookbook_path = [
-# File.join(File.dirname(__FILE__), "..", "data", "cookbooks")
-# File.join(File.dirname(__FILE__), "..", "data", "kitchen-cookbooks")
-# ]
-# @cc = Chef::CookbookCollection.new(config)
-# end
-#
-# it "should be a Chef::CookbookCollection object" do
-# @cookbooks.should be_kind_of(Chef::CookbookCollection)
-# end
-#
-# it "should return a list of available cookbooks as []" do
-# @cookbooks[:openldap].should
-# end
-#
-# it "should allow you to iterate over cookbooks with each" do
-# end
-#
-# it "should auto-load a cookbook via [] if it isn't loaded already" do
-# end
-#
-# it "should find all the cookbooks in the cookbook path" do
-# end
-#
-# it "should allow you to override an attribute file via cookbook_path" do
-# end
-#
-# it "should allow you to override a definition file via cookbook_path" do
-# end
-#
-# it "should allow you to override a recipe file via cookbook_path" do
-# end
-#
-# it "should allow you to declare a cookbook as 'final', and not look for any other" do
-# end
-#
-# it "should allwo you to have an 'ignore' file, which skips loading files in later cookbooks" do
-# end
-#
-# end \ No newline at end of file