corundum 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/doc/Specifications CHANGED
@@ -2,5 +2,5 @@
2
2
  A fairly complete Rakefile
3
3
  should have some tasks
4
4
 
5
- Finished in 0.07732 seconds
5
+ Finished in 0.03113 seconds
6
6
  1 example, 0 failures
@@ -23,27 +23,27 @@
23
23
  <img src="./assets/0.5.3/loading.gif" alt="loading"/>
24
24
  </div>
25
25
  <div id="wrapper" style="display:none;">
26
- <div class="timestamp">Generated <abbr class="timeago" title="2012-02-01T11:55:56-08:00">2012-02-01T11:55:56-08:00</abbr></div>
26
+ <div class="timestamp">Generated <abbr class="timeago" title="2012-02-04T10:51:39-08:00">2012-02-04T10:51:39-08:00</abbr></div>
27
27
  <ul class="group_tabs"></ul>
28
28
 
29
29
  <div id="content">
30
30
  <div class="file_list_container" id="AllFiles">
31
31
  <h2>
32
32
  <span class="group_name">All Files</span>
33
- (<span class="covered_percent"><span class="red">59.59%</span></span>
33
+ (<span class="covered_percent"><span class="red">61.87%</span></span>
34
34
  covered at
35
35
  <span class="covered_strength">
36
36
  <span class="red">
37
- 0.89
37
+ 0.82
38
38
  </span>
39
39
  </span> hits/line)
40
40
  </h2>
41
41
  <a name="AllFiles"></a>
42
42
  <div>
43
43
  <b>17</b> files in total.
44
- <b>740</b> relevant lines.
45
- <span class="green"><b>441</b> lines covered</span> and
46
- <span class="red"><b>299</b> lines missed </span>
44
+ <b>758</b> relevant lines.
45
+ <span class="green"><b>469</b> lines covered</span> and
46
+ <span class="red"><b>289</b> lines missed </span>
47
47
  </div>
48
48
  <table class="file_list">
49
49
  <thead>
@@ -76,7 +76,7 @@
76
76
  <td>12</td>
77
77
  <td>12</td>
78
78
  <td>0</td>
79
- <td>1.3</td>
79
+ <td>1.6</td>
80
80
  </tr>
81
81
 
82
82
  <tr>
@@ -111,11 +111,11 @@
111
111
 
112
112
  <tr>
113
113
  <td class="strong"><a href="#2b0f7c1f3bb230f2722786ac45b2b281496b659f" class="src_link" title="lib/corundum/gemcutter.rb">lib/corundum/gemcutter.rb</a></td>
114
- <td class="red strong">49.32 %</td>
115
- <td>111</td>
116
- <td>73</td>
114
+ <td class="red strong">50.0 %</td>
115
+ <td>110</td>
116
+ <td>72</td>
117
+ <td>36</td>
117
118
  <td>36</td>
118
- <td>37</td>
119
119
  <td>0.5</td>
120
120
  </tr>
121
121
 
@@ -131,20 +131,20 @@
131
131
 
132
132
  <tr>
133
133
  <td class="strong"><a href="#03afdc7d66b940fec73313424683ed0101125f6d" class="src_link" title="lib/corundum/github-pages.rb">lib/corundum/github-pages.rb</a></td>
134
- <td class="red strong">27.38 %</td>
135
- <td>145</td>
136
- <td>84</td>
137
- <td>23</td>
138
- <td>61</td>
139
- <td>0.3</td>
134
+ <td class="red strong">70.0 %</td>
135
+ <td>157</td>
136
+ <td>90</td>
137
+ <td>63</td>
138
+ <td>27</td>
139
+ <td>1.2</td>
140
140
  </tr>
141
141
 
142
142
  <tr>
143
143
  <td class="strong"><a href="#ca59b10e8958422d12a5762675ec41984956669a" class="src_link" title="lib/corundum/rspec.rb">lib/corundum/rspec.rb</a></td>
144
- <td class="green strong">92.65 %</td>
145
- <td>121</td>
146
- <td>68</td>
147
- <td>63</td>
144
+ <td class="green strong">92.86 %</td>
145
+ <td>123</td>
146
+ <td>70</td>
147
+ <td>65</td>
148
148
  <td>5</td>
149
149
  <td>1.8</td>
150
150
  </tr>
@@ -201,31 +201,31 @@
201
201
 
202
202
  <tr>
203
203
  <td class="strong"><a href="#9d2f811d8f8df106d5632369df2fd635327854f1" class="src_link" title="lib/corundum/version_control/git.rb">lib/corundum/version_control/git.rb</a></td>
204
- <td class="red strong">15.79 %</td>
204
+ <td class="red strong">54.39 %</td>
205
205
  <td>99</td>
206
206
  <td>57</td>
207
- <td>9</td>
208
- <td>48</td>
209
- <td>0.2</td>
207
+ <td>31</td>
208
+ <td>26</td>
209
+ <td>0.5</td>
210
210
  </tr>
211
211
 
212
212
  <tr>
213
213
  <td class="strong"><a href="#58abe8fc8bf9e6883cd935a00513d6746935b12c" class="src_link" title="lib/corundum/version_control/monotone.rb">lib/corundum/version_control/monotone.rb</a></td>
214
- <td class="red strong">66.29 %</td>
214
+ <td class="red strong">14.61 %</td>
215
215
  <td>151</td>
216
216
  <td>89</td>
217
- <td>59</td>
218
- <td>30</td>
219
- <td>2.8</td>
217
+ <td>13</td>
218
+ <td>76</td>
219
+ <td>0.1</td>
220
220
  </tr>
221
221
 
222
222
  <tr>
223
223
  <td class="strong"><a href="#9d13ea03f71360ec15ccbdb366278310681347de" class="src_link" title="lib/corundum/yardoc.rb">lib/corundum/yardoc.rb</a></td>
224
- <td class="green strong">94.44 %</td>
225
- <td>55</td>
226
- <td>36</td>
227
- <td>34</td>
228
- <td>2</td>
224
+ <td class="green strong">93.62 %</td>
225
+ <td>76</td>
226
+ <td>47</td>
227
+ <td>44</td>
228
+ <td>3</td>
229
229
  <td>0.9</td>
230
230
  </tr>
231
231
 
@@ -1045,8 +1045,8 @@
1045
1045
  <code class="ruby"> def task_args</code>
1046
1046
  </li>
1047
1047
 
1048
- <li class="covered" data-hits="2" data-linenumber="14">
1049
- <span class="hits">2</span>
1048
+ <li class="covered" data-hits="6" data-linenumber="14">
1049
+ <span class="hits">6</span>
1050
1050
 
1051
1051
  <code class="ruby"> [{task_name =&gt; index_html}]</code>
1052
1052
  </li>
@@ -2060,11 +2060,11 @@
2060
2060
  <div class="source_table" id="2b0f7c1f3bb230f2722786ac45b2b281496b659f">
2061
2061
  <div class="header">
2062
2062
  <h3>lib/corundum/gemcutter.rb</h3>
2063
- <h4><span class="red">49.32 %</span> covered</h4>
2063
+ <h4><span class="red">50.0 %</span> covered</h4>
2064
2064
  <div>
2065
- <b>73</b> relevant lines.
2065
+ <b>72</b> relevant lines.
2066
2066
  <span class="green"><b>36</b> lines covered</span> and
2067
- <span class="red"><b>37</b> lines missed.</span>
2067
+ <span class="red"><b>36</b> lines missed.</span>
2068
2068
  </div>
2069
2069
  </div>
2070
2070
 
@@ -2626,112 +2626,106 @@
2626
2626
  <li class="missed" data-hits="0" data-linenumber="93">
2627
2627
 
2628
2628
 
2629
- <code class="ruby"> p fulfilling</code>
2630
- </li>
2631
-
2632
- <li class="missed" data-hits="0" data-linenumber="94">
2633
-
2634
-
2635
2629
  <code class="ruby"> fail &quot;Gem #{gemspec.full_name} is already pushed&quot;</code>
2636
2630
  </li>
2637
2631
 
2638
- <li class="never" data-hits="" data-linenumber="95">
2632
+ <li class="never" data-hits="" data-linenumber="94">
2639
2633
 
2640
2634
 
2641
2635
  <code class="ruby"> end</code>
2642
2636
  </li>
2643
2637
 
2644
- <li class="never" data-hits="" data-linenumber="96">
2638
+ <li class="never" data-hits="" data-linenumber="95">
2645
2639
 
2646
2640
 
2647
2641
  <code class="ruby"> end</code>
2648
2642
  </li>
2649
2643
 
2650
- <li class="never" data-hits="" data-linenumber="97">
2644
+ <li class="never" data-hits="" data-linenumber="96">
2651
2645
 
2652
2646
 
2653
2647
  <code class="ruby"></code>
2654
2648
  </li>
2655
2649
 
2656
- <li class="covered" data-hits="1" data-linenumber="98">
2650
+ <li class="covered" data-hits="1" data-linenumber="97">
2657
2651
  <span class="hits">1</span>
2658
2652
 
2659
2653
  <code class="ruby"> desc 'Push a gem up to Gemcutter'</code>
2660
2654
  </li>
2661
2655
 
2662
- <li class="covered" data-hits="1" data-linenumber="99">
2656
+ <li class="covered" data-hits="1" data-linenumber="98">
2663
2657
  <span class="hits">1</span>
2664
2658
 
2665
2659
  <code class="ruby"> task :push =&gt; [:dependencies_available, :is_unpushed] do</code>
2666
2660
  </li>
2667
2661
 
2668
- <li class="missed" data-hits="0" data-linenumber="100">
2662
+ <li class="missed" data-hits="0" data-linenumber="99">
2669
2663
 
2670
2664
 
2671
2665
  <code class="ruby"> require &quot;rubygems/commands/push_command&quot;</code>
2672
2666
  </li>
2673
2667
 
2674
- <li class="missed" data-hits="0" data-linenumber="101">
2668
+ <li class="missed" data-hits="0" data-linenumber="100">
2675
2669
 
2676
2670
 
2677
2671
  <code class="ruby"> push = get_command(Gem::Commands::PushCommand)</code>
2678
2672
  </li>
2679
2673
 
2680
- <li class="missed" data-hits="0" data-linenumber="102">
2674
+ <li class="missed" data-hits="0" data-linenumber="101">
2681
2675
 
2682
2676
 
2683
2677
  <code class="ruby"> push.options[:args] = [gem_path]</code>
2684
2678
  </li>
2685
2679
 
2686
- <li class="missed" data-hits="0" data-linenumber="103">
2680
+ <li class="missed" data-hits="0" data-linenumber="102">
2687
2681
 
2688
2682
 
2689
2683
  <code class="ruby"> push.execute</code>
2690
2684
  </li>
2691
2685
 
2692
- <li class="never" data-hits="" data-linenumber="104">
2686
+ <li class="never" data-hits="" data-linenumber="103">
2693
2687
 
2694
2688
 
2695
2689
  <code class="ruby"> end</code>
2696
2690
  </li>
2697
2691
 
2698
- <li class="covered" data-hits="1" data-linenumber="105">
2692
+ <li class="covered" data-hits="1" data-linenumber="104">
2699
2693
  <span class="hits">1</span>
2700
2694
 
2701
2695
  <code class="ruby"> task :push =&gt; build_finished_path</code>
2702
2696
  </li>
2703
2697
 
2704
- <li class="never" data-hits="" data-linenumber="106">
2698
+ <li class="never" data-hits="" data-linenumber="105">
2705
2699
 
2706
2700
 
2707
2701
  <code class="ruby"> end</code>
2708
2702
  </li>
2709
2703
 
2710
- <li class="covered" data-hits="1" data-linenumber="107">
2704
+ <li class="covered" data-hits="1" data-linenumber="106">
2711
2705
  <span class="hits">1</span>
2712
2706
 
2713
2707
  <code class="ruby"> task :release =&gt; in_namespace(:push)</code>
2714
2708
  </li>
2715
2709
 
2716
- <li class="covered" data-hits="1" data-linenumber="108">
2710
+ <li class="covered" data-hits="1" data-linenumber="107">
2717
2711
  <span class="hits">1</span>
2718
2712
 
2719
2713
  <code class="ruby"> task :preflight =&gt; in_namespace(:dependencies_available, :is_unpushed)</code>
2720
2714
  </li>
2721
2715
 
2722
- <li class="never" data-hits="" data-linenumber="109">
2716
+ <li class="never" data-hits="" data-linenumber="108">
2723
2717
 
2724
2718
 
2725
2719
  <code class="ruby"> end</code>
2726
2720
  </li>
2727
2721
 
2728
- <li class="never" data-hits="" data-linenumber="110">
2722
+ <li class="never" data-hits="" data-linenumber="109">
2729
2723
 
2730
2724
 
2731
2725
  <code class="ruby"> end</code>
2732
2726
  </li>
2733
2727
 
2734
- <li class="never" data-hits="" data-linenumber="111">
2728
+ <li class="never" data-hits="" data-linenumber="110">
2735
2729
 
2736
2730
 
2737
2731
  <code class="ruby">end</code>
@@ -2960,11 +2954,11 @@
2960
2954
  <div class="source_table" id="03afdc7d66b940fec73313424683ed0101125f6d">
2961
2955
  <div class="header">
2962
2956
  <h3>lib/corundum/github-pages.rb</h3>
2963
- <h4><span class="red">27.38 %</span> covered</h4>
2957
+ <h4><span class="red">70.0 %</span> covered</h4>
2964
2958
  <div>
2965
- <b>84</b> relevant lines.
2966
- <span class="green"><b>23</b> lines covered</span> and
2967
- <span class="red"><b>61</b> lines missed.</span>
2959
+ <b>90</b> relevant lines.
2960
+ <span class="green"><b>63</b> lines covered</span> and
2961
+ <span class="red"><b>27</b> lines missed.</span>
2968
2962
  </div>
2969
2963
  </div>
2970
2964
 
@@ -3103,8 +3097,8 @@
3103
3097
  <code class="ruby"> def default_configuration(parent)</code>
3104
3098
  </li>
3105
3099
 
3106
- <li class="missed" data-hits="0" data-linenumber="23">
3107
-
3100
+ <li class="covered" data-hits="3" data-linenumber="23">
3101
+ <span class="hits">3</span>
3108
3102
 
3109
3103
  <code class="ruby"> parent.copy_settings_to(self)</code>
3110
3104
  </li>
@@ -3130,712 +3124,784 @@
3130
3124
  <li class="missed" data-hits="0" data-linenumber="27">
3131
3125
 
3132
3126
 
3133
- <code class="ruby"> FileUtils.cd target_dir do</code>
3127
+ <code class="ruby"> return true unless File.directory? target_dir</code>
3134
3128
  </li>
3135
3129
 
3136
3130
  <li class="missed" data-hits="0" data-linenumber="28">
3137
3131
 
3138
3132
 
3133
+ <code class="ruby"> Dir.chdir target_dir do</code>
3134
+ </li>
3135
+
3136
+ <li class="missed" data-hits="0" data-linenumber="29">
3137
+
3138
+
3139
3139
  <code class="ruby"> super</code>
3140
3140
  </li>
3141
3141
 
3142
- <li class="never" data-hits="" data-linenumber="29">
3142
+ <li class="never" data-hits="" data-linenumber="30">
3143
3143
 
3144
3144
 
3145
3145
  <code class="ruby"> end</code>
3146
3146
  </li>
3147
3147
 
3148
- <li class="never" data-hits="" data-linenumber="30">
3148
+ <li class="never" data-hits="" data-linenumber="31">
3149
3149
 
3150
3150
 
3151
3151
  <code class="ruby"> end</code>
3152
3152
  </li>
3153
3153
 
3154
- <li class="never" data-hits="" data-linenumber="31">
3154
+ <li class="never" data-hits="" data-linenumber="32">
3155
3155
 
3156
3156
 
3157
3157
  <code class="ruby"></code>
3158
3158
  </li>
3159
3159
 
3160
- <li class="covered" data-hits="1" data-linenumber="32">
3160
+ <li class="covered" data-hits="1" data-linenumber="33">
3161
3161
  <span class="hits">1</span>
3162
3162
 
3163
3163
  <code class="ruby"> def action</code>
3164
3164
  </li>
3165
3165
 
3166
- <li class="missed" data-hits="0" data-linenumber="33">
3166
+ <li class="missed" data-hits="0" data-linenumber="34">
3167
3167
 
3168
3168
 
3169
- <code class="ruby"> FileUtils.cd target_dir do</code>
3169
+ <code class="ruby"> Dir.chdir target_dir do</code>
3170
3170
  </li>
3171
3171
 
3172
- <li class="missed" data-hits="0" data-linenumber="34">
3172
+ <li class="missed" data-hits="0" data-linenumber="35">
3173
3173
 
3174
3174
 
3175
3175
  <code class="ruby"> super</code>
3176
3176
  </li>
3177
3177
 
3178
- <li class="never" data-hits="" data-linenumber="35">
3178
+ <li class="never" data-hits="" data-linenumber="36">
3179
3179
 
3180
3180
 
3181
3181
  <code class="ruby"> end</code>
3182
3182
  </li>
3183
3183
 
3184
- <li class="never" data-hits="" data-linenumber="36">
3184
+ <li class="never" data-hits="" data-linenumber="37">
3185
3185
 
3186
3186
 
3187
3187
  <code class="ruby"> end</code>
3188
3188
  </li>
3189
3189
 
3190
- <li class="never" data-hits="" data-linenumber="37">
3190
+ <li class="never" data-hits="" data-linenumber="38">
3191
3191
 
3192
3192
 
3193
3193
  <code class="ruby"> end</code>
3194
3194
  </li>
3195
3195
 
3196
- <li class="never" data-hits="" data-linenumber="38">
3196
+ <li class="never" data-hits="" data-linenumber="39">
3197
3197
 
3198
3198
 
3199
3199
  <code class="ruby"></code>
3200
3200
  </li>
3201
3201
 
3202
- <li class="covered" data-hits="1" data-linenumber="39">
3202
+ <li class="covered" data-hits="1" data-linenumber="40">
3203
3203
  <span class="hits">1</span>
3204
3204
 
3205
3205
  <code class="ruby"> class GithubPages &lt; TaskLib</code>
3206
3206
  </li>
3207
3207
 
3208
- <li class="covered" data-hits="1" data-linenumber="40">
3208
+ <li class="covered" data-hits="1" data-linenumber="41">
3209
3209
  <span class="hits">1</span>
3210
3210
 
3211
3211
  <code class="ruby"> default_namespace :publish_docs</code>
3212
3212
  </li>
3213
3213
 
3214
- <li class="never" data-hits="" data-linenumber="41">
3214
+ <li class="never" data-hits="" data-linenumber="42">
3215
3215
 
3216
3216
 
3217
3217
  <code class="ruby"></code>
3218
3218
  </li>
3219
3219
 
3220
- <li class="covered" data-hits="1" data-linenumber="42">
3220
+ <li class="covered" data-hits="1" data-linenumber="43">
3221
3221
  <span class="hits">1</span>
3222
3222
 
3223
3223
  <code class="ruby"> setting(:target_dir, &quot;gh-pages&quot;)</code>
3224
3224
  </li>
3225
3225
 
3226
- <li class="covered" data-hits="1" data-linenumber="43">
3226
+ <li class="covered" data-hits="1" data-linenumber="44">
3227
3227
  <span class="hits">1</span>
3228
3228
 
3229
3229
  <code class="ruby"> setting(:source_dir)</code>
3230
3230
  </li>
3231
3231
 
3232
- <li class="never" data-hits="" data-linenumber="44">
3232
+ <li class="never" data-hits="" data-linenumber="45">
3233
3233
 
3234
3234
 
3235
3235
  <code class="ruby"></code>
3236
3236
  </li>
3237
3237
 
3238
- <li class="covered" data-hits="1" data-linenumber="45">
3238
+ <li class="covered" data-hits="1" data-linenumber="46">
3239
3239
  <span class="hits">1</span>
3240
3240
 
3241
3241
  <code class="ruby"> nil_fields :repo_dir</code>
3242
3242
  </li>
3243
3243
 
3244
- <li class="never" data-hits="" data-linenumber="46">
3244
+ <li class="never" data-hits="" data-linenumber="47">
3245
3245
 
3246
3246
 
3247
3247
  <code class="ruby"></code>
3248
3248
  </li>
3249
3249
 
3250
- <li class="covered" data-hits="1" data-linenumber="47">
3250
+ <li class="covered" data-hits="1" data-linenumber="48">
3251
3251
  <span class="hits">1</span>
3252
3252
 
3253
3253
  <code class="ruby"> def branch</code>
3254
3254
  </li>
3255
3255
 
3256
- <li class="missed" data-hits="0" data-linenumber="48">
3257
-
3256
+ <li class="covered" data-hits="9" data-linenumber="49">
3257
+ <span class="hits">9</span>
3258
3258
 
3259
3259
  <code class="ruby"> &quot;gh-pages&quot;</code>
3260
3260
  </li>
3261
3261
 
3262
- <li class="never" data-hits="" data-linenumber="49">
3262
+ <li class="never" data-hits="" data-linenumber="50">
3263
3263
 
3264
3264
 
3265
3265
  <code class="ruby"> end</code>
3266
3266
  </li>
3267
3267
 
3268
- <li class="never" data-hits="" data-linenumber="50">
3268
+ <li class="never" data-hits="" data-linenumber="51">
3269
3269
 
3270
3270
 
3271
3271
  <code class="ruby"></code>
3272
3272
  </li>
3273
3273
 
3274
- <li class="covered" data-hits="1" data-linenumber="51">
3274
+ <li class="covered" data-hits="1" data-linenumber="52">
3275
3275
  <span class="hits">1</span>
3276
3276
 
3277
3277
  <code class="ruby"> def default_configuration(doc_gen)</code>
3278
3278
  </li>
3279
3279
 
3280
- <li class="missed" data-hits="0" data-linenumber="52">
3281
-
3280
+ <li class="covered" data-hits="1" data-linenumber="53">
3281
+ <span class="hits">1</span>
3282
3282
 
3283
3283
  <code class="ruby"> self.source_dir = doc_gen.target_dir</code>
3284
3284
  </li>
3285
3285
 
3286
- <li class="never" data-hits="" data-linenumber="53">
3286
+ <li class="never" data-hits="" data-linenumber="54">
3287
3287
 
3288
3288
 
3289
3289
  <code class="ruby"> end</code>
3290
3290
  </li>
3291
3291
 
3292
- <li class="never" data-hits="" data-linenumber="54">
3292
+ <li class="never" data-hits="" data-linenumber="55">
3293
3293
 
3294
3294
 
3295
3295
  <code class="ruby"></code>
3296
3296
  </li>
3297
3297
 
3298
- <li class="covered" data-hits="1" data-linenumber="55">
3298
+ <li class="covered" data-hits="1" data-linenumber="56">
3299
3299
  <span class="hits">1</span>
3300
3300
 
3301
3301
  <code class="ruby"> def resolve_configuration</code>
3302
3302
  </li>
3303
3303
 
3304
- <li class="missed" data-hits="0" data-linenumber="56">
3305
-
3304
+ <li class="covered" data-hits="1" data-linenumber="57">
3305
+ <span class="hits">1</span>
3306
3306
 
3307
3307
  <code class="ruby"> self.repo_dir ||= File::join(target_dir, &quot;.git&quot;)</code>
3308
3308
  </li>
3309
3309
 
3310
- <li class="never" data-hits="" data-linenumber="57">
3310
+ <li class="never" data-hits="" data-linenumber="58">
3311
3311
 
3312
3312
 
3313
3313
  <code class="ruby"> end</code>
3314
3314
  </li>
3315
3315
 
3316
- <li class="never" data-hits="" data-linenumber="58">
3316
+ <li class="never" data-hits="" data-linenumber="59">
3317
3317
 
3318
3318
 
3319
3319
  <code class="ruby"></code>
3320
3320
  </li>
3321
3321
 
3322
- <li class="covered" data-hits="1" data-linenumber="59">
3322
+ <li class="covered" data-hits="1" data-linenumber="60">
3323
3323
  <span class="hits">1</span>
3324
3324
 
3325
3325
  <code class="ruby"> def git_command(*args)</code>
3326
3326
  </li>
3327
3327
 
3328
- <li class="missed" data-hits="0" data-linenumber="60">
3329
-
3328
+ <li class="covered" data-hits="9" data-linenumber="61">
3329
+ <span class="hits">9</span>
3330
3330
 
3331
3331
  <code class="ruby"> Mattock::CommandLine.new(&quot;git&quot;, &quot;--no-pager&quot;) do |cmd|</code>
3332
3332
  </li>
3333
3333
 
3334
- <li class="missed" data-hits="0" data-linenumber="61">
3335
-
3334
+ <li class="covered" data-hits="9" data-linenumber="62">
3335
+ <span class="hits">9</span>
3336
3336
 
3337
3337
  <code class="ruby"> args.each do |arg|</code>
3338
3338
  </li>
3339
3339
 
3340
- <li class="missed" data-hits="0" data-linenumber="62">
3341
-
3340
+ <li class="covered" data-hits="19" data-linenumber="63">
3341
+ <span class="hits">19</span>
3342
3342
 
3343
3343
  <code class="ruby"> cmd.options += [*arg]</code>
3344
3344
  </li>
3345
3345
 
3346
- <li class="never" data-hits="" data-linenumber="63">
3346
+ <li class="never" data-hits="" data-linenumber="64">
3347
3347
 
3348
3348
 
3349
3349
  <code class="ruby"> end</code>
3350
3350
  </li>
3351
3351
 
3352
- <li class="never" data-hits="" data-linenumber="64">
3352
+ <li class="never" data-hits="" data-linenumber="65">
3353
3353
 
3354
3354
 
3355
3355
  <code class="ruby"> end</code>
3356
3356
  </li>
3357
3357
 
3358
- <li class="never" data-hits="" data-linenumber="65">
3358
+ <li class="never" data-hits="" data-linenumber="66">
3359
3359
 
3360
3360
 
3361
3361
  <code class="ruby"> end</code>
3362
3362
  </li>
3363
3363
 
3364
- <li class="never" data-hits="" data-linenumber="66">
3364
+ <li class="never" data-hits="" data-linenumber="67">
3365
3365
 
3366
3366
 
3367
3367
  <code class="ruby"></code>
3368
3368
  </li>
3369
3369
 
3370
- <li class="covered" data-hits="1" data-linenumber="67">
3370
+ <li class="covered" data-hits="1" data-linenumber="68">
3371
3371
  <span class="hits">1</span>
3372
3372
 
3373
3373
  <code class="ruby"> def git(*args)</code>
3374
3374
  </li>
3375
3375
 
3376
- <li class="missed" data-hits="0" data-linenumber="68">
3376
+ <li class="missed" data-hits="0" data-linenumber="69">
3377
3377
 
3378
3378
 
3379
3379
  <code class="ruby"> result = git_command(*args).run</code>
3380
3380
  </li>
3381
3381
 
3382
- <li class="missed" data-hits="0" data-linenumber="69">
3382
+ <li class="missed" data-hits="0" data-linenumber="70">
3383
3383
 
3384
3384
 
3385
3385
  <code class="ruby"> result.must_succeed!</code>
3386
3386
  </li>
3387
3387
 
3388
- <li class="missed" data-hits="0" data-linenumber="70">
3388
+ <li class="missed" data-hits="0" data-linenumber="71">
3389
3389
 
3390
3390
 
3391
3391
  <code class="ruby"> result.stdout.lines.to_a</code>
3392
3392
  </li>
3393
3393
 
3394
- <li class="never" data-hits="" data-linenumber="71">
3394
+ <li class="never" data-hits="" data-linenumber="72">
3395
3395
 
3396
3396
 
3397
3397
  <code class="ruby"> end</code>
3398
3398
  </li>
3399
3399
 
3400
- <li class="never" data-hits="" data-linenumber="72">
3400
+ <li class="never" data-hits="" data-linenumber="73">
3401
3401
 
3402
3402
 
3403
3403
  <code class="ruby"></code>
3404
3404
  </li>
3405
3405
 
3406
- <li class="covered" data-hits="1" data-linenumber="73">
3406
+ <li class="covered" data-hits="1" data-linenumber="74">
3407
3407
  <span class="hits">1</span>
3408
3408
 
3409
3409
  <code class="ruby"> def define</code>
3410
3410
  </li>
3411
3411
 
3412
- <li class="missed" data-hits="0" data-linenumber="74">
3413
-
3412
+ <li class="covered" data-hits="1" data-linenumber="75">
3413
+ <span class="hits">1</span>
3414
3414
 
3415
3415
  <code class="ruby"> in_namespace do</code>
3416
3416
  </li>
3417
3417
 
3418
- <li class="missed" data-hits="0" data-linenumber="75">
3419
-
3420
-
3421
- <code class="ruby"> InDirCommandTask.new(self) do |t|</code>
3422
- </li>
3423
-
3424
- <li class="missed" data-hits="0" data-linenumber="76">
3425
-
3418
+ <li class="covered" data-hits="1" data-linenumber="76">
3419
+ <span class="hits">1</span>
3426
3420
 
3427
- <code class="ruby"> t.task_name = :on_branch</code>
3421
+ <code class="ruby"> file repo_dir do</code>
3428
3422
  </li>
3429
3423
 
3430
3424
  <li class="missed" data-hits="0" data-linenumber="77">
3431
3425
 
3432
3426
 
3433
- <code class="ruby"> t.verify_command = Mattock::PipelineChain.new do |chain|</code>
3427
+ <code class="ruby"> fail &quot;Refusing to clobber existing #{target_dir}&quot; if File.exists?(target_dir)</code>
3434
3428
  </li>
3435
3429
 
3436
- <li class="missed" data-hits="0" data-linenumber="78">
3430
+ <li class="never" data-hits="" data-linenumber="78">
3437
3431
 
3438
3432
 
3439
- <code class="ruby"> chain.add git_command(%w{branch})</code>
3433
+ <code class="ruby"></code>
3440
3434
  </li>
3441
3435
 
3442
3436
  <li class="missed" data-hits="0" data-linenumber="79">
3443
3437
 
3444
3438
 
3445
- <code class="ruby"> chain.add Mattock::CommandLine.new(&quot;grep&quot;, &quot;-q&quot;, &quot;'^[*] #{branch}'&quot;)</code>
3439
+ <code class="ruby"> url = git(&quot;config&quot;, &quot;--get&quot;, &quot;remote.origin.url&quot;).first</code>
3446
3440
  </li>
3447
3441
 
3448
- <li class="never" data-hits="" data-linenumber="80">
3442
+ <li class="missed" data-hits="0" data-linenumber="80">
3449
3443
 
3450
3444
 
3451
- <code class="ruby"> end</code>
3445
+ <code class="ruby"> git(&quot;clone&quot;, url.chomp, target_dir)</code>
3452
3446
  </li>
3453
3447
 
3454
- <li class="missed" data-hits="0" data-linenumber="81">
3448
+ <li class="never" data-hits="" data-linenumber="81">
3455
3449
 
3456
3450
 
3457
- <code class="ruby"> t.command = Mattock::PrereqChain.new do |chain|</code>
3451
+ <code class="ruby"> end</code>
3458
3452
  </li>
3459
3453
 
3460
- <li class="missed" data-hits="0" data-linenumber="82">
3454
+ <li class="never" data-hits="" data-linenumber="82">
3461
3455
 
3462
3456
 
3463
- <code class="ruby"> chain.add git_command(&quot;checkout&quot;, branch)</code>
3457
+ <code class="ruby"></code>
3464
3458
  </li>
3465
3459
 
3466
- <li class="never" data-hits="" data-linenumber="83">
3467
-
3460
+ <li class="covered" data-hits="1" data-linenumber="83">
3461
+ <span class="hits">1</span>
3468
3462
 
3469
- <code class="ruby"> end</code>
3463
+ <code class="ruby"> InDirCommandTask.new(self, :remote_branch =&gt; repo_dir) do |t|</code>
3470
3464
  </li>
3471
3465
 
3472
- <li class="never" data-hits="" data-linenumber="84">
3473
-
3466
+ <li class="covered" data-hits="1" data-linenumber="84">
3467
+ <span class="hits">1</span>
3474
3468
 
3475
- <code class="ruby"> end</code>
3469
+ <code class="ruby"> t.verify_command = Mattock::PipelineChain.new do |chain|</code>
3476
3470
  </li>
3477
3471
 
3478
- <li class="never" data-hits="" data-linenumber="85">
3479
-
3472
+ <li class="covered" data-hits="1" data-linenumber="85">
3473
+ <span class="hits">1</span>
3480
3474
 
3481
- <code class="ruby"></code>
3475
+ <code class="ruby"> chain.add git_command(%w{branch -r})</code>
3482
3476
  </li>
3483
3477
 
3484
- <li class="missed" data-hits="0" data-linenumber="86">
3485
-
3478
+ <li class="covered" data-hits="1" data-linenumber="86">
3479
+ <span class="hits">1</span>
3486
3480
 
3487
- <code class="ruby"> file repo_dir do</code>
3481
+ <code class="ruby"> chain.add Mattock::CommandLine.new(&quot;grep&quot;, &quot;-q&quot;, branch)</code>
3488
3482
  </li>
3489
3483
 
3490
- <li class="missed" data-hits="0" data-linenumber="87">
3484
+ <li class="never" data-hits="" data-linenumber="87">
3491
3485
 
3492
3486
 
3493
- <code class="ruby"> fail &quot;Refusing to clobber existing #{target_dir}&quot; if File.exists?(target_dir)</code>
3487
+ <code class="ruby"> end</code>
3494
3488
  </li>
3495
3489
 
3496
- <li class="never" data-hits="" data-linenumber="88">
3497
-
3490
+ <li class="covered" data-hits="1" data-linenumber="88">
3491
+ <span class="hits">1</span>
3498
3492
 
3499
- <code class="ruby"></code>
3493
+ <code class="ruby"> t.command = Mattock::PrereqChain.new do |cmd|</code>
3500
3494
  </li>
3501
3495
 
3502
- <li class="missed" data-hits="0" data-linenumber="89">
3503
-
3496
+ <li class="covered" data-hits="1" data-linenumber="89">
3497
+ <span class="hits">1</span>
3504
3498
 
3505
- <code class="ruby"> url = git(&quot;config&quot;, &quot;--get&quot;, &quot;remote.origin.url&quot;).first</code>
3499
+ <code class="ruby"> cmd.add git_command(&quot;checkout&quot;, &quot;-b&quot;, branch)</code>
3506
3500
  </li>
3507
3501
 
3508
- <li class="never" data-hits="" data-linenumber="90">
3509
-
3502
+ <li class="covered" data-hits="1" data-linenumber="90">
3503
+ <span class="hits">1</span>
3510
3504
 
3511
- <code class="ruby"></code>
3505
+ <code class="ruby"> cmd.add Mattock::CommandLine.new(&quot;rm -rf *&quot;)</code>
3512
3506
  </li>
3513
3507
 
3514
- <li class="missed" data-hits="0" data-linenumber="91">
3515
-
3508
+ <li class="covered" data-hits="1" data-linenumber="91">
3509
+ <span class="hits">1</span>
3516
3510
 
3517
- <code class="ruby"> git(&quot;clone&quot;, url.chomp, &quot;-b&quot;, branch, target_dir)</code>
3511
+ <code class="ruby"> cmd.add git_command(%w{commit -a -m} + [&quot;'Creating pages'&quot;])</code>
3518
3512
  </li>
3519
3513
 
3520
- <li class="missed" data-hits="0" data-linenumber="92">
3521
-
3514
+ <li class="covered" data-hits="1" data-linenumber="92">
3515
+ <span class="hits">1</span>
3522
3516
 
3523
- <code class="ruby"> Mattock::CommandLine.new(&quot;rm&quot;, File::join(repo_dir, &quot;hooks&quot;, &quot;*&quot;)).must_succeed!</code>
3517
+ <code class="ruby"> cmd.add git_command(&quot;push&quot;, &quot;origin&quot;, branch)</code>
3524
3518
  </li>
3525
3519
 
3526
- <li class="never" data-hits="" data-linenumber="93">
3527
-
3520
+ <li class="covered" data-hits="1" data-linenumber="93">
3521
+ <span class="hits">1</span>
3528
3522
 
3529
- <code class="ruby"> end</code>
3523
+ <code class="ruby"> cmd.add git_command(&quot;branch&quot;, &quot;--set-upstream&quot;, branch, &quot;origin/&quot; + branch)</code>
3530
3524
  </li>
3531
3525
 
3532
3526
  <li class="never" data-hits="" data-linenumber="94">
3533
3527
 
3534
3528
 
3535
- <code class="ruby"></code>
3529
+ <code class="ruby"> end</code>
3536
3530
  </li>
3537
3531
 
3538
- <li class="missed" data-hits="0" data-linenumber="95">
3532
+ <li class="never" data-hits="" data-linenumber="95">
3539
3533
 
3540
3534
 
3541
- <code class="ruby"> task :pull =&gt; [repo_dir, :on_branch] do</code>
3535
+ <code class="ruby"> end</code>
3542
3536
  </li>
3543
3537
 
3544
- <li class="missed" data-hits="0" data-linenumber="96">
3538
+ <li class="never" data-hits="" data-linenumber="96">
3545
3539
 
3546
3540
 
3547
- <code class="ruby"> FileUtils.cd target_dir do</code>
3541
+ <code class="ruby"></code>
3548
3542
  </li>
3549
3543
 
3550
- <li class="missed" data-hits="0" data-linenumber="97">
3544
+ <li class="covered" data-hits="1" data-linenumber="97">
3545
+ <span class="hits">1</span>
3551
3546
 
3547
+ <code class="ruby"> InDirCommandTask.new(self, :local_branch =&gt; :remote_branch) do |t|</code>
3548
+ </li>
3549
+
3550
+ <li class="covered" data-hits="1" data-linenumber="98">
3551
+ <span class="hits">1</span>
3552
3552
 
3553
- <code class="ruby"> git(&quot;pull&quot;)</code>
3553
+ <code class="ruby"> t.verify_command = Mattock::PipelineChain.new do |chain|</code>
3554
3554
  </li>
3555
3555
 
3556
- <li class="never" data-hits="" data-linenumber="98">
3556
+ <li class="covered" data-hits="1" data-linenumber="99">
3557
+ <span class="hits">1</span>
3557
3558
 
3559
+ <code class="ruby"> chain.add git_command(%w{branch})</code>
3560
+ </li>
3561
+
3562
+ <li class="covered" data-hits="1" data-linenumber="100">
3563
+ <span class="hits">1</span>
3558
3564
 
3559
- <code class="ruby"> end</code>
3565
+ <code class="ruby"> chain.add Mattock::CommandLine.new(&quot;grep&quot;, &quot;-q&quot;, &quot;'#{branch}'&quot;)</code>
3560
3566
  </li>
3561
3567
 
3562
- <li class="never" data-hits="" data-linenumber="99">
3568
+ <li class="never" data-hits="" data-linenumber="101">
3563
3569
 
3564
3570
 
3565
- <code class="ruby"> end</code>
3571
+ <code class="ruby"> end</code>
3566
3572
  </li>
3567
3573
 
3568
- <li class="never" data-hits="" data-linenumber="100">
3574
+ <li class="covered" data-hits="1" data-linenumber="102">
3575
+ <span class="hits">1</span>
3569
3576
 
3577
+ <code class="ruby"> t.command = Mattock::PrereqChain.new do |chain|</code>
3578
+ </li>
3579
+
3580
+ <li class="covered" data-hits="1" data-linenumber="103">
3581
+ <span class="hits">1</span>
3570
3582
 
3571
- <code class="ruby"></code>
3583
+ <code class="ruby"> chain.add git_command(&quot;checkout&quot;, &quot;-t&quot;, branch)</code>
3572
3584
  </li>
3573
3585
 
3574
- <li class="missed" data-hits="0" data-linenumber="101">
3586
+ <li class="never" data-hits="" data-linenumber="104">
3575
3587
 
3576
3588
 
3577
- <code class="ruby"> InDirCommandTask.new(self) do |t|</code>
3589
+ <code class="ruby"> end</code>
3578
3590
  </li>
3579
3591
 
3580
- <li class="missed" data-hits="0" data-linenumber="102">
3592
+ <li class="never" data-hits="" data-linenumber="105">
3581
3593
 
3582
3594
 
3583
- <code class="ruby"> t.task_name = :setup</code>
3595
+ <code class="ruby"> end</code>
3584
3596
  </li>
3585
3597
 
3586
- <li class="missed" data-hits="0" data-linenumber="103">
3598
+ <li class="never" data-hits="" data-linenumber="106">
3587
3599
 
3588
3600
 
3589
- <code class="ruby"> t.verify_command = Mattock::PipelineChain.new do |chain|</code>
3601
+ <code class="ruby"></code>
3590
3602
  </li>
3591
3603
 
3592
- <li class="missed" data-hits="0" data-linenumber="104">
3604
+ <li class="covered" data-hits="1" data-linenumber="107">
3605
+ <span class="hits">1</span>
3593
3606
 
3607
+ <code class="ruby"> InDirCommandTask.new(self, :on_branch =&gt; [:remote_branch, :local_branch]) do |t|</code>
3608
+ </li>
3609
+
3610
+ <li class="covered" data-hits="1" data-linenumber="108">
3611
+ <span class="hits">1</span>
3594
3612
 
3595
- <code class="ruby"> chain.add git_command(%w{branch -r})</code>
3613
+ <code class="ruby"> t.verify_command = Mattock::PipelineChain.new do |chain|</code>
3596
3614
  </li>
3597
3615
 
3598
- <li class="missed" data-hits="0" data-linenumber="105">
3616
+ <li class="covered" data-hits="1" data-linenumber="109">
3617
+ <span class="hits">1</span>
3599
3618
 
3619
+ <code class="ruby"> chain.add git_command(%w{branch})</code>
3620
+ </li>
3621
+
3622
+ <li class="covered" data-hits="1" data-linenumber="110">
3623
+ <span class="hits">1</span>
3600
3624
 
3601
- <code class="ruby"> chain.add Mattock::CommandLine.new(&quot;grep&quot;, &quot;-q&quot;, branch)</code>
3625
+ <code class="ruby"> chain.add Mattock::CommandLine.new(&quot;grep&quot;, &quot;-q&quot;, &quot;'^[*] #{branch}'&quot;)</code>
3602
3626
  </li>
3603
3627
 
3604
- <li class="never" data-hits="" data-linenumber="106">
3628
+ <li class="never" data-hits="" data-linenumber="111">
3605
3629
 
3606
3630
 
3607
3631
  <code class="ruby"> end</code>
3608
3632
  </li>
3609
3633
 
3610
- <li class="missed" data-hits="0" data-linenumber="107">
3634
+ <li class="covered" data-hits="1" data-linenumber="112">
3635
+ <span class="hits">1</span>
3611
3636
 
3637
+ <code class="ruby"> t.command = Mattock::PrereqChain.new do |chain|</code>
3638
+ </li>
3639
+
3640
+ <li class="covered" data-hits="1" data-linenumber="113">
3641
+ <span class="hits">1</span>
3612
3642
 
3613
- <code class="ruby"> t.command = Mattock::PrereqChain.new do |cmd|</code>
3643
+ <code class="ruby"> chain.add git_command(&quot;checkout&quot;, branch)</code>
3614
3644
  </li>
3615
3645
 
3616
- <li class="missed" data-hits="0" data-linenumber="108">
3646
+ <li class="never" data-hits="" data-linenumber="114">
3617
3647
 
3618
3648
 
3619
- <code class="ruby"> cmd.add git_command(&quot;checkout&quot;, &quot;-b&quot;, branch)</code>
3649
+ <code class="ruby"> end</code>
3620
3650
  </li>
3621
3651
 
3622
- <li class="missed" data-hits="0" data-linenumber="109">
3652
+ <li class="never" data-hits="" data-linenumber="115">
3623
3653
 
3624
3654
 
3625
- <code class="ruby"> cmd.add Mattock::CommandLine.new(&quot;rm -rf *&quot;)</code>
3655
+ <code class="ruby"> end</code>
3626
3656
  </li>
3627
3657
 
3628
- <li class="missed" data-hits="0" data-linenumber="110">
3658
+ <li class="never" data-hits="" data-linenumber="116">
3629
3659
 
3630
3660
 
3631
- <code class="ruby"> cmd.add git_command(%w{commit -a -m} + [&quot;'Creating pages'&quot;])</code>
3661
+ <code class="ruby"></code>
3632
3662
  </li>
3633
3663
 
3634
- <li class="missed" data-hits="0" data-linenumber="111">
3664
+ <li class="covered" data-hits="1" data-linenumber="117">
3665
+ <span class="hits">1</span>
3666
+
3667
+ <code class="ruby"> task :pull =&gt; [repo_dir, :on_branch] do</code>
3668
+ </li>
3669
+
3670
+ <li class="missed" data-hits="0" data-linenumber="118">
3635
3671
 
3636
3672
 
3637
- <code class="ruby"> cmd.add git_command(&quot;push&quot;, &quot;origin&quot;, branch)</code>
3673
+ <code class="ruby"> FileUtils.cd target_dir do</code>
3638
3674
  </li>
3639
3675
 
3640
- <li class="missed" data-hits="0" data-linenumber="112">
3676
+ <li class="missed" data-hits="0" data-linenumber="119">
3641
3677
 
3642
3678
 
3643
- <code class="ruby"> cmd.add git_command(&quot;branch&quot;, &quot;--set-upstream&quot;, branch, &quot;origin/&quot; + branch)</code>
3679
+ <code class="ruby"> git(&quot;pull&quot;)</code>
3644
3680
  </li>
3645
3681
 
3646
- <li class="never" data-hits="" data-linenumber="113">
3682
+ <li class="never" data-hits="" data-linenumber="120">
3647
3683
 
3648
3684
 
3649
3685
  <code class="ruby"> end</code>
3650
3686
  </li>
3651
3687
 
3652
- <li class="never" data-hits="" data-linenumber="114">
3688
+ <li class="never" data-hits="" data-linenumber="121">
3653
3689
 
3654
3690
 
3655
3691
  <code class="ruby"> end</code>
3656
3692
  </li>
3657
3693
 
3658
- <li class="missed" data-hits="0" data-linenumber="115">
3694
+ <li class="never" data-hits="" data-linenumber="122">
3659
3695
 
3660
3696
 
3661
- <code class="ruby"> task :setup =&gt; repo_dir</code>
3697
+ <code class="ruby"></code>
3662
3698
  </li>
3663
3699
 
3664
- <li class="never" data-hits="" data-linenumber="116">
3700
+ <li class="covered" data-hits="1" data-linenumber="123">
3701
+ <span class="hits">1</span>
3665
3702
 
3703
+ <code class="ruby"> task :cleanup_repo =&gt; repo_dir do</code>
3704
+ </li>
3705
+
3706
+ <li class="missed" data-hits="0" data-linenumber="124">
3666
3707
 
3667
- <code class="ruby"></code>
3708
+
3709
+ <code class="ruby"> Mattock::CommandLine.new(&quot;rm&quot;, &quot;-f&quot;, File::join(repo_dir, &quot;hooks&quot;, &quot;*&quot;)).must_succeed!</code>
3668
3710
  </li>
3669
3711
 
3670
- <li class="missed" data-hits="0" data-linenumber="117">
3712
+ <li class="never" data-hits="" data-linenumber="125">
3671
3713
 
3672
3714
 
3673
- <code class="ruby"> task :pre_publish =&gt; [repo_dir, :setup, :pull]</code>
3715
+ <code class="ruby"> end</code>
3674
3716
  </li>
3675
3717
 
3676
- <li class="never" data-hits="" data-linenumber="118">
3718
+ <li class="never" data-hits="" data-linenumber="126">
3677
3719
 
3678
3720
 
3679
3721
  <code class="ruby"></code>
3680
3722
  </li>
3681
3723
 
3682
- <li class="missed" data-hits="0" data-linenumber="119">
3724
+ <li class="covered" data-hits="1" data-linenumber="127">
3725
+ <span class="hits">1</span>
3726
+
3727
+ <code class="ruby"> file target_dir =&gt; [:on_branch, :cleanup_repo]</code>
3728
+ </li>
3729
+
3730
+ <li class="never" data-hits="" data-linenumber="128">
3731
+
3732
+
3733
+ <code class="ruby"></code>
3734
+ </li>
3735
+
3736
+ <li class="covered" data-hits="1" data-linenumber="129">
3737
+ <span class="hits">1</span>
3738
+
3739
+ <code class="ruby"> task :pre_publish =&gt; [repo_dir, target_dir, :pull]</code>
3740
+ </li>
3741
+
3742
+ <li class="never" data-hits="" data-linenumber="130">
3743
+
3683
3744
 
3745
+ <code class="ruby"></code>
3746
+ </li>
3747
+
3748
+ <li class="covered" data-hits="1" data-linenumber="131">
3749
+ <span class="hits">1</span>
3684
3750
 
3685
3751
  <code class="ruby"> task :clobber_target =&gt; :on_branch do</code>
3686
3752
  </li>
3687
3753
 
3688
- <li class="missed" data-hits="0" data-linenumber="120">
3754
+ <li class="missed" data-hits="0" data-linenumber="132">
3689
3755
 
3690
3756
 
3691
3757
  <code class="ruby"> Mattock::CommandLine.new(*%w{rm -rf}) do |cmd|</code>
3692
3758
  </li>
3693
3759
 
3694
- <li class="missed" data-hits="0" data-linenumber="121">
3760
+ <li class="missed" data-hits="0" data-linenumber="133">
3695
3761
 
3696
3762
 
3697
3763
  <code class="ruby"> cmd.options &lt;&lt; target_dir + &quot;/*&quot;</code>
3698
3764
  </li>
3699
3765
 
3700
- <li class="never" data-hits="" data-linenumber="122">
3766
+ <li class="never" data-hits="" data-linenumber="134">
3701
3767
 
3702
3768
 
3703
3769
  <code class="ruby"> end.must_succeed!</code>
3704
3770
  </li>
3705
3771
 
3706
- <li class="never" data-hits="" data-linenumber="123">
3772
+ <li class="never" data-hits="" data-linenumber="135">
3707
3773
 
3708
3774
 
3709
3775
  <code class="ruby"> end</code>
3710
3776
  </li>
3711
3777
 
3712
- <li class="never" data-hits="" data-linenumber="124">
3778
+ <li class="never" data-hits="" data-linenumber="136">
3713
3779
 
3714
3780
 
3715
3781
  <code class="ruby"></code>
3716
3782
  </li>
3717
3783
 
3718
- <li class="missed" data-hits="0" data-linenumber="125">
3719
-
3784
+ <li class="covered" data-hits="1" data-linenumber="137">
3785
+ <span class="hits">1</span>
3720
3786
 
3721
3787
  <code class="ruby"> task :assemble_docs =&gt; [:pre_publish, :clobber_target] do</code>
3722
3788
  </li>
3723
3789
 
3724
- <li class="missed" data-hits="0" data-linenumber="126">
3790
+ <li class="missed" data-hits="0" data-linenumber="138">
3725
3791
 
3726
3792
 
3727
3793
  <code class="ruby"> Mattock::CommandLine.new(*%w{cp -a}) do |cmd|</code>
3728
3794
  </li>
3729
3795
 
3730
- <li class="missed" data-hits="0" data-linenumber="127">
3796
+ <li class="missed" data-hits="0" data-linenumber="139">
3731
3797
 
3732
3798
 
3733
3799
  <code class="ruby"> cmd.options &lt;&lt; source_dir + &quot;/*&quot;</code>
3734
3800
  </li>
3735
3801
 
3736
- <li class="missed" data-hits="0" data-linenumber="128">
3802
+ <li class="missed" data-hits="0" data-linenumber="140">
3737
3803
 
3738
3804
 
3739
3805
  <code class="ruby"> cmd.options &lt;&lt; target_dir</code>
3740
3806
  </li>
3741
3807
 
3742
- <li class="never" data-hits="" data-linenumber="129">
3808
+ <li class="never" data-hits="" data-linenumber="141">
3743
3809
 
3744
3810
 
3745
3811
  <code class="ruby"> end.must_succeed!</code>
3746
3812
  </li>
3747
3813
 
3748
- <li class="never" data-hits="" data-linenumber="130">
3814
+ <li class="never" data-hits="" data-linenumber="142">
3749
3815
 
3750
3816
 
3751
3817
  <code class="ruby"> end</code>
3752
3818
  </li>
3753
3819
 
3754
- <li class="never" data-hits="" data-linenumber="131">
3820
+ <li class="never" data-hits="" data-linenumber="143">
3755
3821
 
3756
3822
 
3757
3823
  <code class="ruby"></code>
3758
3824
  </li>
3759
3825
 
3760
- <li class="missed" data-hits="0" data-linenumber="132">
3761
-
3826
+ <li class="covered" data-hits="1" data-linenumber="144">
3827
+ <span class="hits">1</span>
3762
3828
 
3763
3829
  <code class="ruby"> task :publish =&gt; [:assemble_docs, :on_branch] do</code>
3764
3830
  </li>
3765
3831
 
3766
- <li class="missed" data-hits="0" data-linenumber="133">
3832
+ <li class="missed" data-hits="0" data-linenumber="145">
3767
3833
 
3768
3834
 
3769
3835
  <code class="ruby"> FileUtils.cd target_dir do</code>
3770
3836
  </li>
3771
3837
 
3772
- <li class="missed" data-hits="0" data-linenumber="134">
3838
+ <li class="missed" data-hits="0" data-linenumber="146">
3773
3839
 
3774
3840
 
3775
3841
  <code class="ruby"> git(&quot;add&quot;, &quot;.&quot;)</code>
3776
3842
  </li>
3777
3843
 
3778
- <li class="missed" data-hits="0" data-linenumber="135">
3844
+ <li class="missed" data-hits="0" data-linenumber="147">
3779
3845
 
3780
3846
 
3781
3847
  <code class="ruby"> git(&quot;commit&quot;, &quot;-m&quot;, &quot;'Corundum auto-publish'&quot;)</code>
3782
3848
  </li>
3783
3849
 
3784
- <li class="missed" data-hits="0" data-linenumber="136">
3850
+ <li class="missed" data-hits="0" data-linenumber="148">
3785
3851
 
3786
3852
 
3787
3853
  <code class="ruby"> git(&quot;push&quot;, &quot;origin&quot;, branch)</code>
3788
3854
  </li>
3789
3855
 
3790
- <li class="never" data-hits="" data-linenumber="137">
3856
+ <li class="never" data-hits="" data-linenumber="149">
3791
3857
 
3792
3858
 
3793
3859
  <code class="ruby"> end</code>
3794
3860
  </li>
3795
3861
 
3796
- <li class="never" data-hits="" data-linenumber="138">
3862
+ <li class="never" data-hits="" data-linenumber="150">
3797
3863
 
3798
3864
 
3799
3865
  <code class="ruby"> end</code>
3800
3866
  </li>
3801
3867
 
3802
- <li class="never" data-hits="" data-linenumber="139">
3868
+ <li class="never" data-hits="" data-linenumber="151">
3803
3869
 
3804
3870
 
3805
3871
  <code class="ruby"> end</code>
3806
3872
  </li>
3807
3873
 
3808
- <li class="never" data-hits="" data-linenumber="140">
3874
+ <li class="never" data-hits="" data-linenumber="152">
3809
3875
 
3810
3876
 
3811
3877
  <code class="ruby"></code>
3812
3878
  </li>
3813
3879
 
3814
- <li class="missed" data-hits="0" data-linenumber="141">
3815
-
3880
+ <li class="covered" data-hits="1" data-linenumber="153">
3881
+ <span class="hits">1</span>
3816
3882
 
3817
3883
  <code class="ruby"> desc &quot;Push documentation files to Github Pages&quot;</code>
3818
3884
  </li>
3819
3885
 
3820
- <li class="missed" data-hits="0" data-linenumber="142">
3821
-
3886
+ <li class="covered" data-hits="1" data-linenumber="154">
3887
+ <span class="hits">1</span>
3822
3888
 
3823
3889
  <code class="ruby"> task root_task =&gt; self[:publish]</code>
3824
3890
  </li>
3825
3891
 
3826
- <li class="never" data-hits="" data-linenumber="143">
3892
+ <li class="never" data-hits="" data-linenumber="155">
3827
3893
 
3828
3894
 
3829
3895
  <code class="ruby"> end</code>
3830
3896
  </li>
3831
3897
 
3832
- <li class="never" data-hits="" data-linenumber="144">
3898
+ <li class="never" data-hits="" data-linenumber="156">
3833
3899
 
3834
3900
 
3835
3901
  <code class="ruby"> end</code>
3836
3902
  </li>
3837
3903
 
3838
- <li class="never" data-hits="" data-linenumber="145">
3904
+ <li class="never" data-hits="" data-linenumber="157">
3839
3905
 
3840
3906
 
3841
3907
  <code class="ruby">end</code>
@@ -3848,10 +3914,10 @@
3848
3914
  <div class="source_table" id="ca59b10e8958422d12a5762675ec41984956669a">
3849
3915
  <div class="header">
3850
3916
  <h3>lib/corundum/rspec.rb</h3>
3851
- <h4><span class="green">92.65 %</span> covered</h4>
3917
+ <h4><span class="green">92.86 %</span> covered</h4>
3852
3918
  <div>
3853
- <b>68</b> relevant lines.
3854
- <span class="green"><b>63</b> lines covered</span> and
3919
+ <b>70</b> relevant lines.
3920
+ <span class="green"><b>65</b> lines covered</span> and
3855
3921
  <span class="red"><b>5</b> lines missed.</span>
3856
3922
  </div>
3857
3923
  </div>
@@ -3976,610 +4042,622 @@
3976
4042
  <li class="covered" data-hits="4" data-linenumber="20">
3977
4043
  <span class="hits">4</span>
3978
4044
 
3979
- <code class="ruby"> self.pattern = rspec.pattern</code>
4045
+ <code class="ruby"> super</code>
3980
4046
  </li>
3981
4047
 
3982
4048
  <li class="covered" data-hits="4" data-linenumber="21">
3983
4049
  <span class="hits">4</span>
3984
4050
 
3985
- <code class="ruby"> self.ruby_opts = rspec.ruby_opts</code>
4051
+ <code class="ruby"> self.pattern = rspec.pattern</code>
3986
4052
  </li>
3987
4053
 
3988
4054
  <li class="covered" data-hits="4" data-linenumber="22">
3989
4055
  <span class="hits">4</span>
3990
4056
 
3991
- <code class="ruby"> self.rspec_configs = rspec.rspec_configs</code>
4057
+ <code class="ruby"> self.ruby_opts = rspec.ruby_opts</code>
3992
4058
  </li>
3993
4059
 
3994
4060
  <li class="covered" data-hits="4" data-linenumber="23">
3995
4061
  <span class="hits">4</span>
3996
4062
 
3997
- <code class="ruby"> self.rspec_opts = rspec.rspec_opts</code>
4063
+ <code class="ruby"> self.rspec_configs = rspec.rspec_configs</code>
3998
4064
  </li>
3999
4065
 
4000
4066
  <li class="covered" data-hits="4" data-linenumber="24">
4001
4067
  <span class="hits">4</span>
4002
4068
 
4003
- <code class="ruby"> self.warning = rspec.warning</code>
4069
+ <code class="ruby"> self.rspec_opts = rspec.rspec_opts</code>
4004
4070
  </li>
4005
4071
 
4006
4072
  <li class="covered" data-hits="4" data-linenumber="25">
4007
4073
  <span class="hits">4</span>
4008
4074
 
4009
- <code class="ruby"> self.rspec_path = rspec.rspec_path</code>
4075
+ <code class="ruby"> self.warning = rspec.warning</code>
4010
4076
  </li>
4011
4077
 
4012
4078
  <li class="covered" data-hits="4" data-linenumber="26">
4013
4079
  <span class="hits">4</span>
4014
4080
 
4015
- <code class="ruby"> self.rspec_opts = rspec.rspec_opts</code>
4081
+ <code class="ruby"> self.rspec_path = rspec.rspec_path</code>
4016
4082
  </li>
4017
4083
 
4018
4084
  <li class="covered" data-hits="4" data-linenumber="27">
4019
4085
  <span class="hits">4</span>
4020
4086
 
4021
- <code class="ruby"> self.failure_message = rspec.failure_message</code>
4087
+ <code class="ruby"> self.rspec_opts = rspec.rspec_opts</code>
4022
4088
  </li>
4023
4089
 
4024
4090
  <li class="covered" data-hits="4" data-linenumber="28">
4025
4091
  <span class="hits">4</span>
4026
4092
 
4093
+ <code class="ruby"> self.failure_message = rspec.failure_message</code>
4094
+ </li>
4095
+
4096
+ <li class="covered" data-hits="4" data-linenumber="29">
4097
+ <span class="hits">4</span>
4098
+
4027
4099
  <code class="ruby"> self.files_to_run = rspec.files_to_run</code>
4028
4100
  </li>
4029
4101
 
4030
- <li class="never" data-hits="" data-linenumber="29">
4102
+ <li class="never" data-hits="" data-linenumber="30">
4031
4103
 
4032
4104
 
4033
4105
  <code class="ruby"> end</code>
4034
4106
  </li>
4035
4107
 
4036
- <li class="never" data-hits="" data-linenumber="30">
4108
+ <li class="never" data-hits="" data-linenumber="31">
4037
4109
 
4038
4110
 
4039
4111
  <code class="ruby"></code>
4040
4112
  </li>
4041
4113
 
4042
- <li class="covered" data-hits="1" data-linenumber="31">
4114
+ <li class="covered" data-hits="1" data-linenumber="32">
4043
4115
  <span class="hits">1</span>
4044
4116
 
4045
4117
  <code class="ruby"> def resolve_configuration</code>
4046
4118
  </li>
4047
4119
 
4048
- <li class="covered" data-hits="4" data-linenumber="32">
4120
+ <li class="covered" data-hits="4" data-linenumber="33">
4049
4121
  <span class="hits">4</span>
4050
4122
 
4051
4123
  <code class="ruby"> self.rspec_configs = rspec_opts</code>
4052
4124
  </li>
4053
4125
 
4054
- <li class="covered" data-hits="4" data-linenumber="33">
4126
+ <li class="covered" data-hits="4" data-linenumber="34">
4055
4127
  <span class="hits">4</span>
4056
4128
 
4057
4129
  <code class="ruby"> self.rspec_path = %x&quot;which #{rspec_path}&quot;.chomp</code>
4058
4130
  </li>
4059
4131
 
4060
- <li class="never" data-hits="" data-linenumber="34">
4132
+ <li class="never" data-hits="" data-linenumber="35">
4061
4133
 
4062
4134
 
4063
4135
  <code class="ruby"></code>
4064
4136
  </li>
4065
4137
 
4066
- <li class="covered" data-hits="4" data-linenumber="35">
4138
+ <li class="covered" data-hits="4" data-linenumber="36">
4067
4139
  <span class="hits">4</span>
4068
4140
 
4069
4141
  <code class="ruby"> ruby_command.options &lt;&lt; ruby_opts if ruby_opts</code>
4070
4142
  </li>
4071
4143
 
4072
- <li class="covered" data-hits="4" data-linenumber="36">
4144
+ <li class="covered" data-hits="4" data-linenumber="37">
4073
4145
  <span class="hits">4</span>
4074
4146
 
4075
4147
  <code class="ruby"> ruby_command.options &lt;&lt; &quot;-w&quot; if warning</code>
4076
4148
  </li>
4077
4149
 
4078
- <li class="never" data-hits="" data-linenumber="37">
4150
+ <li class="never" data-hits="" data-linenumber="38">
4079
4151
 
4080
4152
 
4081
4153
  <code class="ruby"></code>
4082
4154
  </li>
4083
4155
 
4084
- <li class="covered" data-hits="4" data-linenumber="38">
4156
+ <li class="covered" data-hits="4" data-linenumber="39">
4085
4157
  <span class="hits">4</span>
4086
4158
 
4087
4159
  <code class="ruby"> self.runner_command = Mattock::CommandLine.new(rspec_path) do |cmd|</code>
4088
4160
  </li>
4089
4161
 
4090
- <li class="covered" data-hits="4" data-linenumber="39">
4162
+ <li class="covered" data-hits="4" data-linenumber="40">
4091
4163
  <span class="hits">4</span>
4092
4164
 
4093
4165
  <code class="ruby"> cmd.options &lt;&lt; rspec_opts</code>
4094
4166
  </li>
4095
4167
 
4096
- <li class="covered" data-hits="4" data-linenumber="40">
4168
+ <li class="covered" data-hits="4" data-linenumber="41">
4097
4169
  <span class="hits">4</span>
4098
4170
 
4099
4171
  <code class="ruby"> cmd.options &lt;&lt; files_to_run</code>
4100
4172
  </li>
4101
4173
 
4102
- <li class="never" data-hits="" data-linenumber="41">
4174
+ <li class="never" data-hits="" data-linenumber="42">
4103
4175
 
4104
4176
 
4105
4177
  <code class="ruby"> end</code>
4106
4178
  </li>
4107
4179
 
4108
- <li class="never" data-hits="" data-linenumber="42">
4180
+ <li class="never" data-hits="" data-linenumber="43">
4109
4181
 
4110
4182
 
4111
4183
  <code class="ruby"></code>
4112
4184
  </li>
4113
4185
 
4114
- <li class="covered" data-hits="4" data-linenumber="43">
4186
+ <li class="covered" data-hits="4" data-linenumber="44">
4115
4187
  <span class="hits">4</span>
4116
4188
 
4117
4189
  <code class="ruby"> self.command = Mattock::WrappingChain.new do |cmd|</code>
4118
4190
  </li>
4119
4191
 
4120
- <li class="covered" data-hits="4" data-linenumber="44">
4192
+ <li class="covered" data-hits="4" data-linenumber="45">
4121
4193
  <span class="hits">4</span>
4122
4194
 
4123
4195
  <code class="ruby"> cmd.add ruby_command</code>
4124
4196
  </li>
4125
4197
 
4126
- <li class="covered" data-hits="4" data-linenumber="45">
4198
+ <li class="covered" data-hits="4" data-linenumber="46">
4127
4199
  <span class="hits">4</span>
4128
4200
 
4129
4201
  <code class="ruby"> cmd.add runner_command</code>
4130
4202
  </li>
4131
4203
 
4132
- <li class="never" data-hits="" data-linenumber="46">
4204
+ <li class="never" data-hits="" data-linenumber="47">
4133
4205
 
4134
4206
 
4135
4207
  <code class="ruby"> end</code>
4136
4208
  </li>
4137
4209
 
4138
- <li class="never" data-hits="" data-linenumber="47">
4210
+ <li class="covered" data-hits="4" data-linenumber="48">
4211
+ <span class="hits">4</span>
4212
+
4213
+ <code class="ruby"> super</code>
4214
+ </li>
4215
+
4216
+ <li class="never" data-hits="" data-linenumber="49">
4139
4217
 
4140
4218
 
4141
4219
  <code class="ruby"> end</code>
4142
4220
  </li>
4143
4221
 
4144
- <li class="never" data-hits="" data-linenumber="48">
4222
+ <li class="never" data-hits="" data-linenumber="50">
4145
4223
 
4146
4224
 
4147
4225
  <code class="ruby"> end</code>
4148
4226
  </li>
4149
4227
 
4150
- <li class="never" data-hits="" data-linenumber="49">
4228
+ <li class="never" data-hits="" data-linenumber="51">
4151
4229
 
4152
4230
 
4153
4231
  <code class="ruby"></code>
4154
4232
  </li>
4155
4233
 
4156
- <li class="never" data-hits="" data-linenumber="50">
4234
+ <li class="never" data-hits="" data-linenumber="52">
4157
4235
 
4158
4236
 
4159
4237
  <code class="ruby"></code>
4160
4238
  </li>
4161
4239
 
4162
- <li class="covered" data-hits="1" data-linenumber="51">
4240
+ <li class="covered" data-hits="1" data-linenumber="53">
4163
4241
  <span class="hits">1</span>
4164
4242
 
4165
4243
  <code class="ruby"> class RSpec &lt; TaskLib</code>
4166
4244
  </li>
4167
4245
 
4168
- <li class="covered" data-hits="1" data-linenumber="52">
4246
+ <li class="covered" data-hits="1" data-linenumber="54">
4169
4247
  <span class="hits">1</span>
4170
4248
 
4171
4249
  <code class="ruby"> default_namespace :rspec</code>
4172
4250
  </li>
4173
4251
 
4174
- <li class="never" data-hits="" data-linenumber="53">
4252
+ <li class="never" data-hits="" data-linenumber="55">
4175
4253
 
4176
4254
 
4177
4255
  <code class="ruby"></code>
4178
4256
  </li>
4179
4257
 
4180
- <li class="never" data-hits="" data-linenumber="54">
4258
+ <li class="never" data-hits="" data-linenumber="56">
4181
4259
 
4182
4260
 
4183
4261
  <code class="ruby"> settings(</code>
4184
4262
  </li>
4185
4263
 
4186
- <li class="never" data-hits="" data-linenumber="55">
4264
+ <li class="never" data-hits="" data-linenumber="57">
4187
4265
 
4188
4266
 
4189
4267
  <code class="ruby"> :pattern =&gt; './spec{,/*/**}/*_spec.rb',</code>
4190
4268
  </li>
4191
4269
 
4192
- <li class="never" data-hits="" data-linenumber="56">
4270
+ <li class="never" data-hits="" data-linenumber="58">
4193
4271
 
4194
4272
 
4195
4273
  <code class="ruby"> :rspec_configs =&gt; nil,</code>
4196
4274
  </li>
4197
4275
 
4198
- <li class="never" data-hits="" data-linenumber="57">
4276
+ <li class="never" data-hits="" data-linenumber="59">
4199
4277
 
4200
4278
 
4201
4279
  <code class="ruby"> :rspec_opts =&gt; nil,</code>
4202
4280
  </li>
4203
4281
 
4204
- <li class="never" data-hits="" data-linenumber="58">
4282
+ <li class="never" data-hits="" data-linenumber="60">
4205
4283
 
4206
4284
 
4207
4285
  <code class="ruby"> :warning =&gt; false,</code>
4208
4286
  </li>
4209
4287
 
4210
- <li class="never" data-hits="" data-linenumber="59">
4288
+ <li class="never" data-hits="" data-linenumber="61">
4211
4289
 
4212
4290
 
4213
4291
  <code class="ruby"> :verbose =&gt; true,</code>
4214
4292
  </li>
4215
4293
 
4216
- <li class="never" data-hits="" data-linenumber="60">
4294
+ <li class="never" data-hits="" data-linenumber="62">
4217
4295
 
4218
4296
 
4219
4297
  <code class="ruby"> :ruby_opts =&gt; [],</code>
4220
4298
  </li>
4221
4299
 
4222
- <li class="never" data-hits="" data-linenumber="61">
4300
+ <li class="never" data-hits="" data-linenumber="63">
4223
4301
 
4224
4302
 
4225
4303
  <code class="ruby"> :rspec_path =&gt; 'rspec',</code>
4226
4304
  </li>
4227
4305
 
4228
- <li class="never" data-hits="" data-linenumber="62">
4306
+ <li class="never" data-hits="" data-linenumber="64">
4229
4307
 
4230
4308
 
4231
4309
  <code class="ruby"> :rspec_opts =&gt; %w{--format documentation --out last_run --color --format documentation},</code>
4232
4310
  </li>
4233
4311
 
4234
- <li class="never" data-hits="" data-linenumber="63">
4312
+ <li class="never" data-hits="" data-linenumber="65">
4235
4313
 
4236
4314
 
4237
4315
  <code class="ruby"> :failure_message =&gt; &quot;Spec examples failed.&quot;,</code>
4238
4316
  </li>
4239
4317
 
4240
- <li class="covered" data-hits="1" data-linenumber="64">
4318
+ <li class="covered" data-hits="1" data-linenumber="66">
4241
4319
  <span class="hits">1</span>
4242
4320
 
4243
4321
  <code class="ruby"> :files_to_run =&gt; &quot;spec&quot;</code>
4244
4322
  </li>
4245
4323
 
4246
- <li class="never" data-hits="" data-linenumber="65">
4324
+ <li class="never" data-hits="" data-linenumber="67">
4247
4325
 
4248
4326
 
4249
4327
  <code class="ruby"> )</code>
4250
4328
  </li>
4251
4329
 
4252
- <li class="never" data-hits="" data-linenumber="66">
4330
+ <li class="never" data-hits="" data-linenumber="68">
4253
4331
 
4254
4332
 
4255
4333
  <code class="ruby"></code>
4256
4334
  </li>
4257
4335
 
4258
- <li class="covered" data-hits="1" data-linenumber="67">
4336
+ <li class="covered" data-hits="1" data-linenumber="69">
4259
4337
  <span class="hits">1</span>
4260
4338
 
4261
4339
  <code class="ruby"> required_fields :gemspec_path, :qa_finished_path</code>
4262
4340
  </li>
4263
4341
 
4264
- <li class="never" data-hits="" data-linenumber="68">
4342
+ <li class="never" data-hits="" data-linenumber="70">
4265
4343
 
4266
4344
 
4267
4345
  <code class="ruby"></code>
4268
4346
  </li>
4269
4347
 
4270
- <li class="covered" data-hits="1" data-linenumber="69">
4348
+ <li class="covered" data-hits="1" data-linenumber="71">
4271
4349
  <span class="hits">1</span>
4272
4350
 
4273
4351
  <code class="ruby"> def default_configuration(toolkit)</code>
4274
4352
  </li>
4275
4353
 
4276
- <li class="covered" data-hits="1" data-linenumber="70">
4354
+ <li class="covered" data-hits="1" data-linenumber="72">
4277
4355
  <span class="hits">1</span>
4278
4356
 
4279
4357
  <code class="ruby"> self.gemspec_path = toolkit.gemspec_path</code>
4280
4358
  </li>
4281
4359
 
4282
- <li class="covered" data-hits="1" data-linenumber="71">
4360
+ <li class="covered" data-hits="1" data-linenumber="73">
4283
4361
  <span class="hits">1</span>
4284
4362
 
4285
4363
  <code class="ruby"> self.qa_finished_path = toolkit.finished_files.qa</code>
4286
4364
  </li>
4287
4365
 
4288
- <li class="never" data-hits="" data-linenumber="72">
4366
+ <li class="never" data-hits="" data-linenumber="74">
4289
4367
 
4290
4368
 
4291
4369
  <code class="ruby"> end</code>
4292
4370
  </li>
4293
4371
 
4294
- <li class="never" data-hits="" data-linenumber="73">
4372
+ <li class="never" data-hits="" data-linenumber="75">
4295
4373
 
4296
4374
 
4297
4375
  <code class="ruby"></code>
4298
4376
  </li>
4299
4377
 
4300
- <li class="covered" data-hits="1" data-linenumber="74">
4378
+ <li class="covered" data-hits="1" data-linenumber="76">
4301
4379
  <span class="hits">1</span>
4302
4380
 
4303
4381
  <code class="ruby"> def resolve_configuration</code>
4304
4382
  </li>
4305
4383
 
4306
- <li class="never" data-hits="" data-linenumber="75">
4384
+ <li class="never" data-hits="" data-linenumber="77">
4307
4385
 
4308
4386
 
4309
4387
  <code class="ruby"> #XXX Que?</code>
4310
4388
  </li>
4311
4389
 
4312
- <li class="covered" data-hits="1" data-linenumber="76">
4390
+ <li class="covered" data-hits="1" data-linenumber="78">
4313
4391
  <span class="hits">1</span>
4314
4392
 
4315
4393
  <code class="ruby"> self.rspec_configs = rspec_opts</code>
4316
4394
  </li>
4317
4395
 
4318
- <li class="covered" data-hits="1" data-linenumber="77">
4396
+ <li class="covered" data-hits="1" data-linenumber="79">
4319
4397
  <span class="hits">1</span>
4320
4398
 
4321
4399
  <code class="ruby"> self.rspec_opts = []</code>
4322
4400
  </li>
4323
4401
 
4324
- <li class="covered" data-hits="1" data-linenumber="78">
4402
+ <li class="covered" data-hits="1" data-linenumber="80">
4325
4403
  <span class="hits">1</span>
4326
4404
 
4327
4405
  <code class="ruby"> self.rspec_path = %x&quot;which #{rspec_path}&quot;.chomp</code>
4328
4406
  </li>
4329
4407
 
4330
- <li class="never" data-hits="" data-linenumber="79">
4408
+ <li class="never" data-hits="" data-linenumber="81">
4331
4409
 
4332
4410
 
4333
4411
  <code class="ruby"> end</code>
4334
4412
  </li>
4335
4413
 
4336
- <li class="never" data-hits="" data-linenumber="80">
4414
+ <li class="never" data-hits="" data-linenumber="82">
4337
4415
 
4338
4416
 
4339
4417
  <code class="ruby"></code>
4340
4418
  </li>
4341
4419
 
4342
- <li class="covered" data-hits="1" data-linenumber="81">
4420
+ <li class="covered" data-hits="1" data-linenumber="83">
4343
4421
  <span class="hits">1</span>
4344
4422
 
4345
4423
  <code class="ruby"> def define</code>
4346
4424
  </li>
4347
4425
 
4348
- <li class="covered" data-hits="1" data-linenumber="82">
4426
+ <li class="covered" data-hits="1" data-linenumber="84">
4349
4427
  <span class="hits">1</span>
4350
4428
 
4351
4429
  <code class="ruby"> in_namespace do</code>
4352
4430
  </li>
4353
4431
 
4354
- <li class="covered" data-hits="1" data-linenumber="83">
4432
+ <li class="covered" data-hits="1" data-linenumber="85">
4355
4433
  <span class="hits">1</span>
4356
4434
 
4357
4435
  <code class="ruby"> desc &quot;Always run every spec&quot;</code>
4358
4436
  </li>
4359
4437
 
4360
- <li class="covered" data-hits="1" data-linenumber="84">
4438
+ <li class="covered" data-hits="1" data-linenumber="86">
4361
4439
  <span class="hits">1</span>
4362
4440
 
4363
4441
  <code class="ruby"> RSpecTask.new(self) do |t|</code>
4364
4442
  </li>
4365
4443
 
4366
- <li class="covered" data-hits="1" data-linenumber="85">
4444
+ <li class="covered" data-hits="1" data-linenumber="87">
4367
4445
  <span class="hits">1</span>
4368
4446
 
4369
4447
  <code class="ruby"> t.task_name = :all</code>
4370
4448
  </li>
4371
4449
 
4372
- <li class="never" data-hits="" data-linenumber="86">
4450
+ <li class="never" data-hits="" data-linenumber="88">
4373
4451
 
4374
4452
 
4375
4453
  <code class="ruby"> end</code>
4376
4454
  </li>
4377
4455
 
4378
- <li class="never" data-hits="" data-linenumber="87">
4456
+ <li class="never" data-hits="" data-linenumber="89">
4379
4457
 
4380
4458
 
4381
4459
  <code class="ruby"></code>
4382
4460
  </li>
4383
4461
 
4384
- <li class="covered" data-hits="1" data-linenumber="88">
4462
+ <li class="covered" data-hits="1" data-linenumber="90">
4385
4463
  <span class="hits">1</span>
4386
4464
 
4387
4465
  <code class="ruby"> desc &quot;Generate specifications documentation&quot;</code>
4388
4466
  </li>
4389
4467
 
4390
- <li class="covered" data-hits="1" data-linenumber="89">
4468
+ <li class="covered" data-hits="1" data-linenumber="91">
4391
4469
  <span class="hits">1</span>
4392
4470
 
4393
4471
  <code class="ruby"> RSpecTask.new(self) do |t|</code>
4394
4472
  </li>
4395
4473
 
4396
- <li class="covered" data-hits="1" data-linenumber="90">
4474
+ <li class="covered" data-hits="1" data-linenumber="92">
4397
4475
  <span class="hits">1</span>
4398
4476
 
4399
4477
  <code class="ruby"> t.task_name = :doc</code>
4400
4478
  </li>
4401
4479
 
4402
- <li class="covered" data-hits="1" data-linenumber="91">
4480
+ <li class="covered" data-hits="1" data-linenumber="93">
4403
4481
  <span class="hits">1</span>
4404
4482
 
4405
4483
  <code class="ruby"> t.rspec_opts = %w{-o /dev/null -f d -o doc/Specifications}</code>
4406
4484
  </li>
4407
4485
 
4408
- <li class="covered" data-hits="1" data-linenumber="92">
4486
+ <li class="covered" data-hits="1" data-linenumber="94">
4409
4487
  <span class="hits">1</span>
4410
4488
 
4411
4489
  <code class="ruby"> t.failure_message = &quot;Failed generating specification docs&quot;</code>
4412
4490
  </li>
4413
4491
 
4414
- <li class="never" data-hits="" data-linenumber="93">
4492
+ <li class="never" data-hits="" data-linenumber="95">
4415
4493
 
4416
4494
 
4417
4495
  <code class="ruby"> end</code>
4418
4496
  </li>
4419
4497
 
4420
- <li class="never" data-hits="" data-linenumber="94">
4498
+ <li class="never" data-hits="" data-linenumber="96">
4421
4499
 
4422
4500
 
4423
4501
  <code class="ruby"></code>
4424
4502
  </li>
4425
4503
 
4426
- <li class="covered" data-hits="1" data-linenumber="95">
4504
+ <li class="covered" data-hits="1" data-linenumber="97">
4427
4505
  <span class="hits">1</span>
4428
4506
 
4429
4507
  <code class="ruby"> desc &quot;Run only failing examples listed in last_run&quot;</code>
4430
4508
  </li>
4431
4509
 
4432
- <li class="covered" data-hits="1" data-linenumber="96">
4510
+ <li class="covered" data-hits="1" data-linenumber="98">
4433
4511
  <span class="hits">1</span>
4434
4512
 
4435
4513
  <code class="ruby"> RSpecTask.new(self) do |t|</code>
4436
4514
  </li>
4437
4515
 
4438
- <li class="covered" data-hits="1" data-linenumber="97">
4516
+ <li class="covered" data-hits="1" data-linenumber="99">
4439
4517
  <span class="hits">1</span>
4440
4518
 
4441
4519
  <code class="ruby"> t.task_name = :quick</code>
4442
4520
  </li>
4443
4521
 
4444
- <li class="covered" data-hits="1" data-linenumber="98">
4522
+ <li class="covered" data-hits="1" data-linenumber="100">
4445
4523
  <span class="hits">1</span>
4446
4524
 
4447
4525
  <code class="ruby"> examples = []</code>
4448
4526
  </li>
4449
4527
 
4450
- <li class="covered" data-hits="1" data-linenumber="99">
4528
+ <li class="covered" data-hits="1" data-linenumber="101">
4451
4529
  <span class="hits">1</span>
4452
4530
 
4453
4531
  <code class="ruby"> begin</code>
4454
4532
  </li>
4455
4533
 
4456
- <li class="covered" data-hits="1" data-linenumber="100">
4534
+ <li class="covered" data-hits="1" data-linenumber="102">
4457
4535
  <span class="hits">1</span>
4458
4536
 
4459
4537
  <code class="ruby"> File.open(&quot;last_run&quot;, &quot;r&quot;) do |fail_list|</code>
4460
4538
  </li>
4461
4539
 
4462
- <li class="covered" data-hits="1" data-linenumber="101">
4540
+ <li class="covered" data-hits="1" data-linenumber="103">
4463
4541
  <span class="hits">1</span>
4464
4542
 
4465
4543
  <code class="ruby"> fail_list.lines.grep(%r{^\s*\d+\)\s*(.*)}) do |line|</code>
4466
4544
  </li>
4467
4545
 
4468
- <li class="missed" data-hits="0" data-linenumber="102">
4546
+ <li class="missed" data-hits="0" data-linenumber="104">
4469
4547
 
4470
4548
 
4471
4549
  <code class="ruby"> examples &lt;&lt; $1.gsub(/'/){&quot;[']&quot;}</code>
4472
4550
  </li>
4473
4551
 
4474
- <li class="never" data-hits="" data-linenumber="103">
4552
+ <li class="never" data-hits="" data-linenumber="105">
4475
4553
 
4476
4554
 
4477
4555
  <code class="ruby"> end</code>
4478
4556
  </li>
4479
4557
 
4480
- <li class="never" data-hits="" data-linenumber="104">
4558
+ <li class="never" data-hits="" data-linenumber="106">
4481
4559
 
4482
4560
 
4483
4561
  <code class="ruby"> end</code>
4484
4562
  </li>
4485
4563
 
4486
- <li class="never" data-hits="" data-linenumber="105">
4564
+ <li class="never" data-hits="" data-linenumber="107">
4487
4565
 
4488
4566
 
4489
4567
  <code class="ruby"> rescue</code>
4490
4568
  </li>
4491
4569
 
4492
- <li class="never" data-hits="" data-linenumber="106">
4570
+ <li class="never" data-hits="" data-linenumber="108">
4493
4571
 
4494
4572
 
4495
4573
  <code class="ruby"> end</code>
4496
4574
  </li>
4497
4575
 
4498
- <li class="covered" data-hits="1" data-linenumber="107">
4576
+ <li class="covered" data-hits="1" data-linenumber="109">
4499
4577
  <span class="hits">1</span>
4500
4578
 
4501
4579
  <code class="ruby"> unless examples.empty?</code>
4502
4580
  </li>
4503
4581
 
4504
- <li class="missed" data-hits="0" data-linenumber="108">
4582
+ <li class="missed" data-hits="0" data-linenumber="110">
4505
4583
 
4506
4584
 
4507
4585
  <code class="ruby"> t.rspec_opts &lt;&lt; &quot;--example&quot;</code>
4508
4586
  </li>
4509
4587
 
4510
- <li class="missed" data-hits="0" data-linenumber="109">
4588
+ <li class="missed" data-hits="0" data-linenumber="111">
4511
4589
 
4512
4590
 
4513
4591
  <code class="ruby"> t.rspec_opts &lt;&lt; &quot;\&quot;#{examples.join(&quot;|&quot;)}\&quot;&quot;</code>
4514
4592
  </li>
4515
4593
 
4516
- <li class="never" data-hits="" data-linenumber="110">
4594
+ <li class="never" data-hits="" data-linenumber="112">
4517
4595
 
4518
4596
 
4519
4597
  <code class="ruby"> end</code>
4520
4598
  </li>
4521
4599
 
4522
- <li class="covered" data-hits="1" data-linenumber="111">
4600
+ <li class="covered" data-hits="1" data-linenumber="113">
4523
4601
  <span class="hits">1</span>
4524
4602
 
4525
4603
  <code class="ruby"> t.failure_message = &quot;Spec examples failed.&quot;</code>
4526
4604
  </li>
4527
4605
 
4528
- <li class="never" data-hits="" data-linenumber="112">
4606
+ <li class="never" data-hits="" data-linenumber="114">
4529
4607
 
4530
4608
 
4531
4609
  <code class="ruby"> end</code>
4532
4610
  </li>
4533
4611
 
4534
- <li class="never" data-hits="" data-linenumber="113">
4612
+ <li class="never" data-hits="" data-linenumber="115">
4535
4613
 
4536
4614
 
4537
4615
  <code class="ruby"> end</code>
4538
4616
  </li>
4539
4617
 
4540
- <li class="never" data-hits="" data-linenumber="114">
4618
+ <li class="never" data-hits="" data-linenumber="116">
4541
4619
 
4542
4620
 
4543
4621
  <code class="ruby"></code>
4544
4622
  </li>
4545
4623
 
4546
- <li class="covered" data-hits="1" data-linenumber="115">
4624
+ <li class="covered" data-hits="1" data-linenumber="117">
4547
4625
  <span class="hits">1</span>
4548
4626
 
4549
4627
  <code class="ruby"> desc &quot;Run failing examples if any exist, otherwise, run the whole suite&quot;</code>
4550
4628
  </li>
4551
4629
 
4552
- <li class="covered" data-hits="1" data-linenumber="116">
4630
+ <li class="covered" data-hits="1" data-linenumber="118">
4553
4631
  <span class="hits">1</span>
4554
4632
 
4555
4633
  <code class="ruby"> task root_task =&gt; in_namespace(:quick)</code>
4556
4634
  </li>
4557
4635
 
4558
- <li class="never" data-hits="" data-linenumber="117">
4636
+ <li class="never" data-hits="" data-linenumber="119">
4559
4637
 
4560
4638
 
4561
4639
  <code class="ruby"></code>
4562
4640
  </li>
4563
4641
 
4564
- <li class="covered" data-hits="1" data-linenumber="118">
4642
+ <li class="covered" data-hits="1" data-linenumber="120">
4565
4643
  <span class="hits">1</span>
4566
4644
 
4567
4645
  <code class="ruby"> task :qa =&gt; in_namespace(:doc)</code>
4568
4646
  </li>
4569
4647
 
4570
- <li class="never" data-hits="" data-linenumber="119">
4648
+ <li class="never" data-hits="" data-linenumber="121">
4571
4649
 
4572
4650
 
4573
4651
  <code class="ruby"> end</code>
4574
4652
  </li>
4575
4653
 
4576
- <li class="never" data-hits="" data-linenumber="120">
4654
+ <li class="never" data-hits="" data-linenumber="122">
4577
4655
 
4578
4656
 
4579
4657
  <code class="ruby"> end</code>
4580
4658
  </li>
4581
4659
 
4582
- <li class="never" data-hits="" data-linenumber="121">
4660
+ <li class="never" data-hits="" data-linenumber="123">
4583
4661
 
4584
4662
 
4585
4663
  <code class="ruby">end</code>
@@ -6128,11 +6206,11 @@
6128
6206
  <div class="source_table" id="9d2f811d8f8df106d5632369df2fd635327854f1">
6129
6207
  <div class="header">
6130
6208
  <h3>lib/corundum/version_control/git.rb</h3>
6131
- <h4><span class="red">15.79 %</span> covered</h4>
6209
+ <h4><span class="red">54.39 %</span> covered</h4>
6132
6210
  <div>
6133
6211
  <b>57</b> relevant lines.
6134
- <span class="green"><b>9</b> lines covered</span> and
6135
- <span class="red"><b>48</b> lines missed.</span>
6212
+ <span class="green"><b>31</b> lines covered</span> and
6213
+ <span class="red"><b>26</b> lines missed.</span>
6136
6214
  </div>
6137
6215
  </div>
6138
6216
 
@@ -6181,8 +6259,8 @@
6181
6259
  <code class="ruby"> def resolve_configuration</code>
6182
6260
  </li>
6183
6261
 
6184
- <li class="missed" data-hits="0" data-linenumber="8">
6185
-
6262
+ <li class="covered" data-hits="1" data-linenumber="8">
6263
+ <span class="hits">1</span>
6186
6264
 
6187
6265
  <code class="ruby"> @branch ||= guess_branch</code>
6188
6266
  </li>
@@ -6205,20 +6283,20 @@
6205
6283
  <code class="ruby"> def git_command(*args)</code>
6206
6284
  </li>
6207
6285
 
6208
- <li class="missed" data-hits="0" data-linenumber="12">
6209
-
6286
+ <li class="covered" data-hits="1" data-linenumber="12">
6287
+ <span class="hits">1</span>
6210
6288
 
6211
6289
  <code class="ruby"> Mattock::CommandLine.new(&quot;git&quot;, &quot;--no-pager&quot;) do |cmd|</code>
6212
6290
  </li>
6213
6291
 
6214
- <li class="missed" data-hits="0" data-linenumber="13">
6215
-
6292
+ <li class="covered" data-hits="1" data-linenumber="13">
6293
+ <span class="hits">1</span>
6216
6294
 
6217
6295
  <code class="ruby"> args.each do |arg|</code>
6218
6296
  </li>
6219
6297
 
6220
- <li class="missed" data-hits="0" data-linenumber="14">
6221
-
6298
+ <li class="covered" data-hits="1" data-linenumber="14">
6299
+ <span class="hits">1</span>
6222
6300
 
6223
6301
  <code class="ruby"> cmd.options += [*arg]</code>
6224
6302
  </li>
@@ -6253,20 +6331,20 @@
6253
6331
  <code class="ruby"> def git(*args)</code>
6254
6332
  </li>
6255
6333
 
6256
- <li class="missed" data-hits="0" data-linenumber="20">
6257
-
6334
+ <li class="covered" data-hits="1" data-linenumber="20">
6335
+ <span class="hits">1</span>
6258
6336
 
6259
6337
  <code class="ruby"> result = git_command(*args).run</code>
6260
6338
  </li>
6261
6339
 
6262
- <li class="missed" data-hits="0" data-linenumber="21">
6263
-
6340
+ <li class="covered" data-hits="1" data-linenumber="21">
6341
+ <span class="hits">1</span>
6264
6342
 
6265
6343
  <code class="ruby"> result.must_succeed!</code>
6266
6344
  </li>
6267
6345
 
6268
- <li class="missed" data-hits="0" data-linenumber="22">
6269
-
6346
+ <li class="covered" data-hits="1" data-linenumber="22">
6347
+ <span class="hits">1</span>
6270
6348
 
6271
6349
  <code class="ruby"> return result.stdout.lines.to_a</code>
6272
6350
  </li>
@@ -6289,26 +6367,26 @@
6289
6367
  <code class="ruby"> def guess_branch</code>
6290
6368
  </li>
6291
6369
 
6292
- <li class="missed" data-hits="0" data-linenumber="26">
6293
-
6370
+ <li class="covered" data-hits="1" data-linenumber="26">
6371
+ <span class="hits">1</span>
6294
6372
 
6295
6373
  <code class="ruby"> puts &quot;Guessing branch - configure Git &gt; branch&quot;</code>
6296
6374
  </li>
6297
6375
 
6298
- <li class="missed" data-hits="0" data-linenumber="27">
6299
-
6376
+ <li class="covered" data-hits="1" data-linenumber="27">
6377
+ <span class="hits">1</span>
6300
6378
 
6301
6379
  <code class="ruby"> branch = git(&quot;branch&quot;).grep(/^\*/).first.sub(/\*\s*/,&quot;&quot;).chomp</code>
6302
6380
  </li>
6303
6381
 
6304
- <li class="missed" data-hits="0" data-linenumber="28">
6305
-
6382
+ <li class="covered" data-hits="1" data-linenumber="28">
6383
+ <span class="hits">1</span>
6306
6384
 
6307
6385
  <code class="ruby"> puts &quot; Guessed: #{branch}&quot;</code>
6308
6386
  </li>
6309
6387
 
6310
- <li class="missed" data-hits="0" data-linenumber="29">
6311
-
6388
+ <li class="covered" data-hits="1" data-linenumber="29">
6389
+ <span class="hits">1</span>
6312
6390
 
6313
6391
  <code class="ruby"> return branch</code>
6314
6392
  </li>
@@ -6331,8 +6409,8 @@
6331
6409
  <code class="ruby"> def define</code>
6332
6410
  </li>
6333
6411
 
6334
- <li class="missed" data-hits="0" data-linenumber="33">
6335
-
6412
+ <li class="covered" data-hits="1" data-linenumber="33">
6413
+ <span class="hits">1</span>
6336
6414
 
6337
6415
  <code class="ruby"> super</code>
6338
6416
  </li>
@@ -6343,14 +6421,14 @@
6343
6421
  <code class="ruby"></code>
6344
6422
  </li>
6345
6423
 
6346
- <li class="missed" data-hits="0" data-linenumber="35">
6347
-
6424
+ <li class="covered" data-hits="1" data-linenumber="35">
6425
+ <span class="hits">1</span>
6348
6426
 
6349
6427
  <code class="ruby"> in_namespace do</code>
6350
6428
  </li>
6351
6429
 
6352
- <li class="missed" data-hits="0" data-linenumber="36">
6353
-
6430
+ <li class="covered" data-hits="1" data-linenumber="36">
6431
+ <span class="hits">1</span>
6354
6432
 
6355
6433
  <code class="ruby"> task :on_branch do</code>
6356
6434
  </li>
@@ -6391,8 +6469,8 @@
6391
6469
  <code class="ruby"></code>
6392
6470
  </li>
6393
6471
 
6394
- <li class="missed" data-hits="0" data-linenumber="43">
6395
-
6472
+ <li class="covered" data-hits="1" data-linenumber="43">
6473
+ <span class="hits">1</span>
6396
6474
 
6397
6475
  <code class="ruby"> task :not_tagged =&gt; :on_branch do</code>
6398
6476
  </li>
@@ -6433,8 +6511,8 @@
6433
6511
  <code class="ruby"></code>
6434
6512
  </li>
6435
6513
 
6436
- <li class="missed" data-hits="0" data-linenumber="50">
6437
-
6514
+ <li class="covered" data-hits="1" data-linenumber="50">
6515
+ <span class="hits">1</span>
6438
6516
 
6439
6517
  <code class="ruby"> task :workspace_committed =&gt; :on_branch do</code>
6440
6518
  </li>
@@ -6475,8 +6553,8 @@
6475
6553
  <code class="ruby"></code>
6476
6554
  </li>
6477
6555
 
6478
- <li class="missed" data-hits="0" data-linenumber="57">
6479
-
6556
+ <li class="covered" data-hits="1" data-linenumber="57">
6557
+ <span class="hits">1</span>
6480
6558
 
6481
6559
  <code class="ruby"> task :gemspec_files_added =&gt; :on_branch do</code>
6482
6560
  </li>
@@ -6547,8 +6625,8 @@
6547
6625
  <code class="ruby"></code>
6548
6626
  </li>
6549
6627
 
6550
- <li class="missed" data-hits="0" data-linenumber="69">
6551
-
6628
+ <li class="covered" data-hits="1" data-linenumber="69">
6629
+ <span class="hits">1</span>
6552
6630
 
6553
6631
  <code class="ruby"> task :is_pulled do</code>
6554
6632
  </li>
@@ -6643,8 +6721,8 @@
6643
6721
  <code class="ruby"> end</code>
6644
6722
  </li>
6645
6723
 
6646
- <li class="missed" data-hits="0" data-linenumber="85">
6647
-
6724
+ <li class="covered" data-hits="1" data-linenumber="85">
6725
+ <span class="hits">1</span>
6648
6726
 
6649
6727
  <code class="ruby"> task :is_checked_in =&gt; :is_pulled</code>
6650
6728
  </li>
@@ -6655,8 +6733,8 @@
6655
6733
  <code class="ruby"></code>
6656
6734
  </li>
6657
6735
 
6658
- <li class="missed" data-hits="0" data-linenumber="87">
6659
-
6736
+ <li class="covered" data-hits="1" data-linenumber="87">
6737
+ <span class="hits">1</span>
6660
6738
 
6661
6739
  <code class="ruby"> task :tag =&gt; :on_branch do</code>
6662
6740
  </li>
@@ -6679,8 +6757,8 @@
6679
6757
  <code class="ruby"></code>
6680
6758
  </li>
6681
6759
 
6682
- <li class="missed" data-hits="0" data-linenumber="91">
6683
-
6760
+ <li class="covered" data-hits="1" data-linenumber="91">
6761
+ <span class="hits">1</span>
6684
6762
 
6685
6763
  <code class="ruby"> task :push =&gt; :on_branch do</code>
6686
6764
  </li>
@@ -6703,8 +6781,8 @@
6703
6781
  <code class="ruby"></code>
6704
6782
  </li>
6705
6783
 
6706
- <li class="missed" data-hits="0" data-linenumber="95">
6707
-
6784
+ <li class="covered" data-hits="1" data-linenumber="95">
6785
+ <span class="hits">1</span>
6708
6786
 
6709
6787
  <code class="ruby"> task :check_in =&gt; [:push]</code>
6710
6788
  </li>
@@ -6740,11 +6818,11 @@
6740
6818
  <div class="source_table" id="58abe8fc8bf9e6883cd935a00513d6746935b12c">
6741
6819
  <div class="header">
6742
6820
  <h3>lib/corundum/version_control/monotone.rb</h3>
6743
- <h4><span class="red">66.29 %</span> covered</h4>
6821
+ <h4><span class="red">14.61 %</span> covered</h4>
6744
6822
  <div>
6745
6823
  <b>89</b> relevant lines.
6746
- <span class="green"><b>59</b> lines covered</span> and
6747
- <span class="red"><b>30</b> lines missed.</span>
6824
+ <span class="green"><b>13</b> lines covered</span> and
6825
+ <span class="red"><b>76</b> lines missed.</span>
6748
6826
  </div>
6749
6827
  </div>
6750
6828
 
@@ -6805,8 +6883,8 @@
6805
6883
  <code class="ruby"> def resolve_configuration</code>
6806
6884
  </li>
6807
6885
 
6808
- <li class="covered" data-hits="1" data-linenumber="10">
6809
- <span class="hits">1</span>
6886
+ <li class="missed" data-hits="0" data-linenumber="10">
6887
+
6810
6888
 
6811
6889
  <code class="ruby"> @branch ||= guess_branch</code>
6812
6890
  </li>
@@ -6829,14 +6907,14 @@
6829
6907
  <code class="ruby"> def mtn_automate(cmd, *args)</code>
6830
6908
  </li>
6831
6909
 
6832
- <li class="covered" data-hits="2" data-linenumber="14">
6833
- <span class="hits">2</span>
6910
+ <li class="missed" data-hits="0" data-linenumber="14">
6911
+
6834
6912
 
6835
6913
  <code class="ruby"> result = Mattock::CommandLine.new(&quot;mtn&quot;, &quot;automate&quot;, cmd) do |cmd|</code>
6836
6914
  </li>
6837
6915
 
6838
- <li class="covered" data-hits="2" data-linenumber="15">
6839
- <span class="hits">2</span>
6916
+ <li class="missed" data-hits="0" data-linenumber="15">
6917
+
6840
6918
 
6841
6919
  <code class="ruby"> cmd.options += args</code>
6842
6920
  </li>
@@ -6847,14 +6925,14 @@
6847
6925
  <code class="ruby"> end.run</code>
6848
6926
  </li>
6849
6927
 
6850
- <li class="covered" data-hits="2" data-linenumber="17">
6851
- <span class="hits">2</span>
6928
+ <li class="missed" data-hits="0" data-linenumber="17">
6929
+
6852
6930
 
6853
6931
  <code class="ruby"> result.must_succeed!</code>
6854
6932
  </li>
6855
6933
 
6856
- <li class="covered" data-hits="2" data-linenumber="18">
6857
- <span class="hits">2</span>
6934
+ <li class="missed" data-hits="0" data-linenumber="18">
6935
+
6858
6936
 
6859
6937
  <code class="ruby"> result.stdout</code>
6860
6938
  </li>
@@ -6877,26 +6955,26 @@
6877
6955
  <code class="ruby"> def parse_basic_io(string)</code>
6878
6956
  </li>
6879
6957
 
6880
- <li class="covered" data-hits="1" data-linenumber="22">
6881
- <span class="hits">1</span>
6958
+ <li class="missed" data-hits="0" data-linenumber="22">
6959
+
6882
6960
 
6883
6961
  <code class="ruby"> items = []</code>
6884
6962
  </li>
6885
6963
 
6886
- <li class="covered" data-hits="1" data-linenumber="23">
6887
- <span class="hits">1</span>
6964
+ <li class="missed" data-hits="0" data-linenumber="23">
6965
+
6888
6966
 
6889
6967
  <code class="ruby"> scanner = StringScanner.new(string)</code>
6890
6968
  </li>
6891
6969
 
6892
- <li class="covered" data-hits="1" data-linenumber="24">
6893
- <span class="hits">1</span>
6970
+ <li class="missed" data-hits="0" data-linenumber="24">
6971
+
6894
6972
 
6895
6973
  <code class="ruby"> scanner.scan(/\s*/m)</code>
6896
6974
  </li>
6897
6975
 
6898
- <li class="covered" data-hits="1" data-linenumber="25">
6899
- <span class="hits">1</span>
6976
+ <li class="missed" data-hits="0" data-linenumber="25">
6977
+
6900
6978
 
6901
6979
  <code class="ruby"> until scanner.eos? do</code>
6902
6980
  </li>
@@ -6907,26 +6985,26 @@
6907
6985
  <code class="ruby"></code>
6908
6986
  </li>
6909
6987
 
6910
- <li class="covered" data-hits="20" data-linenumber="27">
6911
- <span class="hits">20</span>
6988
+ <li class="missed" data-hits="0" data-linenumber="27">
6989
+
6912
6990
 
6913
6991
  <code class="ruby"> symbol = scanner.scan(/[a-z_]*/)</code>
6914
6992
  </li>
6915
6993
 
6916
- <li class="covered" data-hits="20" data-linenumber="28">
6917
- <span class="hits">20</span>
6994
+ <li class="missed" data-hits="0" data-linenumber="28">
6995
+
6918
6996
 
6919
6997
  <code class="ruby"> scanner.scan(/\s*/)</code>
6920
6998
  </li>
6921
6999
 
6922
- <li class="covered" data-hits="20" data-linenumber="29">
6923
- <span class="hits">20</span>
7000
+ <li class="missed" data-hits="0" data-linenumber="29">
7001
+
6924
7002
 
6925
7003
  <code class="ruby"> value = &quot;&quot;</code>
6926
7004
  </li>
6927
7005
 
6928
- <li class="covered" data-hits="20" data-linenumber="30">
6929
- <span class="hits">20</span>
7006
+ <li class="missed" data-hits="0" data-linenumber="30">
7007
+
6930
7008
 
6931
7009
  <code class="ruby"> case scanner.scan(/[&quot;\[]/)</code>
6932
7010
  </li>
@@ -6937,8 +7015,8 @@
6937
7015
  <code class="ruby"> when '&quot;'</code>
6938
7016
  </li>
6939
7017
 
6940
- <li class="covered" data-hits="16" data-linenumber="32">
6941
- <span class="hits">16</span>
7018
+ <li class="missed" data-hits="0" data-linenumber="32">
7019
+
6942
7020
 
6943
7021
  <code class="ruby"> while (value += scanner.scan(/[^&quot;]*/)) =~ /\\$/</code>
6944
7022
  </li>
@@ -6949,8 +7027,8 @@
6949
7027
  <code class="ruby"> end</code>
6950
7028
  </li>
6951
7029
 
6952
- <li class="covered" data-hits="16" data-linenumber="34">
6953
- <span class="hits">16</span>
7030
+ <li class="missed" data-hits="0" data-linenumber="34">
7031
+
6954
7032
 
6955
7033
  <code class="ruby"> scanner.scan(/&quot;/)</code>
6956
7034
  </li>
@@ -6961,14 +7039,14 @@
6961
7039
  <code class="ruby"> when '['</code>
6962
7040
  </li>
6963
7041
 
6964
- <li class="covered" data-hits="4" data-linenumber="36">
6965
- <span class="hits">4</span>
7042
+ <li class="missed" data-hits="0" data-linenumber="36">
7043
+
6966
7044
 
6967
7045
  <code class="ruby"> value = scanner.scan(/[^\]]*/)</code>
6968
7046
  </li>
6969
7047
 
6970
- <li class="covered" data-hits="4" data-linenumber="37">
6971
- <span class="hits">4</span>
7048
+ <li class="missed" data-hits="0" data-linenumber="37">
7049
+
6972
7050
 
6973
7051
  <code class="ruby"> scanner.scan(/]/)</code>
6974
7052
  </li>
@@ -7009,14 +7087,14 @@
7009
7087
  <code class="ruby"> end</code>
7010
7088
  </li>
7011
7089
 
7012
- <li class="covered" data-hits="20" data-linenumber="44">
7013
- <span class="hits">20</span>
7090
+ <li class="missed" data-hits="0" data-linenumber="44">
7091
+
7014
7092
 
7015
7093
  <code class="ruby"> items &lt;&lt; [symbol, value]</code>
7016
7094
  </li>
7017
7095
 
7018
- <li class="covered" data-hits="20" data-linenumber="45">
7019
- <span class="hits">20</span>
7096
+ <li class="missed" data-hits="0" data-linenumber="45">
7097
+
7020
7098
 
7021
7099
  <code class="ruby"> scanner.scan(/\s*/m)</code>
7022
7100
  </li>
@@ -7027,8 +7105,8 @@
7027
7105
  <code class="ruby"> end</code>
7028
7106
  </li>
7029
7107
 
7030
- <li class="covered" data-hits="1" data-linenumber="47">
7031
- <span class="hits">1</span>
7108
+ <li class="missed" data-hits="0" data-linenumber="47">
7109
+
7032
7110
 
7033
7111
  <code class="ruby"> return items</code>
7034
7112
  </li>
@@ -7051,26 +7129,26 @@
7051
7129
  <code class="ruby"> def parse_certs(string)</code>
7052
7130
  </li>
7053
7131
 
7054
- <li class="covered" data-hits="1" data-linenumber="51">
7055
- <span class="hits">1</span>
7132
+ <li class="missed" data-hits="0" data-linenumber="51">
7133
+
7056
7134
 
7057
7135
  <code class="ruby"> items = parse_basic_io(string)</code>
7058
7136
  </li>
7059
7137
 
7060
- <li class="covered" data-hits="1" data-linenumber="52">
7061
- <span class="hits">1</span>
7138
+ <li class="missed" data-hits="0" data-linenumber="52">
7139
+
7062
7140
 
7063
7141
  <code class="ruby"> pair = []</code>
7064
7142
  </li>
7065
7143
 
7066
- <li class="covered" data-hits="1" data-linenumber="53">
7067
- <span class="hits">1</span>
7144
+ <li class="missed" data-hits="0" data-linenumber="53">
7145
+
7068
7146
 
7069
7147
  <code class="ruby"> hash = Hash.new do |h,k|</code>
7070
7148
  </li>
7071
7149
 
7072
- <li class="covered" data-hits="4" data-linenumber="54">
7073
- <span class="hits">4</span>
7150
+ <li class="missed" data-hits="0" data-linenumber="54">
7151
+
7074
7152
 
7075
7153
  <code class="ruby"> h[k] = []</code>
7076
7154
  </li>
@@ -7081,14 +7159,14 @@
7081
7159
  <code class="ruby"> end</code>
7082
7160
  </li>
7083
7161
 
7084
- <li class="covered" data-hits="1" data-linenumber="56">
7085
- <span class="hits">1</span>
7162
+ <li class="missed" data-hits="0" data-linenumber="56">
7163
+
7086
7164
 
7087
7165
  <code class="ruby"> items.each do |name, value|</code>
7088
7166
  </li>
7089
7167
 
7090
- <li class="covered" data-hits="20" data-linenumber="57">
7091
- <span class="hits">20</span>
7168
+ <li class="missed" data-hits="0" data-linenumber="57">
7169
+
7092
7170
 
7093
7171
  <code class="ruby"> case name</code>
7094
7172
  </li>
@@ -7099,8 +7177,8 @@
7099
7177
  <code class="ruby"> when &quot;name&quot;</code>
7100
7178
  </li>
7101
7179
 
7102
- <li class="covered" data-hits="4" data-linenumber="59">
7103
- <span class="hits">4</span>
7180
+ <li class="missed" data-hits="0" data-linenumber="59">
7181
+
7104
7182
 
7105
7183
  <code class="ruby"> pair[0] = value</code>
7106
7184
  </li>
@@ -7111,8 +7189,8 @@
7111
7189
  <code class="ruby"> when &quot;value&quot;</code>
7112
7190
  </li>
7113
7191
 
7114
- <li class="covered" data-hits="4" data-linenumber="61">
7115
- <span class="hits">4</span>
7192
+ <li class="missed" data-hits="0" data-linenumber="61">
7193
+
7116
7194
 
7117
7195
  <code class="ruby"> pair[1] = value</code>
7118
7196
  </li>
@@ -7123,14 +7201,14 @@
7123
7201
  <code class="ruby"> when &quot;trust&quot;</code>
7124
7202
  </li>
7125
7203
 
7126
- <li class="covered" data-hits="4" data-linenumber="63">
7127
- <span class="hits">4</span>
7204
+ <li class="missed" data-hits="0" data-linenumber="63">
7205
+
7128
7206
 
7129
7207
  <code class="ruby"> if value == &quot;trusted&quot;</code>
7130
7208
  </li>
7131
7209
 
7132
- <li class="covered" data-hits="4" data-linenumber="64">
7133
- <span class="hits">4</span>
7210
+ <li class="missed" data-hits="0" data-linenumber="64">
7211
+
7134
7212
 
7135
7213
  <code class="ruby"> hash[pair[0]] &lt;&lt; pair[1]</code>
7136
7214
  </li>
@@ -7141,8 +7219,8 @@
7141
7219
  <code class="ruby"> end</code>
7142
7220
  </li>
7143
7221
 
7144
- <li class="covered" data-hits="4" data-linenumber="66">
7145
- <span class="hits">4</span>
7222
+ <li class="missed" data-hits="0" data-linenumber="66">
7223
+
7146
7224
 
7147
7225
  <code class="ruby"> pair = []</code>
7148
7226
  </li>
@@ -7159,8 +7237,8 @@
7159
7237
  <code class="ruby"> end</code>
7160
7238
  </li>
7161
7239
 
7162
- <li class="covered" data-hits="1" data-linenumber="69">
7163
- <span class="hits">1</span>
7240
+ <li class="missed" data-hits="0" data-linenumber="69">
7241
+
7164
7242
 
7165
7243
  <code class="ruby"> hash</code>
7166
7244
  </li>
@@ -7183,8 +7261,8 @@
7183
7261
  <code class="ruby"> def base_revision</code>
7184
7262
  </li>
7185
7263
 
7186
- <li class="covered" data-hits="1" data-linenumber="73">
7187
- <span class="hits">1</span>
7264
+ <li class="missed" data-hits="0" data-linenumber="73">
7265
+
7188
7266
 
7189
7267
  <code class="ruby"> mtn_automate(&quot;get_base_revision_id&quot;).chomp</code>
7190
7268
  </li>
@@ -7207,26 +7285,26 @@
7207
7285
  <code class="ruby"> def guess_branch</code>
7208
7286
  </li>
7209
7287
 
7210
- <li class="covered" data-hits="1" data-linenumber="77">
7211
- <span class="hits">1</span>
7288
+ <li class="missed" data-hits="0" data-linenumber="77">
7289
+
7212
7290
 
7213
7291
  <code class="ruby"> puts &quot;Guessing branch - configure Monotone &gt; branch&quot;</code>
7214
7292
  </li>
7215
7293
 
7216
- <li class="covered" data-hits="1" data-linenumber="78">
7217
- <span class="hits">1</span>
7294
+ <li class="missed" data-hits="0" data-linenumber="78">
7295
+
7218
7296
 
7219
7297
  <code class="ruby"> certs = parse_certs(mtn_automate(&quot;certs&quot;, base_revision))</code>
7220
7298
  </li>
7221
7299
 
7222
- <li class="covered" data-hits="1" data-linenumber="79">
7223
- <span class="hits">1</span>
7300
+ <li class="missed" data-hits="0" data-linenumber="79">
7301
+
7224
7302
 
7225
7303
  <code class="ruby"> puts &quot; Guessed: #{certs[&quot;branch&quot;].first}&quot;</code>
7226
7304
  </li>
7227
7305
 
7228
- <li class="covered" data-hits="1" data-linenumber="80">
7229
- <span class="hits">1</span>
7306
+ <li class="missed" data-hits="0" data-linenumber="80">
7307
+
7230
7308
 
7231
7309
  <code class="ruby"> certs[&quot;branch&quot;].first</code>
7232
7310
  </li>
@@ -7339,8 +7417,8 @@
7339
7417
  <code class="ruby"> def define</code>
7340
7418
  </li>
7341
7419
 
7342
- <li class="covered" data-hits="1" data-linenumber="99">
7343
- <span class="hits">1</span>
7420
+ <li class="missed" data-hits="0" data-linenumber="99">
7421
+
7344
7422
 
7345
7423
  <code class="ruby"> super</code>
7346
7424
  </li>
@@ -7351,14 +7429,14 @@
7351
7429
  <code class="ruby"></code>
7352
7430
  </li>
7353
7431
 
7354
- <li class="covered" data-hits="1" data-linenumber="101">
7355
- <span class="hits">1</span>
7432
+ <li class="missed" data-hits="0" data-linenumber="101">
7433
+
7356
7434
 
7357
7435
  <code class="ruby"> in_namespace do</code>
7358
7436
  </li>
7359
7437
 
7360
- <li class="covered" data-hits="1" data-linenumber="102">
7361
- <span class="hits">1</span>
7438
+ <li class="missed" data-hits="0" data-linenumber="102">
7439
+
7362
7440
 
7363
7441
  <code class="ruby"> task :on_branch do</code>
7364
7442
  </li>
@@ -7399,8 +7477,8 @@
7399
7477
  <code class="ruby"></code>
7400
7478
  </li>
7401
7479
 
7402
- <li class="covered" data-hits="1" data-linenumber="109">
7403
- <span class="hits">1</span>
7480
+ <li class="missed" data-hits="0" data-linenumber="109">
7481
+
7404
7482
 
7405
7483
  <code class="ruby"> task :not_tagged do</code>
7406
7484
  </li>
@@ -7447,8 +7525,8 @@
7447
7525
  <code class="ruby"></code>
7448
7526
  </li>
7449
7527
 
7450
- <li class="covered" data-hits="1" data-linenumber="117">
7451
- <span class="hits">1</span>
7528
+ <li class="missed" data-hits="0" data-linenumber="117">
7529
+
7452
7530
 
7453
7531
  <code class="ruby"> task :workspace_committed =&gt; :on_branch do</code>
7454
7532
  </li>
@@ -7495,8 +7573,8 @@
7495
7573
  <code class="ruby"></code>
7496
7574
  </li>
7497
7575
 
7498
- <li class="covered" data-hits="1" data-linenumber="125">
7499
- <span class="hits">1</span>
7576
+ <li class="missed" data-hits="0" data-linenumber="125">
7577
+
7500
7578
 
7501
7579
  <code class="ruby"> task :gemspec_files_added =&gt; :on_branch do</code>
7502
7580
  </li>
@@ -7579,8 +7657,8 @@
7579
7657
  <code class="ruby"></code>
7580
7658
  </li>
7581
7659
 
7582
- <li class="covered" data-hits="1" data-linenumber="139">
7583
- <span class="hits">1</span>
7660
+ <li class="missed" data-hits="0" data-linenumber="139">
7661
+
7584
7662
 
7585
7663
  <code class="ruby"> task :tag =&gt; :on_branch do</code>
7586
7664
  </li>
@@ -7603,8 +7681,8 @@
7603
7681
  <code class="ruby"></code>
7604
7682
  </li>
7605
7683
 
7606
- <li class="covered" data-hits="1" data-linenumber="143">
7607
- <span class="hits">1</span>
7684
+ <li class="missed" data-hits="0" data-linenumber="143">
7685
+
7608
7686
 
7609
7687
  <code class="ruby"> task :sync do</code>
7610
7688
  </li>
@@ -7627,8 +7705,8 @@
7627
7705
  <code class="ruby"></code>
7628
7706
  </li>
7629
7707
 
7630
- <li class="covered" data-hits="1" data-linenumber="147">
7631
- <span class="hits">1</span>
7708
+ <li class="missed" data-hits="0" data-linenumber="147">
7709
+
7632
7710
 
7633
7711
  <code class="ruby"> task :check_in =&gt; [:sync]</code>
7634
7712
  </li>
@@ -7664,11 +7742,11 @@
7664
7742
  <div class="source_table" id="9d13ea03f71360ec15ccbdb366278310681347de">
7665
7743
  <div class="header">
7666
7744
  <h3>lib/corundum/yardoc.rb</h3>
7667
- <h4><span class="green">94.44 %</span> covered</h4>
7745
+ <h4><span class="green">93.62 %</span> covered</h4>
7668
7746
  <div>
7669
- <b>36</b> relevant lines.
7670
- <span class="green"><b>34</b> lines covered</span> and
7671
- <span class="red"><b>2</b> lines missed.</span>
7747
+ <b>47</b> relevant lines.
7748
+ <span class="green"><b>44</b> lines covered</span> and
7749
+ <span class="red"><b>3</b> lines missed.</span>
7672
7750
  </div>
7673
7751
  </div>
7674
7752
 
@@ -7702,73 +7780,73 @@
7702
7780
  <li class="covered" data-hits="1" data-linenumber="5">
7703
7781
  <span class="hits">1</span>
7704
7782
 
7705
- <code class="ruby"> class YARDoc &lt; TaskLib</code>
7783
+ <code class="ruby"> class DocumentationTask &lt; TaskLib</code>
7706
7784
  </li>
7707
7785
 
7708
7786
  <li class="covered" data-hits="1" data-linenumber="6">
7709
7787
  <span class="hits">1</span>
7710
7788
 
7711
- <code class="ruby"> default_namespace :documentation</code>
7789
+ <code class="ruby"> setting :entry_point</code>
7712
7790
  </li>
7713
7791
 
7714
- <li class="never" data-hits="" data-linenumber="7">
7715
-
7792
+ <li class="covered" data-hits="1" data-linenumber="7">
7793
+ <span class="hits">1</span>
7716
7794
 
7717
- <code class="ruby"></code>
7795
+ <code class="ruby"> setting :target_dir</code>
7718
7796
  </li>
7719
7797
 
7720
7798
  <li class="covered" data-hits="1" data-linenumber="8">
7721
7799
  <span class="hits">1</span>
7722
7800
 
7723
- <code class="ruby"> setting :gemspec</code>
7801
+ <code class="ruby"> setting :browser</code>
7724
7802
  </li>
7725
7803
 
7726
- <li class="covered" data-hits="1" data-linenumber="9">
7727
- <span class="hits">1</span>
7804
+ <li class="never" data-hits="" data-linenumber="9">
7728
7805
 
7729
- <code class="ruby"> setting :options, nil</code>
7806
+
7807
+ <code class="ruby"></code>
7730
7808
  </li>
7731
7809
 
7732
7810
  <li class="covered" data-hits="1" data-linenumber="10">
7733
7811
  <span class="hits">1</span>
7734
7812
 
7735
- <code class="ruby"> setting :browser</code>
7813
+ <code class="ruby"> def default_configuration(toolkit)</code>
7736
7814
  </li>
7737
7815
 
7738
7816
  <li class="covered" data-hits="1" data-linenumber="11">
7739
7817
  <span class="hits">1</span>
7740
7818
 
7741
- <code class="ruby"> setting :yardoc_index, nil</code>
7819
+ <code class="ruby"> self.browser = toolkit.browser</code>
7742
7820
  </li>
7743
7821
 
7744
7822
  <li class="never" data-hits="" data-linenumber="12">
7745
7823
 
7746
7824
 
7747
- <code class="ruby"></code>
7825
+ <code class="ruby"> end</code>
7748
7826
  </li>
7749
7827
 
7750
- <li class="covered" data-hits="1" data-linenumber="13">
7751
- <span class="hits">1</span>
7828
+ <li class="never" data-hits="" data-linenumber="13">
7752
7829
 
7753
- <code class="ruby"> setting(:target_dir, &quot;yardoc&quot;)</code>
7830
+
7831
+ <code class="ruby"></code>
7754
7832
  </li>
7755
7833
 
7756
7834
  <li class="covered" data-hits="1" data-linenumber="14">
7757
7835
  <span class="hits">1</span>
7758
7836
 
7759
- <code class="ruby"> setting(:readme, nil)</code>
7837
+ <code class="ruby"> def resolve_configuration</code>
7760
7838
  </li>
7761
7839
 
7762
- <li class="covered" data-hits="1" data-linenumber="15">
7763
- <span class="hits">1</span>
7840
+ <li class="missed" data-hits="0" data-linenumber="15">
7764
7841
 
7765
- <code class="ruby"> setting(:files, nested(:code =&gt; [], :docs =&gt; []))</code>
7842
+
7843
+ <code class="ruby"> self.entry_point ||= File::join(target_dir, &quot;index.html&quot;)</code>
7766
7844
  </li>
7767
7845
 
7768
- <li class="covered" data-hits="1" data-linenumber="16">
7769
- <span class="hits">1</span>
7846
+ <li class="never" data-hits="" data-linenumber="16">
7770
7847
 
7771
- <code class="ruby"> setting(:extra_files, [])</code>
7848
+
7849
+ <code class="ruby"> end</code>
7772
7850
  </li>
7773
7851
 
7774
7852
  <li class="never" data-hits="" data-linenumber="17">
@@ -7780,103 +7858,103 @@
7780
7858
  <li class="covered" data-hits="1" data-linenumber="18">
7781
7859
  <span class="hits">1</span>
7782
7860
 
7783
- <code class="ruby"> def default_configuration(toolkit)</code>
7861
+ <code class="ruby"> def define</code>
7784
7862
  </li>
7785
7863
 
7786
7864
  <li class="covered" data-hits="1" data-linenumber="19">
7787
7865
  <span class="hits">1</span>
7788
7866
 
7789
- <code class="ruby"> self.gemspec = toolkit.gemspec</code>
7867
+ <code class="ruby"> directory target_dir</code>
7790
7868
  </li>
7791
7869
 
7792
- <li class="covered" data-hits="1" data-linenumber="20">
7793
- <span class="hits">1</span>
7870
+ <li class="never" data-hits="" data-linenumber="20">
7794
7871
 
7795
- <code class="ruby"> toolkit.files.copy_settings_to(self.files)</code>
7872
+
7873
+ <code class="ruby"></code>
7796
7874
  </li>
7797
7875
 
7798
7876
  <li class="covered" data-hits="1" data-linenumber="21">
7799
7877
  <span class="hits">1</span>
7800
7878
 
7801
- <code class="ruby"> self.files.docs = []</code>
7879
+ <code class="ruby"> in_namespace do</code>
7802
7880
  </li>
7803
7881
 
7804
7882
  <li class="covered" data-hits="1" data-linenumber="22">
7805
7883
  <span class="hits">1</span>
7806
7884
 
7807
- <code class="ruby"> self.browser = toolkit.browser</code>
7885
+ <code class="ruby"> desc &quot;Open up a browser to view your documentation&quot;</code>
7808
7886
  </li>
7809
7887
 
7810
- <li class="never" data-hits="" data-linenumber="23">
7811
-
7888
+ <li class="covered" data-hits="1" data-linenumber="23">
7889
+ <span class="hits">1</span>
7812
7890
 
7813
- <code class="ruby"> end</code>
7891
+ <code class="ruby"> BrowserTask.new(self) do |t|</code>
7814
7892
  </li>
7815
7893
 
7816
- <li class="never" data-hits="" data-linenumber="24">
7817
-
7894
+ <li class="covered" data-hits="1" data-linenumber="24">
7895
+ <span class="hits">1</span>
7818
7896
 
7819
- <code class="ruby"></code>
7897
+ <code class="ruby"> t.index_html = entry_point</code>
7820
7898
  </li>
7821
7899
 
7822
- <li class="covered" data-hits="1" data-linenumber="25">
7823
- <span class="hits">1</span>
7900
+ <li class="never" data-hits="" data-linenumber="25">
7824
7901
 
7825
- <code class="ruby"> def resolve_configuration</code>
7902
+
7903
+ <code class="ruby"> end</code>
7826
7904
  </li>
7827
7905
 
7828
- <li class="covered" data-hits="1" data-linenumber="26">
7829
- <span class="hits">1</span>
7906
+ <li class="never" data-hits="" data-linenumber="26">
7830
7907
 
7831
- <code class="ruby"> self.options ||= gemspec.rdoc_options</code>
7908
+
7909
+ <code class="ruby"> end</code>
7832
7910
  </li>
7833
7911
 
7834
- <li class="covered" data-hits="1" data-linenumber="27">
7835
- <span class="hits">1</span>
7912
+ <li class="never" data-hits="" data-linenumber="27">
7836
7913
 
7837
- <code class="ruby"> self.options += [ &quot;--output-dir&quot;, target_dir]</code>
7914
+
7915
+ <code class="ruby"></code>
7838
7916
  </li>
7839
7917
 
7840
7918
  <li class="covered" data-hits="1" data-linenumber="28">
7841
7919
  <span class="hits">1</span>
7842
7920
 
7843
- <code class="ruby"> self.options += [ &quot;--readme&quot;, readme ] if readme</code>
7921
+ <code class="ruby"> desc &quot;Generate documentation based on code using YARD&quot;</code>
7844
7922
  </li>
7845
7923
 
7846
7924
  <li class="covered" data-hits="1" data-linenumber="29">
7847
7925
  <span class="hits">1</span>
7848
7926
 
7849
- <code class="ruby"> self.options += files.code</code>
7927
+ <code class="ruby"> task root_task =&gt; entry_point</code>
7850
7928
  </li>
7851
7929
 
7852
- <li class="covered" data-hits="1" data-linenumber="30">
7853
- <span class="hits">1</span>
7930
+ <li class="never" data-hits="" data-linenumber="30">
7854
7931
 
7855
- <code class="ruby"> unless files.docs.empty? and extra_files.empty?</code>
7932
+
7933
+ <code class="ruby"> end</code>
7856
7934
  </li>
7857
7935
 
7858
- <li class="missed" data-hits="0" data-linenumber="31">
7936
+ <li class="never" data-hits="" data-linenumber="31">
7859
7937
 
7860
7938
 
7861
- <code class="ruby"> self.options += [ &quot;-&quot; ] + files.docs + extra_files</code>
7939
+ <code class="ruby"> end</code>
7862
7940
  </li>
7863
7941
 
7864
7942
  <li class="never" data-hits="" data-linenumber="32">
7865
7943
 
7866
7944
 
7867
- <code class="ruby"> end</code>
7945
+ <code class="ruby"></code>
7868
7946
  </li>
7869
7947
 
7870
7948
  <li class="covered" data-hits="1" data-linenumber="33">
7871
7949
  <span class="hits">1</span>
7872
7950
 
7873
- <code class="ruby"> self.yardoc_index ||= File::join(target_dir, &quot;index.html&quot;)</code>
7951
+ <code class="ruby"> class YARDoc &lt; DocumentationTask</code>
7874
7952
  </li>
7875
7953
 
7876
- <li class="never" data-hits="" data-linenumber="34">
7877
-
7954
+ <li class="covered" data-hits="1" data-linenumber="34">
7955
+ <span class="hits">1</span>
7878
7956
 
7879
- <code class="ruby"> end</code>
7957
+ <code class="ruby"> default_namespace :yardoc</code>
7880
7958
  </li>
7881
7959
 
7882
7960
  <li class="never" data-hits="" data-linenumber="35">
@@ -7888,118 +7966,244 @@
7888
7966
  <li class="covered" data-hits="1" data-linenumber="36">
7889
7967
  <span class="hits">1</span>
7890
7968
 
7891
- <code class="ruby"> def define</code>
7969
+ <code class="ruby"> setting :gemspec</code>
7892
7970
  </li>
7893
7971
 
7894
7972
  <li class="covered" data-hits="1" data-linenumber="37">
7895
7973
  <span class="hits">1</span>
7896
7974
 
7897
- <code class="ruby"> directory target_dir</code>
7975
+ <code class="ruby"> setting :options, nil</code>
7898
7976
  </li>
7899
7977
 
7900
- <li class="never" data-hits="" data-linenumber="38">
7978
+ <li class="covered" data-hits="1" data-linenumber="38">
7979
+ <span class="hits">1</span>
7980
+
7981
+ <code class="ruby"> setting :entry_point, nil</code>
7982
+ </li>
7983
+
7984
+ <li class="never" data-hits="" data-linenumber="39">
7901
7985
 
7902
7986
 
7903
7987
  <code class="ruby"></code>
7904
7988
  </li>
7905
7989
 
7906
- <li class="covered" data-hits="1" data-linenumber="39">
7990
+ <li class="covered" data-hits="1" data-linenumber="40">
7907
7991
  <span class="hits">1</span>
7908
7992
 
7909
- <code class="ruby"> in_namespace do</code>
7993
+ <code class="ruby"> setting(:target_dir, &quot;yardoc&quot;)</code>
7910
7994
  </li>
7911
7995
 
7912
- <li class="never" data-hits="" data-linenumber="40">
7996
+ <li class="covered" data-hits="1" data-linenumber="41">
7997
+ <span class="hits">1</span>
7913
7998
 
7999
+ <code class="ruby"> setting(:readme, nil)</code>
8000
+ </li>
8001
+
8002
+ <li class="covered" data-hits="1" data-linenumber="42">
8003
+ <span class="hits">1</span>
7914
8004
 
7915
- <code class="ruby"> file yardoc_index =&gt;</code>
8005
+ <code class="ruby"> setting(:files, nested(:code =&gt; [], :docs =&gt; []))</code>
7916
8006
  </li>
7917
8007
 
7918
- <li class="covered" data-hits="1" data-linenumber="41">
8008
+ <li class="covered" data-hits="1" data-linenumber="43">
7919
8009
  <span class="hits">1</span>
7920
8010
 
7921
- <code class="ruby"> FileList[&quot;README*&quot;] + files.code + files.docs + extra_files do</code>
8011
+ <code class="ruby"> setting(:extra_files, [])</code>
7922
8012
  </li>
7923
8013
 
7924
- <li class="missed" data-hits="0" data-linenumber="42">
8014
+ <li class="never" data-hits="" data-linenumber="44">
7925
8015
 
7926
8016
 
7927
- <code class="ruby"> YARD::CLI::Yardoc.run( *(options) )</code>
8017
+ <code class="ruby"></code>
7928
8018
  </li>
7929
8019
 
7930
- <li class="never" data-hits="" data-linenumber="43">
8020
+ <li class="covered" data-hits="1" data-linenumber="45">
8021
+ <span class="hits">1</span>
7931
8022
 
8023
+ <code class="ruby"> def document_inputs</code>
8024
+ </li>
8025
+
8026
+ <li class="covered" data-hits="1" data-linenumber="46">
8027
+ <span class="hits">1</span>
7932
8028
 
7933
- <code class="ruby"> end</code>
8029
+ <code class="ruby"> FileList[&quot;README*&quot;] + files.code + files.docs + extra_files</code>
7934
8030
  </li>
7935
8031
 
7936
- <li class="never" data-hits="" data-linenumber="44">
8032
+ <li class="never" data-hits="" data-linenumber="47">
8033
+
8034
+
8035
+ <code class="ruby"> end</code>
8036
+ </li>
8037
+
8038
+ <li class="never" data-hits="" data-linenumber="48">
7937
8039
 
7938
8040
 
7939
8041
  <code class="ruby"></code>
7940
8042
  </li>
7941
8043
 
7942
- <li class="covered" data-hits="1" data-linenumber="45">
8044
+ <li class="covered" data-hits="1" data-linenumber="49">
7943
8045
  <span class="hits">1</span>
7944
8046
 
7945
- <code class="ruby"> desc &quot;Open up a browser to view your documentation&quot;</code>
8047
+ <code class="ruby"> def default_configuration(toolkit)</code>
7946
8048
  </li>
7947
8049
 
7948
- <li class="covered" data-hits="1" data-linenumber="46">
8050
+ <li class="covered" data-hits="1" data-linenumber="50">
7949
8051
  <span class="hits">1</span>
7950
8052
 
7951
- <code class="ruby"> BrowserTask.new(self) do |t|</code>
8053
+ <code class="ruby"> super</code>
7952
8054
  </li>
7953
8055
 
7954
- <li class="covered" data-hits="1" data-linenumber="47">
8056
+ <li class="covered" data-hits="1" data-linenumber="51">
7955
8057
  <span class="hits">1</span>
7956
8058
 
7957
- <code class="ruby"> t.index_html = yardoc_index</code>
8059
+ <code class="ruby"> self.gemspec = toolkit.gemspec</code>
7958
8060
  </li>
7959
8061
 
7960
- <li class="never" data-hits="" data-linenumber="48">
8062
+ <li class="covered" data-hits="1" data-linenumber="52">
8063
+ <span class="hits">1</span>
8064
+
8065
+ <code class="ruby"> toolkit.files.copy_settings_to(self.files)</code>
8066
+ </li>
8067
+
8068
+ <li class="covered" data-hits="1" data-linenumber="53">
8069
+ <span class="hits">1</span>
8070
+
8071
+ <code class="ruby"> self.files.docs = []</code>
8072
+ </li>
8073
+
8074
+ <li class="never" data-hits="" data-linenumber="54">
7961
8075
 
7962
8076
 
7963
- <code class="ruby"> end</code>
8077
+ <code class="ruby"> end</code>
7964
8078
  </li>
7965
8079
 
7966
- <li class="never" data-hits="" data-linenumber="49">
8080
+ <li class="never" data-hits="" data-linenumber="55">
8081
+
8082
+
8083
+ <code class="ruby"></code>
8084
+ </li>
8085
+
8086
+ <li class="covered" data-hits="1" data-linenumber="56">
8087
+ <span class="hits">1</span>
8088
+
8089
+ <code class="ruby"> def resolve_configuration</code>
8090
+ </li>
8091
+
8092
+ <li class="covered" data-hits="1" data-linenumber="57">
8093
+ <span class="hits">1</span>
8094
+
8095
+ <code class="ruby"> self.options ||= gemspec.rdoc_options</code>
8096
+ </li>
8097
+
8098
+ <li class="covered" data-hits="1" data-linenumber="58">
8099
+ <span class="hits">1</span>
8100
+
8101
+ <code class="ruby"> self.options += [ &quot;--output-dir&quot;, target_dir]</code>
8102
+ </li>
8103
+
8104
+ <li class="covered" data-hits="1" data-linenumber="59">
8105
+ <span class="hits">1</span>
8106
+
8107
+ <code class="ruby"> self.options += [ &quot;--readme&quot;, readme ] if readme</code>
8108
+ </li>
8109
+
8110
+ <li class="covered" data-hits="1" data-linenumber="60">
8111
+ <span class="hits">1</span>
8112
+
8113
+ <code class="ruby"> self.options += files.code</code>
8114
+ </li>
8115
+
8116
+ <li class="covered" data-hits="1" data-linenumber="61">
8117
+ <span class="hits">1</span>
8118
+
8119
+ <code class="ruby"> unless files.docs.empty? and extra_files.empty?</code>
8120
+ </li>
8121
+
8122
+ <li class="missed" data-hits="0" data-linenumber="62">
8123
+
8124
+
8125
+ <code class="ruby"> self.options += [ &quot;-&quot; ] + files.docs + extra_files</code>
8126
+ </li>
8127
+
8128
+ <li class="never" data-hits="" data-linenumber="63">
7967
8129
 
7968
8130
 
7969
8131
  <code class="ruby"> end</code>
7970
8132
  </li>
7971
8133
 
7972
- <li class="never" data-hits="" data-linenumber="50">
8134
+ <li class="never" data-hits="" data-linenumber="64">
8135
+
8136
+
8137
+ <code class="ruby"> end</code>
8138
+ </li>
8139
+
8140
+ <li class="never" data-hits="" data-linenumber="65">
7973
8141
 
7974
8142
 
7975
8143
  <code class="ruby"></code>
7976
8144
  </li>
7977
8145
 
7978
- <li class="covered" data-hits="1" data-linenumber="51">
8146
+ <li class="covered" data-hits="1" data-linenumber="66">
7979
8147
  <span class="hits">1</span>
7980
8148
 
7981
- <code class="ruby"> desc &quot;Generate documentation based on code using YARD&quot;</code>
8149
+ <code class="ruby"> def define</code>
7982
8150
  </li>
7983
8151
 
7984
- <li class="covered" data-hits="1" data-linenumber="52">
8152
+ <li class="covered" data-hits="1" data-linenumber="67">
7985
8153
  <span class="hits">1</span>
7986
8154
 
7987
- <code class="ruby"> task root_task =&gt; yardoc_index</code>
8155
+ <code class="ruby"> in_namespace do</code>
7988
8156
  </li>
7989
8157
 
7990
- <li class="never" data-hits="" data-linenumber="53">
8158
+ <li class="covered" data-hits="1" data-linenumber="68">
8159
+ <span class="hits">1</span>
8160
+
8161
+ <code class="ruby"> file entry_point =&gt; document_inputs do</code>
8162
+ </li>
8163
+
8164
+ <li class="missed" data-hits="0" data-linenumber="69">
8165
+
8166
+
8167
+ <code class="ruby"> YARD::CLI::Yardoc.run( *(options) )</code>
8168
+ </li>
8169
+
8170
+ <li class="never" data-hits="" data-linenumber="70">
8171
+
8172
+
8173
+ <code class="ruby"> end</code>
8174
+ </li>
8175
+
8176
+ <li class="never" data-hits="" data-linenumber="71">
8177
+
8178
+
8179
+ <code class="ruby"> end</code>
8180
+ </li>
8181
+
8182
+ <li class="never" data-hits="" data-linenumber="72">
8183
+
8184
+
8185
+ <code class="ruby"></code>
8186
+ </li>
8187
+
8188
+ <li class="covered" data-hits="1" data-linenumber="73">
8189
+ <span class="hits">1</span>
8190
+
8191
+ <code class="ruby"> super</code>
8192
+ </li>
8193
+
8194
+ <li class="never" data-hits="" data-linenumber="74">
7991
8195
 
7992
8196
 
7993
8197
  <code class="ruby"> end</code>
7994
8198
  </li>
7995
8199
 
7996
- <li class="never" data-hits="" data-linenumber="54">
8200
+ <li class="never" data-hits="" data-linenumber="75">
7997
8201
 
7998
8202
 
7999
8203
  <code class="ruby"> end</code>
8000
8204
  </li>
8001
8205
 
8002
- <li class="never" data-hits="" data-linenumber="55">
8206
+ <li class="never" data-hits="" data-linenumber="76">
8003
8207
 
8004
8208
 
8005
8209
  <code class="ruby">end</code>