corundum 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,5 +2,5 @@
2
2
  A fairly complete Rakefile
3
3
  should have some tasks
4
4
 
5
- Finished in 0.49438 seconds
5
+ Finished in 0.50599 seconds
6
6
  1 example, 0 failures
@@ -23,14 +23,14 @@
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="2011-12-13T15:53:06-08:00">2011-12-13T15:53:06-08:00</abbr></div>
26
+ <div class="timestamp">Generated <abbr class="timeago" title="2011-12-29T18:24:49-08:00">2011-12-29T18:24:49-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.82%</span></span>
33
+ (<span class="covered_percent"><span class="red">59.64%</span></span>
34
34
  covered at
35
35
  <span class="covered_strength">
36
36
  <span class="green">
@@ -41,8 +41,8 @@
41
41
  <a name="AllFiles"></a>
42
42
  <div>
43
43
  <b>15</b> files in total.
44
- <b>667</b> relevant lines.
45
- <span class="green"><b>399</b> lines covered</span> and
44
+ <b>664</b> relevant lines.
45
+ <span class="green"><b>396</b> lines covered</span> and
46
46
  <span class="red"><b>268</b> lines missed </span>
47
47
  </div>
48
48
  <table class="file_list">
@@ -61,10 +61,10 @@
61
61
 
62
62
  <tr>
63
63
  <td class="strong"><a href="#40b1a87f29241930a6c0500cd72ea10da2241237" class="src_link" title="lib/corundum.rb">lib/corundum.rb</a></td>
64
- <td class="yellow strong">80.65 %</td>
65
- <td>126</td>
66
- <td>62</td>
67
- <td>50</td>
64
+ <td class="red strong">79.66 %</td>
65
+ <td>123</td>
66
+ <td>59</td>
67
+ <td>47</td>
68
68
  <td>12</td>
69
69
  <td>0.8</td>
70
70
  </tr>
@@ -192,7 +192,7 @@
192
192
  <tr>
193
193
  <td class="strong"><a href="#58abe8fc8bf9e6883cd935a00513d6746935b12c" class="src_link" title="lib/corundum/version_control/monotone.rb">lib/corundum/version_control/monotone.rb</a></td>
194
194
  <td class="red strong">68.04 %</td>
195
- <td>156</td>
195
+ <td>159</td>
196
196
  <td>97</td>
197
197
  <td>66</td>
198
198
  <td>31</td>
@@ -228,10 +228,10 @@
228
228
  <div class="source_table" id="40b1a87f29241930a6c0500cd72ea10da2241237">
229
229
  <div class="header">
230
230
  <h3>lib/corundum.rb</h3>
231
- <h4><span class="yellow">80.65 %</span> covered</h4>
231
+ <h4><span class="red">79.66 %</span> covered</h4>
232
232
  <div>
233
- <b>62</b> relevant lines.
234
- <span class="green"><b>50</b> lines covered</span> and
233
+ <b>59</b> relevant lines.
234
+ <span class="green"><b>47</b> lines covered</span> and
235
235
  <span class="red"><b>12</b> lines missed.</span>
236
236
  </div>
237
237
  </div>
@@ -410,25 +410,25 @@
410
410
  <li class="never" data-hits="" data-linenumber="29">
411
411
 
412
412
 
413
- <code class="ruby"> :file_lists =&gt; nested(:code =&gt; nil,</code>
413
+ <code class="ruby"> :file_lists =&gt; nested(:code =&gt; FileList['lib/**/*.rb'],</code>
414
414
  </li>
415
415
 
416
416
  <li class="never" data-hits="" data-linenumber="30">
417
417
 
418
418
 
419
- <code class="ruby"> :test =&gt; nil,</code>
419
+ <code class="ruby"> :test =&gt; FileList['test/**/*.rb','spec/**/*.rb','features/**/*.rb'],</code>
420
420
  </li>
421
421
 
422
422
  <li class="never" data-hits="" data-linenumber="31">
423
423
 
424
424
 
425
- <code class="ruby"> :docs =&gt; nil,</code>
425
+ <code class="ruby"> :docs =&gt; FileList['doc/**/*.rb'],</code>
426
426
  </li>
427
427
 
428
428
  <li class="never" data-hits="" data-linenumber="32">
429
429
 
430
430
 
431
- <code class="ruby"> :project =&gt; nil,</code>
431
+ <code class="ruby"> :project =&gt; FileList['Rakefile'],</code>
432
432
  </li>
433
433
 
434
434
  <li class="never" data-hits="" data-linenumber="33">
@@ -590,406 +590,388 @@
590
590
  <li class="covered" data-hits="1" data-linenumber="59">
591
591
  <span class="hits">1</span>
592
592
 
593
- <code class="ruby"> @file_lists.code ||= FileList['lib/**/*.rb']</code>
593
+ <code class="ruby"> @file_lists.project &lt;&lt; gemspec_path</code>
594
594
  </li>
595
595
 
596
596
  <li class="covered" data-hits="1" data-linenumber="60">
597
597
  <span class="hits">1</span>
598
598
 
599
- <code class="ruby"> @file_lists.test ||= FileList['test/**/*.rb','spec/**/*.rb','features/**/*.rb']</code>
600
- </li>
601
-
602
- <li class="covered" data-hits="1" data-linenumber="61">
603
- <span class="hits">1</span>
604
-
605
- <code class="ruby"> @file_lists.docs ||= FileList['doc/**/*.rb']</code>
606
- </li>
607
-
608
- <li class="covered" data-hits="1" data-linenumber="62">
609
- <span class="hits">1</span>
610
-
611
- <code class="ruby"> @file_lists.project ||= FileList['Rakefile', gemspec_path]</code>
612
- </li>
613
-
614
- <li class="covered" data-hits="1" data-linenumber="63">
615
- <span class="hits">1</span>
616
-
617
599
  <code class="ruby"> @file_lists.all ||=</code>
618
600
  </li>
619
601
 
620
- <li class="never" data-hits="" data-linenumber="64">
602
+ <li class="never" data-hits="" data-linenumber="61">
621
603
 
622
604
 
623
605
  <code class="ruby"> file_lists.code +</code>
624
606
  </li>
625
607
 
626
- <li class="never" data-hits="" data-linenumber="65">
608
+ <li class="never" data-hits="" data-linenumber="62">
627
609
 
628
610
 
629
611
  <code class="ruby"> file_lists.test +</code>
630
612
  </li>
631
613
 
632
- <li class="never" data-hits="" data-linenumber="66">
614
+ <li class="never" data-hits="" data-linenumber="63">
633
615
 
634
616
 
635
617
  <code class="ruby"> file_lists.docs</code>
636
618
  </li>
637
619
 
638
- <li class="never" data-hits="" data-linenumber="67">
620
+ <li class="never" data-hits="" data-linenumber="64">
639
621
 
640
622
 
641
623
  <code class="ruby"></code>
642
624
  </li>
643
625
 
644
- <li class="covered" data-hits="1" data-linenumber="68">
626
+ <li class="covered" data-hits="1" data-linenumber="65">
645
627
  <span class="hits">1</span>
646
628
 
647
629
  <code class="ruby"> @rubyforge.group_id ||= gemspec.rubyforge_project</code>
648
630
  </li>
649
631
 
650
- <li class="covered" data-hits="1" data-linenumber="69">
632
+ <li class="covered" data-hits="1" data-linenumber="66">
651
633
  <span class="hits">1</span>
652
634
 
653
635
  <code class="ruby"> @rubyforge.package_id ||= gemspec.name.downcase</code>
654
636
  </li>
655
637
 
656
- <li class="covered" data-hits="1" data-linenumber="70">
638
+ <li class="covered" data-hits="1" data-linenumber="67">
657
639
  <span class="hits">1</span>
658
640
 
659
641
  <code class="ruby"> @rubyforge.release_name ||= gemspec.full_name</code>
660
642
  </li>
661
643
 
662
- <li class="covered" data-hits="1" data-linenumber="71">
644
+ <li class="covered" data-hits="1" data-linenumber="68">
663
645
  <span class="hits">1</span>
664
646
 
665
647
  <code class="ruby"> @rubyforge.home_page ||= gemspec.homepage</code>
666
648
  </li>
667
649
 
668
- <li class="covered" data-hits="1" data-linenumber="72">
650
+ <li class="covered" data-hits="1" data-linenumber="69">
669
651
  <span class="hits">1</span>
670
652
 
671
653
  <code class="ruby"> @rubyforge.project_page ||= &quot;http://rubyforge.org/project/#{gemspec.rubyforge_project}/&quot;</code>
672
654
  </li>
673
655
 
674
- <li class="never" data-hits="" data-linenumber="73">
656
+ <li class="never" data-hits="" data-linenumber="70">
675
657
 
676
658
 
677
659
  <code class="ruby"> end</code>
678
660
  </li>
679
661
 
680
- <li class="never" data-hits="" data-linenumber="74">
662
+ <li class="never" data-hits="" data-linenumber="71">
681
663
 
682
664
 
683
665
  <code class="ruby"></code>
684
666
  </li>
685
667
 
686
- <li class="covered" data-hits="1" data-linenumber="75">
668
+ <li class="covered" data-hits="1" data-linenumber="72">
687
669
  <span class="hits">1</span>
688
670
 
689
671
  <code class="ruby"> def guess_gemspec</code>
690
672
  </li>
691
673
 
692
- <li class="covered" data-hits="1" data-linenumber="76">
674
+ <li class="covered" data-hits="1" data-linenumber="73">
693
675
  <span class="hits">1</span>
694
676
 
695
677
  <code class="ruby"> speclist = Dir[File.expand_path(&quot;*.gemspec&quot;, Rake::original_dir)]</code>
696
678
  </li>
697
679
 
698
- <li class="covered" data-hits="1" data-linenumber="77">
680
+ <li class="covered" data-hits="1" data-linenumber="74">
699
681
  <span class="hits">1</span>
700
682
 
701
683
  <code class="ruby"> if speclist.length == 0</code>
702
684
  </li>
703
685
 
704
- <li class="missed" data-hits="0" data-linenumber="78">
686
+ <li class="missed" data-hits="0" data-linenumber="75">
705
687
 
706
688
 
707
689
  <code class="ruby"> puts &quot;Found no *.gemspec files&quot;</code>
708
690
  </li>
709
691
 
710
- <li class="missed" data-hits="0" data-linenumber="79">
692
+ <li class="missed" data-hits="0" data-linenumber="76">
711
693
 
712
694
 
713
695
  <code class="ruby"> exit 1</code>
714
696
  </li>
715
697
 
716
- <li class="never" data-hits="" data-linenumber="80">
698
+ <li class="never" data-hits="" data-linenumber="77">
717
699
 
718
700
 
719
701
  <code class="ruby"> elsif speclist.length &gt; 1</code>
720
702
  </li>
721
703
 
722
- <li class="missed" data-hits="0" data-linenumber="81">
704
+ <li class="missed" data-hits="0" data-linenumber="78">
723
705
 
724
706
 
725
707
  <code class="ruby"> puts &quot;Found too many *.gemspec files: #{speclist.inspect}&quot;</code>
726
708
  </li>
727
709
 
728
- <li class="missed" data-hits="0" data-linenumber="82">
710
+ <li class="missed" data-hits="0" data-linenumber="79">
729
711
 
730
712
 
731
713
  <code class="ruby"> exit 1</code>
732
714
  </li>
733
715
 
734
- <li class="never" data-hits="" data-linenumber="83">
716
+ <li class="never" data-hits="" data-linenumber="80">
735
717
 
736
718
 
737
719
  <code class="ruby"> end</code>
738
720
  </li>
739
721
 
740
- <li class="covered" data-hits="1" data-linenumber="84">
722
+ <li class="covered" data-hits="1" data-linenumber="81">
741
723
  <span class="hits">1</span>
742
724
 
743
725
  <code class="ruby"> speclist[0]</code>
744
726
  </li>
745
727
 
746
- <li class="never" data-hits="" data-linenumber="85">
728
+ <li class="never" data-hits="" data-linenumber="82">
747
729
 
748
730
 
749
731
  <code class="ruby"> end</code>
750
732
  </li>
751
733
 
752
- <li class="never" data-hits="" data-linenumber="86">
734
+ <li class="never" data-hits="" data-linenumber="83">
753
735
 
754
736
 
755
737
  <code class="ruby"></code>
756
738
  </li>
757
739
 
758
- <li class="covered" data-hits="1" data-linenumber="87">
740
+ <li class="covered" data-hits="1" data-linenumber="84">
759
741
  <span class="hits">1</span>
760
742
 
761
743
  <code class="ruby"> def define</code>
762
744
  </li>
763
745
 
764
- <li class="covered" data-hits="1" data-linenumber="88">
746
+ <li class="covered" data-hits="1" data-linenumber="85">
765
747
  <span class="hits">1</span>
766
748
 
767
749
  <code class="ruby"> in_namespace do</code>
768
750
  </li>
769
751
 
770
- <li class="covered" data-hits="1" data-linenumber="89">
752
+ <li class="covered" data-hits="1" data-linenumber="86">
771
753
  <span class="hits">1</span>
772
754
 
773
755
  <code class="ruby"> directory finished_dir</code>
774
756
  </li>
775
757
 
776
- <li class="never" data-hits="" data-linenumber="90">
758
+ <li class="never" data-hits="" data-linenumber="87">
777
759
 
778
760
 
779
761
  <code class="ruby"></code>
780
762
  </li>
781
763
 
782
- <li class="covered" data-hits="1" data-linenumber="91">
764
+ <li class="covered" data-hits="1" data-linenumber="88">
783
765
  <span class="hits">1</span>
784
766
 
785
767
  <code class="ruby"> desc &quot;Run preflight checks&quot;</code>
786
768
  </li>
787
769
 
788
- <li class="covered" data-hits="1" data-linenumber="92">
770
+ <li class="covered" data-hits="1" data-linenumber="89">
789
771
  <span class="hits">1</span>
790
772
 
791
773
  <code class="ruby"> task :preflight</code>
792
774
  </li>
793
775
 
794
- <li class="never" data-hits="" data-linenumber="93">
776
+ <li class="never" data-hits="" data-linenumber="90">
795
777
 
796
778
 
797
779
  <code class="ruby"></code>
798
780
  </li>
799
781
 
800
- <li class="covered" data-hits="1" data-linenumber="94">
782
+ <li class="covered" data-hits="1" data-linenumber="91">
801
783
  <span class="hits">1</span>
802
784
 
803
785
  <code class="ruby"> desc &quot;Run quality assurance tasks&quot;</code>
804
786
  </li>
805
787
 
806
- <li class="covered" data-hits="1" data-linenumber="95">
788
+ <li class="covered" data-hits="1" data-linenumber="92">
807
789
  <span class="hits">1</span>
808
790
 
809
791
  <code class="ruby"> task :qa =&gt; [:preflight, finished_files.qa]</code>
810
792
  </li>
811
793
 
812
- <li class="never" data-hits="" data-linenumber="96">
794
+ <li class="never" data-hits="" data-linenumber="93">
813
795
 
814
796
 
815
797
  <code class="ruby"> file finished_files.qa =&gt;</code>
816
798
  </li>
817
799
 
818
- <li class="covered" data-hits="1" data-linenumber="97">
800
+ <li class="covered" data-hits="1" data-linenumber="94">
819
801
  <span class="hits">1</span>
820
802
 
821
803
  <code class="ruby"> [finished_dir] + file_lists.project + file_lists.code + file_lists.test do |task|</code>
822
804
  </li>
823
805
 
824
- <li class="missed" data-hits="0" data-linenumber="98">
806
+ <li class="missed" data-hits="0" data-linenumber="95">
825
807
 
826
808
 
827
809
  <code class="ruby"> Rake::Task[:qa].invoke #because I don't want this to be needed if it's not</code>
828
810
  </li>
829
811
 
830
- <li class="missed" data-hits="0" data-linenumber="99">
812
+ <li class="missed" data-hits="0" data-linenumber="96">
831
813
 
832
814
 
833
815
  <code class="ruby"> touch task.name</code>
834
816
  </li>
835
817
 
836
- <li class="never" data-hits="" data-linenumber="100">
818
+ <li class="never" data-hits="" data-linenumber="97">
837
819
 
838
820
 
839
821
  <code class="ruby"> end</code>
840
822
  </li>
841
823
 
842
- <li class="never" data-hits="" data-linenumber="101">
824
+ <li class="never" data-hits="" data-linenumber="98">
843
825
 
844
826
 
845
827
  <code class="ruby"></code>
846
828
  </li>
847
829
 
848
- <li class="covered" data-hits="1" data-linenumber="102">
830
+ <li class="covered" data-hits="1" data-linenumber="99">
849
831
  <span class="hits">1</span>
850
832
 
851
833
  <code class="ruby"> desc &quot;Build the package&quot;</code>
852
834
  </li>
853
835
 
854
- <li class="covered" data-hits="1" data-linenumber="103">
836
+ <li class="covered" data-hits="1" data-linenumber="100">
855
837
  <span class="hits">1</span>
856
838
 
857
839
  <code class="ruby"> task :build =&gt; [finished_files.qa, :preflight, finished_files.build]</code>
858
840
  </li>
859
841
 
860
- <li class="never" data-hits="" data-linenumber="104">
842
+ <li class="never" data-hits="" data-linenumber="101">
861
843
 
862
844
 
863
845
  <code class="ruby"> file finished_files.build =&gt;</code>
864
846
  </li>
865
847
 
866
- <li class="covered" data-hits="1" data-linenumber="105">
848
+ <li class="covered" data-hits="1" data-linenumber="102">
867
849
  <span class="hits">1</span>
868
850
 
869
851
  <code class="ruby"> [finished_dir] + file_lists.code + file_lists.project do |task|</code>
870
852
  </li>
871
853
 
872
- <li class="missed" data-hits="0" data-linenumber="106">
854
+ <li class="missed" data-hits="0" data-linenumber="103">
873
855
 
874
856
 
875
857
  <code class="ruby"> Rake::Task[:build].invoke</code>
876
858
  </li>
877
859
 
878
- <li class="missed" data-hits="0" data-linenumber="107">
860
+ <li class="missed" data-hits="0" data-linenumber="104">
879
861
 
880
862
 
881
863
  <code class="ruby"> touch task.name</code>
882
864
  </li>
883
865
 
884
- <li class="never" data-hits="" data-linenumber="108">
866
+ <li class="never" data-hits="" data-linenumber="105">
885
867
 
886
868
 
887
869
  <code class="ruby"> end</code>
888
870
  </li>
889
871
 
890
- <li class="never" data-hits="" data-linenumber="109">
872
+ <li class="never" data-hits="" data-linenumber="106">
891
873
 
892
874
 
893
875
  <code class="ruby"></code>
894
876
  </li>
895
877
 
896
- <li class="covered" data-hits="1" data-linenumber="110">
878
+ <li class="covered" data-hits="1" data-linenumber="107">
897
879
  <span class="hits">1</span>
898
880
 
899
881
  <code class="ruby"> desc &quot;Push package out to the world&quot;</code>
900
882
  </li>
901
883
 
902
- <li class="covered" data-hits="1" data-linenumber="111">
884
+ <li class="covered" data-hits="1" data-linenumber="108">
903
885
  <span class="hits">1</span>
904
886
 
905
887
  <code class="ruby"> task :release =&gt; [finished_files.build, :preflight, finished_files.release]</code>
906
888
  </li>
907
889
 
908
- <li class="covered" data-hits="1" data-linenumber="112">
890
+ <li class="covered" data-hits="1" data-linenumber="109">
909
891
  <span class="hits">1</span>
910
892
 
911
893
  <code class="ruby"> file finished_files.release =&gt; [finished_dir] do |task|</code>
912
894
  </li>
913
895
 
914
- <li class="missed" data-hits="0" data-linenumber="113">
896
+ <li class="missed" data-hits="0" data-linenumber="110">
915
897
 
916
898
 
917
899
  <code class="ruby"> Rake::Task[:release].invoke</code>
918
900
  </li>
919
901
 
920
- <li class="missed" data-hits="0" data-linenumber="114">
902
+ <li class="missed" data-hits="0" data-linenumber="111">
921
903
 
922
904
 
923
905
  <code class="ruby"> touch task.name</code>
924
906
  </li>
925
907
 
926
- <li class="never" data-hits="" data-linenumber="115">
908
+ <li class="never" data-hits="" data-linenumber="112">
927
909
 
928
910
 
929
911
  <code class="ruby"> end</code>
930
912
  </li>
931
913
 
932
- <li class="never" data-hits="" data-linenumber="116">
914
+ <li class="never" data-hits="" data-linenumber="113">
933
915
 
934
916
 
935
917
  <code class="ruby"></code>
936
918
  </li>
937
919
 
938
- <li class="covered" data-hits="1" data-linenumber="117">
920
+ <li class="covered" data-hits="1" data-linenumber="114">
939
921
  <span class="hits">1</span>
940
922
 
941
923
  <code class="ruby"> desc &quot;Announce publication&quot;</code>
942
924
  </li>
943
925
 
944
- <li class="covered" data-hits="1" data-linenumber="118">
926
+ <li class="covered" data-hits="1" data-linenumber="115">
945
927
  <span class="hits">1</span>
946
928
 
947
929
  <code class="ruby"> task :press =&gt; [finished_files.release, finished_files.press]</code>
948
930
  </li>
949
931
 
950
- <li class="covered" data-hits="1" data-linenumber="119">
932
+ <li class="covered" data-hits="1" data-linenumber="116">
951
933
  <span class="hits">1</span>
952
934
 
953
935
  <code class="ruby"> file finished_files.press =&gt; [finished_dir] do |task|</code>
954
936
  </li>
955
937
 
956
- <li class="missed" data-hits="0" data-linenumber="120">
938
+ <li class="missed" data-hits="0" data-linenumber="117">
957
939
 
958
940
 
959
941
  <code class="ruby"> Rake::Task[:press].invoke</code>
960
942
  </li>
961
943
 
962
- <li class="missed" data-hits="0" data-linenumber="121">
944
+ <li class="missed" data-hits="0" data-linenumber="118">
963
945
 
964
946
 
965
947
  <code class="ruby"> touch task.name</code>
966
948
  </li>
967
949
 
968
- <li class="never" data-hits="" data-linenumber="122">
950
+ <li class="never" data-hits="" data-linenumber="119">
969
951
 
970
952
 
971
953
  <code class="ruby"> end</code>
972
954
  </li>
973
955
 
974
- <li class="never" data-hits="" data-linenumber="123">
956
+ <li class="never" data-hits="" data-linenumber="120">
975
957
 
976
958
 
977
959
  <code class="ruby"> end</code>
978
960
  </li>
979
961
 
980
- <li class="never" data-hits="" data-linenumber="124">
962
+ <li class="never" data-hits="" data-linenumber="121">
981
963
 
982
964
 
983
965
  <code class="ruby"> end</code>
984
966
  </li>
985
967
 
986
- <li class="never" data-hits="" data-linenumber="125">
968
+ <li class="never" data-hits="" data-linenumber="122">
987
969
 
988
970
 
989
971
  <code class="ruby"> end</code>
990
972
  </li>
991
973
 
992
- <li class="never" data-hits="" data-linenumber="126">
974
+ <li class="never" data-hits="" data-linenumber="123">
993
975
 
994
976
 
995
977
  <code class="ruby">end</code>
@@ -4238,7 +4220,7 @@
4238
4220
  <li class="covered" data-hits="1" data-linenumber="25">
4239
4221
  <span class="hits">1</span>
4240
4222
 
4241
- <code class="ruby"> setting(:all_files, toolkit.file_lists.code + toolkit.file_lists.test)</code>
4223
+ <code class="ruby"> setting(:all_files, toolkit.file_lists.project + toolkit.file_lists.code + toolkit.file_lists.test)</code>
4242
4224
  </li>
4243
4225
 
4244
4226
  <li class="never" data-hits="" data-linenumber="26">
@@ -5690,7 +5672,7 @@
5690
5672
  <li class="missed" data-hits="0" data-linenumber="33">
5691
5673
 
5692
5674
 
5693
- <code class="ruby"> branch = git_command(&quot;branch&quot;).grep(/^\*/).sub(/\*\s*/,&quot;&quot;).chomp</code>
5675
+ <code class="ruby"> branch = git_command(&quot;branch&quot;).grep(/^\*/).first.sub(/\*\s*/,&quot;&quot;).chomp</code>
5694
5676
  </li>
5695
5677
 
5696
5678
  <li class="missed" data-hits="0" data-linenumber="34">
@@ -6341,739 +6323,757 @@
6341
6323
  <code class="ruby"> until scanner.eos? do</code>
6342
6324
  </li>
6343
6325
 
6344
- <li class="covered" data-hits="20" data-linenumber="34">
6326
+ <li class="never" data-hits="" data-linenumber="34">
6327
+
6328
+
6329
+ <code class="ruby"></code>
6330
+ </li>
6331
+
6332
+ <li class="covered" data-hits="20" data-linenumber="35">
6345
6333
  <span class="hits">20</span>
6346
6334
 
6347
6335
  <code class="ruby"> symbol = scanner.scan(/[a-z_]*/)</code>
6348
6336
  </li>
6349
6337
 
6350
- <li class="covered" data-hits="20" data-linenumber="35">
6338
+ <li class="covered" data-hits="20" data-linenumber="36">
6351
6339
  <span class="hits">20</span>
6352
6340
 
6353
6341
  <code class="ruby"> scanner.scan(/\s*/)</code>
6354
6342
  </li>
6355
6343
 
6356
- <li class="covered" data-hits="20" data-linenumber="36">
6344
+ <li class="covered" data-hits="20" data-linenumber="37">
6357
6345
  <span class="hits">20</span>
6358
6346
 
6359
6347
  <code class="ruby"> value = &quot;&quot;</code>
6360
6348
  </li>
6361
6349
 
6362
- <li class="covered" data-hits="20" data-linenumber="37">
6350
+ <li class="covered" data-hits="20" data-linenumber="38">
6363
6351
  <span class="hits">20</span>
6364
6352
 
6365
6353
  <code class="ruby"> case scanner.scan(/[&quot;\[]/)</code>
6366
6354
  </li>
6367
6355
 
6368
- <li class="never" data-hits="" data-linenumber="38">
6356
+ <li class="never" data-hits="" data-linenumber="39">
6369
6357
 
6370
6358
 
6371
6359
  <code class="ruby"> when '&quot;'</code>
6372
6360
  </li>
6373
6361
 
6374
- <li class="covered" data-hits="16" data-linenumber="39">
6362
+ <li class="covered" data-hits="16" data-linenumber="40">
6375
6363
  <span class="hits">16</span>
6376
6364
 
6377
6365
  <code class="ruby"> while (value += scanner.scan(/[^&quot;]*/)) =~ /\\$/</code>
6378
6366
  </li>
6379
6367
 
6380
- <li class="never" data-hits="" data-linenumber="40">
6368
+ <li class="never" data-hits="" data-linenumber="41">
6381
6369
 
6382
6370
 
6383
6371
  <code class="ruby"> end</code>
6384
6372
  </li>
6385
6373
 
6386
- <li class="covered" data-hits="16" data-linenumber="41">
6374
+ <li class="covered" data-hits="16" data-linenumber="42">
6387
6375
  <span class="hits">16</span>
6388
6376
 
6389
6377
  <code class="ruby"> scanner.scan(/&quot;/)</code>
6390
6378
  </li>
6391
6379
 
6392
- <li class="never" data-hits="" data-linenumber="42">
6380
+ <li class="never" data-hits="" data-linenumber="43">
6393
6381
 
6394
6382
 
6395
6383
  <code class="ruby"> when '['</code>
6396
6384
  </li>
6397
6385
 
6398
- <li class="covered" data-hits="4" data-linenumber="43">
6386
+ <li class="covered" data-hits="4" data-linenumber="44">
6399
6387
  <span class="hits">4</span>
6400
6388
 
6401
6389
  <code class="ruby"> value = scanner.scan(/[^\]]*/)</code>
6402
6390
  </li>
6403
6391
 
6404
- <li class="covered" data-hits="4" data-linenumber="44">
6392
+ <li class="covered" data-hits="4" data-linenumber="45">
6405
6393
  <span class="hits">4</span>
6406
6394
 
6407
6395
  <code class="ruby"> scanner.scan(/]/)</code>
6408
6396
  </li>
6409
6397
 
6410
- <li class="never" data-hits="" data-linenumber="45">
6398
+ <li class="never" data-hits="" data-linenumber="46">
6411
6399
 
6412
6400
 
6413
6401
  <code class="ruby"> else</code>
6414
6402
  </li>
6415
6403
 
6416
- <li class="never" data-hits="" data-linenumber="46">
6404
+ <li class="never" data-hits="" data-linenumber="47">
6417
6405
 
6418
6406
 
6419
6407
  <code class="ruby"> raise &quot;Improperly formatted basic_io: \</code>
6420
6408
  </li>
6421
6409
 
6422
- <li class="never" data-hits="" data-linenumber="47">
6410
+ <li class="never" data-hits="" data-linenumber="48">
6423
6411
 
6424
6412
 
6425
6413
  <code class="ruby"> \n Got: #{items.inspect} + #{symbol}\</code>
6426
6414
  </li>
6427
6415
 
6428
- <li class="never" data-hits="" data-linenumber="48">
6416
+ <li class="never" data-hits="" data-linenumber="49">
6429
6417
 
6430
6418
 
6431
6419
  <code class="ruby"> \n Rest:\</code>
6432
6420
  </li>
6433
6421
 
6434
- <li class="missed" data-hits="0" data-linenumber="49">
6422
+ <li class="missed" data-hits="0" data-linenumber="50">
6435
6423
 
6436
6424
 
6437
6425
  <code class="ruby"> \n #{scanner.rest}&quot;</code>
6438
6426
  </li>
6439
6427
 
6440
- <li class="never" data-hits="" data-linenumber="50">
6428
+ <li class="never" data-hits="" data-linenumber="51">
6441
6429
 
6442
6430
 
6443
6431
  <code class="ruby"> end</code>
6444
6432
  </li>
6445
6433
 
6446
- <li class="covered" data-hits="20" data-linenumber="51">
6434
+ <li class="covered" data-hits="20" data-linenumber="52">
6447
6435
  <span class="hits">20</span>
6448
6436
 
6449
6437
  <code class="ruby"> items &lt;&lt; [symbol, value]</code>
6450
6438
  </li>
6451
6439
 
6452
- <li class="covered" data-hits="20" data-linenumber="52">
6440
+ <li class="covered" data-hits="20" data-linenumber="53">
6453
6441
  <span class="hits">20</span>
6454
6442
 
6455
6443
  <code class="ruby"> scanner.scan(/\s*/m)</code>
6456
6444
  </li>
6457
6445
 
6458
- <li class="never" data-hits="" data-linenumber="53">
6446
+ <li class="never" data-hits="" data-linenumber="54">
6459
6447
 
6460
6448
 
6461
6449
  <code class="ruby"> end</code>
6462
6450
  </li>
6463
6451
 
6464
- <li class="covered" data-hits="1" data-linenumber="54">
6452
+ <li class="covered" data-hits="1" data-linenumber="55">
6465
6453
  <span class="hits">1</span>
6466
6454
 
6467
6455
  <code class="ruby"> return items</code>
6468
6456
  </li>
6469
6457
 
6470
- <li class="never" data-hits="" data-linenumber="55">
6458
+ <li class="never" data-hits="" data-linenumber="56">
6471
6459
 
6472
6460
 
6473
6461
  <code class="ruby"> end</code>
6474
6462
  </li>
6475
6463
 
6476
- <li class="never" data-hits="" data-linenumber="56">
6464
+ <li class="never" data-hits="" data-linenumber="57">
6477
6465
 
6478
6466
 
6479
6467
  <code class="ruby"></code>
6480
6468
  </li>
6481
6469
 
6482
- <li class="covered" data-hits="1" data-linenumber="57">
6470
+ <li class="covered" data-hits="1" data-linenumber="58">
6483
6471
  <span class="hits">1</span>
6484
6472
 
6485
6473
  <code class="ruby"> def parse_certs(string)</code>
6486
6474
  </li>
6487
6475
 
6488
- <li class="covered" data-hits="1" data-linenumber="58">
6476
+ <li class="covered" data-hits="1" data-linenumber="59">
6489
6477
  <span class="hits">1</span>
6490
6478
 
6491
6479
  <code class="ruby"> items = parse_basic_io(string)</code>
6492
6480
  </li>
6493
6481
 
6494
- <li class="covered" data-hits="1" data-linenumber="59">
6482
+ <li class="covered" data-hits="1" data-linenumber="60">
6495
6483
  <span class="hits">1</span>
6496
6484
 
6497
6485
  <code class="ruby"> pair = []</code>
6498
6486
  </li>
6499
6487
 
6500
- <li class="covered" data-hits="1" data-linenumber="60">
6488
+ <li class="covered" data-hits="1" data-linenumber="61">
6501
6489
  <span class="hits">1</span>
6502
6490
 
6503
6491
  <code class="ruby"> hash = Hash.new do |h,k|</code>
6504
6492
  </li>
6505
6493
 
6506
- <li class="covered" data-hits="4" data-linenumber="61">
6494
+ <li class="covered" data-hits="4" data-linenumber="62">
6507
6495
  <span class="hits">4</span>
6508
6496
 
6509
6497
  <code class="ruby"> h[k] = []</code>
6510
6498
  </li>
6511
6499
 
6512
- <li class="never" data-hits="" data-linenumber="62">
6500
+ <li class="never" data-hits="" data-linenumber="63">
6513
6501
 
6514
6502
 
6515
6503
  <code class="ruby"> end</code>
6516
6504
  </li>
6517
6505
 
6518
- <li class="covered" data-hits="1" data-linenumber="63">
6506
+ <li class="covered" data-hits="1" data-linenumber="64">
6519
6507
  <span class="hits">1</span>
6520
6508
 
6521
6509
  <code class="ruby"> items.each do |name, value|</code>
6522
6510
  </li>
6523
6511
 
6524
- <li class="covered" data-hits="20" data-linenumber="64">
6512
+ <li class="covered" data-hits="20" data-linenumber="65">
6525
6513
  <span class="hits">20</span>
6526
6514
 
6527
6515
  <code class="ruby"> case name</code>
6528
6516
  </li>
6529
6517
 
6530
- <li class="never" data-hits="" data-linenumber="65">
6518
+ <li class="never" data-hits="" data-linenumber="66">
6531
6519
 
6532
6520
 
6533
6521
  <code class="ruby"> when &quot;name&quot;</code>
6534
6522
  </li>
6535
6523
 
6536
- <li class="covered" data-hits="4" data-linenumber="66">
6524
+ <li class="covered" data-hits="4" data-linenumber="67">
6537
6525
  <span class="hits">4</span>
6538
6526
 
6539
6527
  <code class="ruby"> pair[0] = value</code>
6540
6528
  </li>
6541
6529
 
6542
- <li class="never" data-hits="" data-linenumber="67">
6530
+ <li class="never" data-hits="" data-linenumber="68">
6543
6531
 
6544
6532
 
6545
6533
  <code class="ruby"> when &quot;value&quot;</code>
6546
6534
  </li>
6547
6535
 
6548
- <li class="covered" data-hits="4" data-linenumber="68">
6536
+ <li class="covered" data-hits="4" data-linenumber="69">
6549
6537
  <span class="hits">4</span>
6550
6538
 
6551
6539
  <code class="ruby"> pair[1] = value</code>
6552
6540
  </li>
6553
6541
 
6554
- <li class="never" data-hits="" data-linenumber="69">
6542
+ <li class="never" data-hits="" data-linenumber="70">
6555
6543
 
6556
6544
 
6557
6545
  <code class="ruby"> when &quot;trust&quot;</code>
6558
6546
  </li>
6559
6547
 
6560
- <li class="covered" data-hits="4" data-linenumber="70">
6548
+ <li class="covered" data-hits="4" data-linenumber="71">
6561
6549
  <span class="hits">4</span>
6562
6550
 
6563
6551
  <code class="ruby"> if value == &quot;trusted&quot;</code>
6564
6552
  </li>
6565
6553
 
6566
- <li class="covered" data-hits="4" data-linenumber="71">
6554
+ <li class="covered" data-hits="4" data-linenumber="72">
6567
6555
  <span class="hits">4</span>
6568
6556
 
6569
6557
  <code class="ruby"> hash[pair[0]] &lt;&lt; pair[1]</code>
6570
6558
  </li>
6571
6559
 
6572
- <li class="never" data-hits="" data-linenumber="72">
6560
+ <li class="never" data-hits="" data-linenumber="73">
6573
6561
 
6574
6562
 
6575
6563
  <code class="ruby"> end</code>
6576
6564
  </li>
6577
6565
 
6578
- <li class="covered" data-hits="4" data-linenumber="73">
6566
+ <li class="covered" data-hits="4" data-linenumber="74">
6579
6567
  <span class="hits">4</span>
6580
6568
 
6581
6569
  <code class="ruby"> pair = []</code>
6582
6570
  </li>
6583
6571
 
6584
- <li class="never" data-hits="" data-linenumber="74">
6572
+ <li class="never" data-hits="" data-linenumber="75">
6585
6573
 
6586
6574
 
6587
6575
  <code class="ruby"> end</code>
6588
6576
  </li>
6589
6577
 
6590
- <li class="never" data-hits="" data-linenumber="75">
6578
+ <li class="never" data-hits="" data-linenumber="76">
6591
6579
 
6592
6580
 
6593
6581
  <code class="ruby"> end</code>
6594
6582
  </li>
6595
6583
 
6596
- <li class="covered" data-hits="1" data-linenumber="76">
6584
+ <li class="covered" data-hits="1" data-linenumber="77">
6597
6585
  <span class="hits">1</span>
6598
6586
 
6599
6587
  <code class="ruby"> hash</code>
6600
6588
  </li>
6601
6589
 
6602
- <li class="never" data-hits="" data-linenumber="77">
6590
+ <li class="never" data-hits="" data-linenumber="78">
6603
6591
 
6604
6592
 
6605
6593
  <code class="ruby"> end</code>
6606
6594
  </li>
6607
6595
 
6608
- <li class="never" data-hits="" data-linenumber="78">
6596
+ <li class="never" data-hits="" data-linenumber="79">
6609
6597
 
6610
6598
 
6611
6599
  <code class="ruby"></code>
6612
6600
  </li>
6613
6601
 
6614
- <li class="covered" data-hits="1" data-linenumber="79">
6602
+ <li class="covered" data-hits="1" data-linenumber="80">
6615
6603
  <span class="hits">1</span>
6616
6604
 
6617
6605
  <code class="ruby"> def base_revision</code>
6618
6606
  </li>
6619
6607
 
6620
- <li class="covered" data-hits="1" data-linenumber="80">
6608
+ <li class="covered" data-hits="1" data-linenumber="81">
6621
6609
  <span class="hits">1</span>
6622
6610
 
6623
6611
  <code class="ruby"> mtn_automate(&quot;get_base_revision_id&quot;).chomp</code>
6624
6612
  </li>
6625
6613
 
6626
- <li class="never" data-hits="" data-linenumber="81">
6614
+ <li class="never" data-hits="" data-linenumber="82">
6627
6615
 
6628
6616
 
6629
6617
  <code class="ruby"> end</code>
6630
6618
  </li>
6631
6619
 
6632
- <li class="never" data-hits="" data-linenumber="82">
6620
+ <li class="never" data-hits="" data-linenumber="83">
6633
6621
 
6634
6622
 
6635
6623
  <code class="ruby"></code>
6636
6624
  </li>
6637
6625
 
6638
- <li class="covered" data-hits="1" data-linenumber="83">
6626
+ <li class="covered" data-hits="1" data-linenumber="84">
6639
6627
  <span class="hits">1</span>
6640
6628
 
6641
6629
  <code class="ruby"> def guess_branch</code>
6642
6630
  </li>
6643
6631
 
6644
- <li class="covered" data-hits="1" data-linenumber="84">
6632
+ <li class="covered" data-hits="1" data-linenumber="85">
6645
6633
  <span class="hits">1</span>
6646
6634
 
6647
6635
  <code class="ruby"> puts &quot;Guessing branch - configure Monotone &gt; branch&quot;</code>
6648
6636
  </li>
6649
6637
 
6650
- <li class="covered" data-hits="1" data-linenumber="85">
6638
+ <li class="covered" data-hits="1" data-linenumber="86">
6651
6639
  <span class="hits">1</span>
6652
6640
 
6653
6641
  <code class="ruby"> certs = parse_certs(mtn_automate(&quot;certs&quot;, base_revision))</code>
6654
6642
  </li>
6655
6643
 
6656
- <li class="covered" data-hits="1" data-linenumber="86">
6644
+ <li class="covered" data-hits="1" data-linenumber="87">
6657
6645
  <span class="hits">1</span>
6658
6646
 
6659
6647
  <code class="ruby"> puts &quot; Guessed: #{certs[&quot;branch&quot;].first}&quot;</code>
6660
6648
  </li>
6661
6649
 
6662
- <li class="covered" data-hits="1" data-linenumber="87">
6650
+ <li class="covered" data-hits="1" data-linenumber="88">
6663
6651
  <span class="hits">1</span>
6664
6652
 
6665
6653
  <code class="ruby"> certs[&quot;branch&quot;].first</code>
6666
6654
  </li>
6667
6655
 
6668
- <li class="never" data-hits="" data-linenumber="88">
6656
+ <li class="never" data-hits="" data-linenumber="89">
6669
6657
 
6670
6658
 
6671
6659
  <code class="ruby"> end</code>
6672
6660
  </li>
6673
6661
 
6674
- <li class="never" data-hits="" data-linenumber="89">
6662
+ <li class="never" data-hits="" data-linenumber="90">
6663
+
6664
+
6665
+ <code class="ruby"></code>
6666
+ </li>
6667
+
6668
+ <li class="never" data-hits="" data-linenumber="91">
6675
6669
 
6676
6670
 
6677
6671
  <code class="ruby"></code>
6678
6672
  </li>
6679
6673
 
6680
- <li class="covered" data-hits="1" data-linenumber="90">
6674
+ <li class="never" data-hits="" data-linenumber="92">
6675
+
6676
+
6677
+ <code class="ruby"></code>
6678
+ </li>
6679
+
6680
+ <li class="covered" data-hits="1" data-linenumber="93">
6681
6681
  <span class="hits">1</span>
6682
6682
 
6683
6683
  <code class="ruby"> def stanzas(first_item, items)</code>
6684
6684
  </li>
6685
6685
 
6686
- <li class="missed" data-hits="0" data-linenumber="91">
6686
+ <li class="missed" data-hits="0" data-linenumber="94">
6687
6687
 
6688
6688
 
6689
6689
  <code class="ruby"> stanzas = []</code>
6690
6690
  </li>
6691
6691
 
6692
- <li class="missed" data-hits="0" data-linenumber="92">
6692
+ <li class="missed" data-hits="0" data-linenumber="95">
6693
6693
 
6694
6694
 
6695
6695
  <code class="ruby"> current_stanza = {}</code>
6696
6696
  </li>
6697
6697
 
6698
- <li class="missed" data-hits="0" data-linenumber="93">
6698
+ <li class="missed" data-hits="0" data-linenumber="96">
6699
6699
 
6700
6700
 
6701
6701
  <code class="ruby"> items.each do |name, value|</code>
6702
6702
  </li>
6703
6703
 
6704
- <li class="missed" data-hits="0" data-linenumber="94">
6704
+ <li class="missed" data-hits="0" data-linenumber="97">
6705
6705
 
6706
6706
 
6707
6707
  <code class="ruby"> if name == first_item</code>
6708
6708
  </li>
6709
6709
 
6710
- <li class="missed" data-hits="0" data-linenumber="95">
6710
+ <li class="missed" data-hits="0" data-linenumber="98">
6711
6711
 
6712
6712
 
6713
6713
  <code class="ruby"> current_stanza = {}</code>
6714
6714
  </li>
6715
6715
 
6716
- <li class="missed" data-hits="0" data-linenumber="96">
6716
+ <li class="missed" data-hits="0" data-linenumber="99">
6717
6717
 
6718
6718
 
6719
6719
  <code class="ruby"> stanzas &lt;&lt; current_stanza</code>
6720
6720
  </li>
6721
6721
 
6722
- <li class="never" data-hits="" data-linenumber="97">
6722
+ <li class="never" data-hits="" data-linenumber="100">
6723
6723
 
6724
6724
 
6725
6725
  <code class="ruby"> end</code>
6726
6726
  </li>
6727
6727
 
6728
- <li class="missed" data-hits="0" data-linenumber="98">
6728
+ <li class="missed" data-hits="0" data-linenumber="101">
6729
6729
 
6730
6730
 
6731
6731
  <code class="ruby"> current_stanza[name] = value</code>
6732
6732
  </li>
6733
6733
 
6734
- <li class="never" data-hits="" data-linenumber="99">
6734
+ <li class="never" data-hits="" data-linenumber="102">
6735
6735
 
6736
6736
 
6737
6737
  <code class="ruby"> end</code>
6738
6738
  </li>
6739
6739
 
6740
- <li class="missed" data-hits="0" data-linenumber="100">
6740
+ <li class="missed" data-hits="0" data-linenumber="103">
6741
6741
 
6742
6742
 
6743
6743
  <code class="ruby"> return stanzas</code>
6744
6744
  </li>
6745
6745
 
6746
- <li class="never" data-hits="" data-linenumber="101">
6746
+ <li class="never" data-hits="" data-linenumber="104">
6747
6747
 
6748
6748
 
6749
6749
  <code class="ruby"> end</code>
6750
6750
  </li>
6751
6751
 
6752
- <li class="never" data-hits="" data-linenumber="102">
6752
+ <li class="never" data-hits="" data-linenumber="105">
6753
6753
 
6754
6754
 
6755
6755
  <code class="ruby"></code>
6756
6756
  </li>
6757
6757
 
6758
- <li class="covered" data-hits="1" data-linenumber="103">
6758
+ <li class="covered" data-hits="1" data-linenumber="106">
6759
6759
  <span class="hits">1</span>
6760
6760
 
6761
6761
  <code class="ruby"> def define</code>
6762
6762
  </li>
6763
6763
 
6764
- <li class="covered" data-hits="1" data-linenumber="104">
6764
+ <li class="covered" data-hits="1" data-linenumber="107">
6765
6765
  <span class="hits">1</span>
6766
6766
 
6767
6767
  <code class="ruby"> super</code>
6768
6768
  </li>
6769
6769
 
6770
- <li class="never" data-hits="" data-linenumber="105">
6770
+ <li class="never" data-hits="" data-linenumber="108">
6771
6771
 
6772
6772
 
6773
6773
  <code class="ruby"></code>
6774
6774
  </li>
6775
6775
 
6776
- <li class="covered" data-hits="1" data-linenumber="106">
6776
+ <li class="covered" data-hits="1" data-linenumber="109">
6777
6777
  <span class="hits">1</span>
6778
6778
 
6779
6779
  <code class="ruby"> in_namespace do</code>
6780
6780
  </li>
6781
6781
 
6782
- <li class="covered" data-hits="1" data-linenumber="107">
6782
+ <li class="covered" data-hits="1" data-linenumber="110">
6783
6783
  <span class="hits">1</span>
6784
6784
 
6785
6785
  <code class="ruby"> task :on_branch do</code>
6786
6786
  </li>
6787
6787
 
6788
- <li class="missed" data-hits="0" data-linenumber="108">
6788
+ <li class="missed" data-hits="0" data-linenumber="111">
6789
6789
 
6790
6790
 
6791
6791
  <code class="ruby"> branches = parse_certs(mtn_automate(&quot;certs&quot;, base_revision))[&quot;branch&quot;] || []</code>
6792
6792
  </li>
6793
6793
 
6794
- <li class="missed" data-hits="0" data-linenumber="109">
6794
+ <li class="missed" data-hits="0" data-linenumber="112">
6795
6795
 
6796
6796
 
6797
6797
  <code class="ruby"> unless branches.include?(branch)</code>
6798
6798
  </li>
6799
6799
 
6800
- <li class="missed" data-hits="0" data-linenumber="110">
6800
+ <li class="missed" data-hits="0" data-linenumber="113">
6801
6801
 
6802
6802
 
6803
6803
  <code class="ruby"> fail &quot;Not on branch #{branch}&quot;</code>
6804
6804
  </li>
6805
6805
 
6806
- <li class="never" data-hits="" data-linenumber="111">
6806
+ <li class="never" data-hits="" data-linenumber="114">
6807
6807
 
6808
6808
 
6809
6809
  <code class="ruby"> end</code>
6810
6810
  </li>
6811
6811
 
6812
- <li class="never" data-hits="" data-linenumber="112">
6812
+ <li class="never" data-hits="" data-linenumber="115">
6813
6813
 
6814
6814
 
6815
6815
  <code class="ruby"> end</code>
6816
6816
  </li>
6817
6817
 
6818
- <li class="never" data-hits="" data-linenumber="113">
6818
+ <li class="never" data-hits="" data-linenumber="116">
6819
6819
 
6820
6820
 
6821
6821
  <code class="ruby"></code>
6822
6822
  </li>
6823
6823
 
6824
- <li class="covered" data-hits="1" data-linenumber="114">
6824
+ <li class="covered" data-hits="1" data-linenumber="117">
6825
6825
  <span class="hits">1</span>
6826
6826
 
6827
6827
  <code class="ruby"> task :not_tagged do</code>
6828
6828
  </li>
6829
6829
 
6830
- <li class="missed" data-hits="0" data-linenumber="115">
6830
+ <li class="missed" data-hits="0" data-linenumber="118">
6831
6831
 
6832
6832
 
6833
6833
  <code class="ruby"> items = parse_basic_io(mtn_automate(&quot;tags&quot;, branch))</code>
6834
6834
  </li>
6835
6835
 
6836
- <li class="missed" data-hits="0" data-linenumber="116">
6836
+ <li class="missed" data-hits="0" data-linenumber="119">
6837
6837
 
6838
6838
 
6839
6839
  <code class="ruby"> tags = items.find{|pair| pair[0] == &quot;tag&quot; &amp;&amp; pair[1] == tag}</code>
6840
6840
  </li>
6841
6841
 
6842
- <li class="missed" data-hits="0" data-linenumber="117">
6842
+ <li class="missed" data-hits="0" data-linenumber="120">
6843
6843
 
6844
6844
 
6845
6845
  <code class="ruby"> unless tags.nil?</code>
6846
6846
  </li>
6847
6847
 
6848
- <li class="missed" data-hits="0" data-linenumber="118">
6848
+ <li class="missed" data-hits="0" data-linenumber="121">
6849
6849
 
6850
6850
 
6851
6851
  <code class="ruby"> fail &quot;Tag #{tag} already exists in branch #{branch}&quot;</code>
6852
6852
  </li>
6853
6853
 
6854
- <li class="never" data-hits="" data-linenumber="119">
6854
+ <li class="never" data-hits="" data-linenumber="122">
6855
6855
 
6856
6856
 
6857
6857
  <code class="ruby"> end</code>
6858
6858
  </li>
6859
6859
 
6860
- <li class="never" data-hits="" data-linenumber="120">
6860
+ <li class="never" data-hits="" data-linenumber="123">
6861
6861
 
6862
6862
 
6863
6863
  <code class="ruby"> end</code>
6864
6864
  </li>
6865
6865
 
6866
- <li class="never" data-hits="" data-linenumber="121">
6866
+ <li class="never" data-hits="" data-linenumber="124">
6867
6867
 
6868
6868
 
6869
6869
  <code class="ruby"></code>
6870
6870
  </li>
6871
6871
 
6872
- <li class="covered" data-hits="1" data-linenumber="122">
6872
+ <li class="covered" data-hits="1" data-linenumber="125">
6873
6873
  <span class="hits">1</span>
6874
6874
 
6875
6875
  <code class="ruby"> task :workspace_committed =&gt; :on_branch do</code>
6876
6876
  </li>
6877
6877
 
6878
- <li class="missed" data-hits="0" data-linenumber="123">
6878
+ <li class="missed" data-hits="0" data-linenumber="126">
6879
6879
 
6880
6880
 
6881
6881
  <code class="ruby"> items = parse_basic_io(mtn_automate(&quot;inventory&quot;))</code>
6882
6882
  </li>
6883
6883
 
6884
- <li class="missed" data-hits="0" data-linenumber="124">
6884
+ <li class="missed" data-hits="0" data-linenumber="127">
6885
6885
 
6886
6886
 
6887
6887
  <code class="ruby"> changed = items.find{|pair| pair[0] == &quot;changes&quot;}</code>
6888
6888
  </li>
6889
6889
 
6890
- <li class="missed" data-hits="0" data-linenumber="125">
6890
+ <li class="missed" data-hits="0" data-linenumber="128">
6891
6891
 
6892
6892
 
6893
6893
  <code class="ruby"> unless changed.nil?</code>
6894
6894
  </li>
6895
6895
 
6896
- <li class="missed" data-hits="0" data-linenumber="126">
6896
+ <li class="missed" data-hits="0" data-linenumber="129">
6897
6897
 
6898
6898
 
6899
6899
  <code class="ruby"> fail &quot;Uncommitted changes exist in workspace&quot;</code>
6900
6900
  </li>
6901
6901
 
6902
- <li class="never" data-hits="" data-linenumber="127">
6902
+ <li class="never" data-hits="" data-linenumber="130">
6903
6903
 
6904
6904
 
6905
6905
  <code class="ruby"> end</code>
6906
6906
  </li>
6907
6907
 
6908
- <li class="never" data-hits="" data-linenumber="128">
6908
+ <li class="never" data-hits="" data-linenumber="131">
6909
6909
 
6910
6910
 
6911
6911
  <code class="ruby"> end</code>
6912
6912
  </li>
6913
6913
 
6914
- <li class="never" data-hits="" data-linenumber="129">
6914
+ <li class="never" data-hits="" data-linenumber="132">
6915
6915
 
6916
6916
 
6917
6917
  <code class="ruby"></code>
6918
6918
  </li>
6919
6919
 
6920
- <li class="covered" data-hits="1" data-linenumber="130">
6920
+ <li class="covered" data-hits="1" data-linenumber="133">
6921
6921
  <span class="hits">1</span>
6922
6922
 
6923
6923
  <code class="ruby"> task :gemspec_files_added =&gt; :on_branch do</code>
6924
6924
  </li>
6925
6925
 
6926
- <li class="missed" data-hits="0" data-linenumber="131">
6926
+ <li class="missed" data-hits="0" data-linenumber="134">
6927
6927
 
6928
6928
 
6929
6929
  <code class="ruby"> items = stanzas(&quot;path&quot;, parse_basic_io(mtn_automate(&quot;inventory&quot;)))</code>
6930
6930
  </li>
6931
6931
 
6932
- <li class="missed" data-hits="0" data-linenumber="132">
6932
+ <li class="missed" data-hits="0" data-linenumber="135">
6933
6933
 
6934
6934
 
6935
6935
  <code class="ruby"> items.delete_if{|item| item[&quot;status&quot;] == &quot;unknown&quot;}</code>
6936
6936
  </li>
6937
6937
 
6938
- <li class="missed" data-hits="0" data-linenumber="133">
6938
+ <li class="missed" data-hits="0" data-linenumber="136">
6939
6939
 
6940
6940
 
6941
6941
  <code class="ruby"> known_paths = items.each_with_object({}) do |item, hash|</code>
6942
6942
  </li>
6943
6943
 
6944
- <li class="missed" data-hits="0" data-linenumber="134">
6944
+ <li class="missed" data-hits="0" data-linenumber="137">
6945
6945
 
6946
6946
 
6947
6947
  <code class="ruby"> hash[item[&quot;path&quot;]] = true</code>
6948
6948
  </li>
6949
6949
 
6950
- <li class="never" data-hits="" data-linenumber="135">
6950
+ <li class="never" data-hits="" data-linenumber="138">
6951
6951
 
6952
6952
 
6953
6953
  <code class="ruby"> end</code>
6954
6954
  </li>
6955
6955
 
6956
- <li class="never" data-hits="" data-linenumber="136">
6956
+ <li class="never" data-hits="" data-linenumber="139">
6957
6957
 
6958
6958
 
6959
6959
  <code class="ruby"></code>
6960
6960
  </li>
6961
6961
 
6962
- <li class="missed" data-hits="0" data-linenumber="137">
6962
+ <li class="missed" data-hits="0" data-linenumber="140">
6963
6963
 
6964
6964
 
6965
6965
  <code class="ruby"> files = gemspec_files.dup</code>
6966
6966
  </li>
6967
6967
 
6968
- <li class="missed" data-hits="0" data-linenumber="138">
6968
+ <li class="missed" data-hits="0" data-linenumber="141">
6969
6969
 
6970
6970
 
6971
6971
  <code class="ruby"> files.delete_if{|path| known_paths[path]}</code>
6972
6972
  </li>
6973
6973
 
6974
- <li class="missed" data-hits="0" data-linenumber="139">
6974
+ <li class="missed" data-hits="0" data-linenumber="142">
6975
6975
 
6976
6976
 
6977
6977
  <code class="ruby"> unless files.empty?</code>
6978
6978
  </li>
6979
6979
 
6980
- <li class="missed" data-hits="0" data-linenumber="140">
6980
+ <li class="missed" data-hits="0" data-linenumber="143">
6981
6981
 
6982
6982
 
6983
6983
  <code class="ruby"> fail &quot;Gemspec files not in version control: #{files.join(&quot; &quot;)}&quot;</code>
6984
6984
  </li>
6985
6985
 
6986
- <li class="never" data-hits="" data-linenumber="141">
6986
+ <li class="never" data-hits="" data-linenumber="144">
6987
6987
 
6988
6988
 
6989
6989
  <code class="ruby"> end</code>
6990
6990
  </li>
6991
6991
 
6992
- <li class="never" data-hits="" data-linenumber="142">
6992
+ <li class="never" data-hits="" data-linenumber="145">
6993
6993
 
6994
6994
 
6995
6995
  <code class="ruby"> end</code>
6996
6996
  </li>
6997
6997
 
6998
- <li class="never" data-hits="" data-linenumber="143">
6998
+ <li class="never" data-hits="" data-linenumber="146">
6999
6999
 
7000
7000
 
7001
7001
  <code class="ruby"></code>
7002
7002
  </li>
7003
7003
 
7004
- <li class="covered" data-hits="1" data-linenumber="144">
7004
+ <li class="covered" data-hits="1" data-linenumber="147">
7005
7005
  <span class="hits">1</span>
7006
7006
 
7007
7007
  <code class="ruby"> task :tag =&gt; :on_branch do</code>
7008
7008
  </li>
7009
7009
 
7010
- <li class="missed" data-hits="0" data-linenumber="145">
7010
+ <li class="missed" data-hits="0" data-linenumber="148">
7011
7011
 
7012
7012
 
7013
7013
  <code class="ruby"> mtn_automate(&quot;cert&quot;, base_revision, &quot;tag&quot;, tag)</code>
7014
7014
  </li>
7015
7015
 
7016
- <li class="never" data-hits="" data-linenumber="146">
7016
+ <li class="never" data-hits="" data-linenumber="149">
7017
7017
 
7018
7018
 
7019
7019
  <code class="ruby"> end</code>
7020
7020
  </li>
7021
7021
 
7022
- <li class="never" data-hits="" data-linenumber="147">
7022
+ <li class="never" data-hits="" data-linenumber="150">
7023
7023
 
7024
7024
 
7025
7025
  <code class="ruby"></code>
7026
7026
  </li>
7027
7027
 
7028
- <li class="covered" data-hits="1" data-linenumber="148">
7028
+ <li class="covered" data-hits="1" data-linenumber="151">
7029
7029
  <span class="hits">1</span>
7030
7030
 
7031
7031
  <code class="ruby"> task :sync do</code>
7032
7032
  </li>
7033
7033
 
7034
- <li class="missed" data-hits="0" data-linenumber="149">
7034
+ <li class="missed" data-hits="0" data-linenumber="152">
7035
7035
 
7036
7036
 
7037
7037
  <code class="ruby"> mtn_automate(&quot;sync&quot;)</code>
7038
7038
  </li>
7039
7039
 
7040
- <li class="never" data-hits="" data-linenumber="150">
7040
+ <li class="never" data-hits="" data-linenumber="153">
7041
7041
 
7042
7042
 
7043
7043
  <code class="ruby"> end</code>
7044
7044
  </li>
7045
7045
 
7046
- <li class="never" data-hits="" data-linenumber="151">
7046
+ <li class="never" data-hits="" data-linenumber="154">
7047
7047
 
7048
7048
 
7049
7049
  <code class="ruby"></code>
7050
7050
  </li>
7051
7051
 
7052
- <li class="covered" data-hits="1" data-linenumber="152">
7052
+ <li class="covered" data-hits="1" data-linenumber="155">
7053
7053
  <span class="hits">1</span>
7054
7054
 
7055
7055
  <code class="ruby"> task :check_in =&gt; [:sync]</code>
7056
7056
  </li>
7057
7057
 
7058
- <li class="never" data-hits="" data-linenumber="153">
7058
+ <li class="never" data-hits="" data-linenumber="156">
7059
7059
 
7060
7060
 
7061
7061
  <code class="ruby"> end</code>
7062
7062
  </li>
7063
7063
 
7064
- <li class="never" data-hits="" data-linenumber="154">
7064
+ <li class="never" data-hits="" data-linenumber="157">
7065
7065
 
7066
7066
 
7067
7067
  <code class="ruby"> end</code>
7068
7068
  </li>
7069
7069
 
7070
- <li class="never" data-hits="" data-linenumber="155">
7070
+ <li class="never" data-hits="" data-linenumber="158">
7071
7071
 
7072
7072
 
7073
7073
  <code class="ruby"> end</code>
7074
7074
  </li>
7075
7075
 
7076
- <li class="never" data-hits="" data-linenumber="156">
7076
+ <li class="never" data-hits="" data-linenumber="159">
7077
7077
 
7078
7078
 
7079
7079
  <code class="ruby">end</code>