photoviewer 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/app/controllers/list_controller.rb +3 -5
- data/app/views/list/banner.html.erb +1 -0
- data/app/views/list/email.html.erb +53 -2
- data/app/views/list/get_mails.html.erb +6 -6
- data/app/views/list/view.html.erb +8 -5
- data/coverage/app-controllers-application_rb.html +1 -1
- data/coverage/app-controllers-list_controller_rb.html +71 -73
- data/coverage/app-helpers-application_helper_rb.html +1 -1
- data/coverage/app-helpers-list_helper_rb.html +1 -1
- data/coverage/index.html +17 -17
- data/doc/app/classes/ListController.html +126 -149
- data/doc/app/created.rid +1 -1
- data/doc/app/files/app/controllers/application_rb.html +1 -1
- data/doc/app/files/app/controllers/list_controller_rb.html +1 -1
- data/doc/app/files/app/helpers/application_helper_rb.html +1 -1
- data/doc/app/files/app/helpers/list_helper_rb.html +1 -1
- data/doc/app/files/app/models/list_rb.html +1 -1
- data/doc/app/files/doc/README_FOR_APP.html +1 -1
- data/doc/app/fr_method_index.html +11 -12
- data/log/development.log +7 -2100
- data/log/test.log +3 -3
- metadata +2 -9
- data/nbproject/private/private.xml +0 -4
- data/nbproject/private/rake-t.txt +0 -64
- data/nbproject/project.properties +0 -2
- data/nbproject/project.xml +0 -9
data/Rakefile
CHANGED
@@ -17,9 +17,7 @@
|
|
17
17
|
|
18
18
|
class ListController < ApplicationController
|
19
19
|
before_filter :checkClient
|
20
|
-
|
21
|
-
def index
|
22
|
-
end
|
20
|
+
|
23
21
|
def get_images
|
24
22
|
# get all images in images directory or bn directory
|
25
23
|
if params[:bn].nil?
|
@@ -58,7 +56,7 @@ class ListController < ApplicationController
|
|
58
56
|
|
59
57
|
def view
|
60
58
|
# Get ad server url from config manager
|
61
|
-
@ad_url = MOBIO_CONFIG['adserver_url']
|
59
|
+
@ad_url = MOBIO_CONFIG['adserver_url']
|
62
60
|
end
|
63
61
|
|
64
62
|
def sponsor
|
@@ -82,5 +80,5 @@ class ListController < ApplicationController
|
|
82
80
|
end
|
83
81
|
def promo
|
84
82
|
end
|
85
|
-
|
83
|
+
|
86
84
|
end
|
@@ -138,6 +138,7 @@
|
|
138
138
|
<label>Sponsor</label>
|
139
139
|
<xf:action ev:event="DOMActivate">
|
140
140
|
|
141
|
+
<xf:setvalue ref="instance('idx')/info" value="index('imgview')"/>
|
141
142
|
<xf:setvalue ref="instance('admin')/id" value="index('imgview')"/>
|
142
143
|
<xf:send submission="sponsor" ev:event="DOMActivate"/>
|
143
144
|
</xf:action>
|
@@ -7,6 +7,11 @@
|
|
7
7
|
<xhtml:head>
|
8
8
|
<xf:model>
|
9
9
|
<xf:instance id="emails" src="get_mails"/>
|
10
|
+
<xf:instance id="msg">
|
11
|
+
<data xmlns="">
|
12
|
+
<checked/>
|
13
|
+
</data>
|
14
|
+
</xf:instance>
|
10
15
|
</xf:model>
|
11
16
|
|
12
17
|
</xhtml:head>
|
@@ -14,8 +19,55 @@
|
|
14
19
|
<%= render :partial => 'base' %>
|
15
20
|
|
16
21
|
<xhtml:body style="body">
|
22
|
+
<output height="1ex" style="white"
|
23
|
+
value="concat('Selected email: ', instance('msg')/checked)"/>
|
24
|
+
|
17
25
|
|
18
|
-
<
|
26
|
+
<button height="1ex">
|
27
|
+
<label>Update Selected Email</label>
|
28
|
+
<xf:setvalue
|
29
|
+
ref="instance('msg')/checked"
|
30
|
+
value="concat-nodeset(instance('emails')/email[@check='1']/@id)" ev:event="DOMActivate" />
|
31
|
+
</button>
|
32
|
+
|
33
|
+
<grid height="50%" style="grid">
|
34
|
+
<rowset nodeset="instance('emails')/email">
|
35
|
+
<headers height="1ex">
|
36
|
+
<header label=" " style="header" />
|
37
|
+
<header label="Subject" style="header" ref="." sort="click"/>
|
38
|
+
<header label="From" style="header" ref="@from" sort="click" />
|
39
|
+
<header label="Date" style="header" ref="date" sort="click"/>
|
40
|
+
</headers>
|
41
|
+
<row style="rowheader">
|
42
|
+
<rowheader height="1ex" style="rowheader" width="2em">
|
43
|
+
<output height="1ex" style="white" ref="@id"/>
|
44
|
+
</rowheader>
|
45
|
+
<item height="1ex" width="3em" style="item">
|
46
|
+
|
47
|
+
<checkgroup ref="@check" width="3em" height="1ex">
|
48
|
+
<itemlist height="0">
|
49
|
+
<item height="1ex">
|
50
|
+
<value>1</value>
|
51
|
+
</item>
|
52
|
+
</itemlist>
|
53
|
+
</checkgroup>
|
54
|
+
</item>
|
55
|
+
<item height="1ex" width="23em" style="item">
|
56
|
+
<output ref="." style="white" height="1ex" />
|
57
|
+
</item>
|
58
|
+
<item height="1ex" width="15em" style="item">
|
59
|
+
<output ref="@from" style="white" height="1ex"/>
|
60
|
+
</item>
|
61
|
+
<item height="1ex" width="5em" style="item">
|
62
|
+
<output ref="@date" style="white" height="1ex"/>
|
63
|
+
</item>
|
64
|
+
</row></rowset>
|
65
|
+
|
66
|
+
</grid>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<grid height="50%" style="grid">
|
19
71
|
<rowset nodeset="instance('emails')/email">
|
20
72
|
<headers height="1ex">
|
21
73
|
<header label="Subject" style="header" ref="." sort="click"/>
|
@@ -37,7 +89,6 @@
|
|
37
89
|
<output ref="@date" style="white" height="1ex"/>
|
38
90
|
</item>
|
39
91
|
</row></rowset></grid>
|
40
|
-
|
41
92
|
<footer style="footer">
|
42
93
|
<softkey position="1">
|
43
94
|
<label>Back</label>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<% headers['Content-Type']='application/xml' %>
|
2
2
|
<data xmlns="">
|
3
|
-
<email id ="1" date="4/3" read="0" from="richard H.">Lunch?</email>
|
4
|
-
<email id ="2" date="4/2" read="0" from="admin@foo.com">Meeting reminder</email>
|
5
|
-
<email id ="3" date="4/2" read="1" from="customerservice@amazon.com">Your account activities</email>
|
6
|
-
<email id ="4" date="3/29" read="1" from="Amazon.com">Now available: "Best of Mad Libs" by Roger Price on Amazon</email>
|
7
|
-
<email id ="5" date="3/28" read="1" from="Judy R">[fusal]Sign up for spring soccer</email>
|
8
|
-
<email id ="6" date="3/25" read="0" from="Mrs. Mcnil">Fw: field trip photos and clips</email>
|
3
|
+
<email id ="1" date="4/3" read="0" check="" from="richard H.">Lunch?</email>
|
4
|
+
<email id ="2" date="4/2" read="0" check="" from="admin@foo.com">Meeting reminder</email>
|
5
|
+
<email id ="3" date="4/2" read="1" check="" from="customerservice@amazon.com">Your account activities</email>
|
6
|
+
<email id ="4" date="3/29" read="1" check="" from="Amazon.com">Now available: "Best of Mad Libs" by Roger Price on Amazon</email>
|
7
|
+
<email id ="5" date="3/28" read="1" check="" from="Judy R">[fusal]Sign up for spring soccer</email>
|
8
|
+
<email id ="6" date="3/25" read="0" check="" from="Mrs. Mcnil">Fw: field trip photos and clips</email>
|
9
9
|
</data>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<xf:instance id="pData" src="get_images"/>
|
11
11
|
|
12
12
|
<!-- banner -->
|
13
|
-
<xf:instance id="banner" src="<%=@ad_url%>"/>
|
13
|
+
<xf:instance id="banner" src="<%=@ad_url%>"/>
|
14
14
|
</xf:model>
|
15
15
|
|
16
16
|
<style>
|
@@ -26,7 +26,9 @@
|
|
26
26
|
<class name="body">
|
27
27
|
<background-color value="#66CC00"/>
|
28
28
|
</class>
|
29
|
-
|
29
|
+
<class name="bold">
|
30
|
+
<font-weight value="bold"/>
|
31
|
+
</class>
|
30
32
|
<class name="img">
|
31
33
|
<align value="center"/>
|
32
34
|
<margin value="2"/>
|
@@ -68,8 +70,9 @@
|
|
68
70
|
<xhtml:body style="body">
|
69
71
|
<switch>
|
70
72
|
<case id="main">
|
71
|
-
|
72
|
-
<
|
73
|
+
|
74
|
+
<output id="status" style="bold" height="1ex" ref="instance('pData')/images/image[index('mylist')]/@label"/>
|
75
|
+
<textoutput height="4ex">Navigate images to display the title of the image. Center select an image to start slideshow from that image. Click SlideShow softkey starts slideshow from image 1.</textoutput>
|
73
76
|
<grid>
|
74
77
|
<rowset id="mylist" nodeset="instance('pData')/images/image" col="auto">
|
75
78
|
<item height="0" width="15em" style="cell">
|
@@ -86,8 +89,8 @@
|
|
86
89
|
|
87
90
|
</item>
|
88
91
|
</rowset>
|
92
|
+
<xf:dispatch ev:event="xforms-select" name="xforms-refresh" target="status"/>
|
89
93
|
</grid>
|
90
|
-
<output height="1ex" ref="instance('pData')/images/image[index('mylist')]/@label"/>
|
91
94
|
<softkey position="3">
|
92
95
|
<label>SlideShow</label>
|
93
96
|
<xf:action ev:event="DOMActivate">
|
@@ -556,7 +556,7 @@ span.run100 {
|
|
556
556
|
</head>
|
557
557
|
<body>
|
558
558
|
<h3>C0 code coverage information</h3>
|
559
|
-
<p>Generated on
|
559
|
+
<p>Generated on Thu Apr 17 09:17:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
|
560
560
|
</p>
|
561
561
|
<hr /><pre><span class='marked0'>Code reported as executed by Ruby looks like this...
|
562
562
|
</span><span class='marked1'>and this: this line is also marked as covered.
|
@@ -556,7 +556,7 @@ span.run100 {
|
|
556
556
|
</head>
|
557
557
|
<body>
|
558
558
|
<h3>C0 code coverage information</h3>
|
559
|
-
<p>Generated on
|
559
|
+
<p>Generated on Thu Apr 17 09:17:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
|
560
560
|
</p>
|
561
561
|
<hr /><pre><span class='marked0'>Code reported as executed by Ruby looks like this...
|
562
562
|
</span><span class='marked1'>and this: this line is also marked as covered.
|
@@ -580,21 +580,21 @@ span.run100 {
|
|
580
580
|
<a href='app-controllers-list_controller_rb.html'>app/controllers/list_controller.rb</a>
|
581
581
|
</td>
|
582
582
|
<td class='lines_total'>
|
583
|
-
<tt>
|
583
|
+
<tt>84</tt>
|
584
584
|
</td>
|
585
585
|
<td class='lines_code'>
|
586
|
-
<tt>
|
586
|
+
<tt>52</tt>
|
587
587
|
</td>
|
588
588
|
<td>
|
589
589
|
<table cellspacing='0' cellpadding='0' align='right'>
|
590
590
|
<tr>
|
591
591
|
<td>
|
592
|
-
<tt class='coverage_total'>
|
592
|
+
<tt class='coverage_total'>56.0%</tt> </td>
|
593
593
|
<td>
|
594
594
|
<table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
|
595
595
|
<tr>
|
596
|
-
<td class='covered' width='
|
597
|
-
<td class='uncovered' width='
|
596
|
+
<td class='covered' width='56' />
|
597
|
+
<td class='uncovered' width='44' />
|
598
598
|
</tr>
|
599
599
|
</table>
|
600
600
|
</td>
|
@@ -605,12 +605,12 @@ span.run100 {
|
|
605
605
|
<table cellspacing='0' cellpadding='0' align='right'>
|
606
606
|
<tr>
|
607
607
|
<td>
|
608
|
-
<tt class='coverage_code'>
|
608
|
+
<tt class='coverage_code'>38.5%</tt> </td>
|
609
609
|
<td>
|
610
610
|
<table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
|
611
611
|
<tr>
|
612
|
-
<td class='covered' width='
|
613
|
-
<td class='uncovered' width='
|
612
|
+
<td class='covered' width='38' />
|
613
|
+
<td class='uncovered' width='62' />
|
614
614
|
</tr>
|
615
615
|
</table>
|
616
616
|
</td>
|
@@ -638,73 +638,71 @@ span.run100 {
|
|
638
638
|
</span><span class="inferred1"><a name="line17"></a>17
|
639
639
|
</span><span class="marked0"><a name="line18"></a>18 class ListController < ApplicationController
|
640
640
|
</span><span class="marked1"><a name="line19"></a>19 before_filter :checkClient
|
641
|
-
</span><span class="inferred0"><a name="line20"></a>20
|
642
|
-
</span><span class="marked1"><a name="line21"></a>21 def
|
643
|
-
</span><span class="
|
644
|
-
</span><span class="
|
645
|
-
</span><span class="uncovered0"><a name="line24"></a>24
|
646
|
-
</span><span class="uncovered1"><a name="line25"></a>25
|
647
|
-
</span><span class="uncovered0"><a name="line26"></a>26 imgs = File::join RAILS_ROOT, 'public/images/*png'
|
648
|
-
</span><span class="uncovered1"><a name="line27"></a>27
|
649
|
-
</span><span class="uncovered0"><a name="line28"></a>28
|
650
|
-
</span><span class="uncovered1"><a name="line29"></a>29
|
651
|
-
</span><span class="uncovered0"><a name="line30"></a>30 files
|
652
|
-
</span><span class="uncovered1"><a name="line31"></a>31
|
653
|
-
</span><span class="uncovered0"><a name="line32"></a>32
|
654
|
-
</span><span class="uncovered1"><a name="line33"></a>33
|
655
|
-
</span><span class="uncovered0"><a name="line34"></a>34
|
656
|
-
</span><span class="uncovered1"><a name="line35"></a>35 img[
|
657
|
-
</span><span class="uncovered0"><a name="line36"></a>36
|
658
|
-
</span><span class="uncovered1"><a name="line37"></a>37
|
659
|
-
</span><span class="uncovered0"><a name="line38"></a>38
|
660
|
-
</span><span class="uncovered1"><a name="line39"></a>39
|
661
|
-
</span><span class="uncovered0"><a name="line40"></a>40
|
662
|
-
</span><span class="uncovered1"><a name="line41"></a>41
|
663
|
-
</span><span class="
|
664
|
-
</span><span class="
|
665
|
-
</span><span class="
|
666
|
-
</span><span class="
|
667
|
-
</span><span class="
|
668
|
-
</span><span class="uncovered1"><a name="line47"></a>47
|
669
|
-
</span><span class="uncovered0"><a name="line48"></a>48
|
670
|
-
</span><span class="uncovered1"><a name="line49"></a>49
|
671
|
-
</span><span class="uncovered0"><a name="line50"></a>50
|
672
|
-
</span><span class="
|
673
|
-
</span><span class="
|
674
|
-
</span><span class="
|
675
|
-
</span><span class="
|
676
|
-
</span><span class="uncovered1"><a name="line55"></a>55
|
677
|
-
</span><span class="
|
678
|
-
</span><span class="
|
679
|
-
</span><span class="
|
680
|
-
</span><span class="
|
681
|
-
</span><span class="uncovered0"><a name="line60"></a>60
|
682
|
-
</span><span class="
|
683
|
-
</span><span class="
|
684
|
-
</span><span class="inferred1"><a name="line63"></a>63
|
685
|
-
</span><span class="
|
686
|
-
</span><span class="
|
687
|
-
</span><span class="uncovered0"><a name="line66"></a>66
|
688
|
-
</span><span class="
|
689
|
-
</span><span class="
|
690
|
-
</span><span class="
|
691
|
-
</span><span class="
|
692
|
-
</span><span class="
|
693
|
-
</span><span class="
|
694
|
-
</span><span class="
|
695
|
-
</span><span class="inferred0"><a name="line74"></a>74
|
696
|
-
</span><span class="marked1"><a name="line75"></a>75 def
|
641
|
+
</span><span class="inferred0"><a name="line20"></a>20
|
642
|
+
</span><span class="marked1"><a name="line21"></a>21 def get_images
|
643
|
+
</span><span class="uncovered0"><a name="line22"></a>22 # get all images in images directory or bn directory
|
644
|
+
</span><span class="uncovered1"><a name="line23"></a>23 if params[:bn].nil?
|
645
|
+
</span><span class="uncovered0"><a name="line24"></a>24 imgs = File::join RAILS_ROOT, 'public/images/*png'
|
646
|
+
</span><span class="uncovered1"><a name="line25"></a>25 else
|
647
|
+
</span><span class="uncovered0"><a name="line26"></a>26 imgs = File::join RAILS_ROOT, 'public/images/bn/*png'
|
648
|
+
</span><span class="uncovered1"><a name="line27"></a>27 end
|
649
|
+
</span><span class="uncovered0"><a name="line28"></a>28 files = Dir[imgs]
|
650
|
+
</span><span class="uncovered1"><a name="line29"></a>29 @names = []
|
651
|
+
</span><span class="uncovered0"><a name="line30"></a>30 files.each do |x|
|
652
|
+
</span><span class="uncovered1"><a name="line31"></a>31 filename = File.basename(x)
|
653
|
+
</span><span class="uncovered0"><a name="line32"></a>32 img = []
|
654
|
+
</span><span class="uncovered1"><a name="line33"></a>33 img[0] = filename
|
655
|
+
</span><span class="uncovered0"><a name="line34"></a>34 filename = params[:bn] + '/' + filename if params[:bn]
|
656
|
+
</span><span class="uncovered1"><a name="line35"></a>35 img[1] = filename
|
657
|
+
</span><span class="uncovered0"><a name="line36"></a>36 @names << img
|
658
|
+
</span><span class="uncovered1"><a name="line37"></a>37 end
|
659
|
+
</span><span class="uncovered0"><a name="line38"></a>38 headers['Content-Type']='application/xml'
|
660
|
+
</span><span class="uncovered1"><a name="line39"></a>39 response = "<data/>"
|
661
|
+
</span><span class="uncovered0"><a name="line40"></a>40 render :template => 'list/images.xml'
|
662
|
+
</span><span class="uncovered1"><a name="line41"></a>41 end
|
663
|
+
</span><span class="inferred0"><a name="line42"></a>42
|
664
|
+
</span><span class="inferred1"><a name="line43"></a>43 # Log when image is viewed
|
665
|
+
</span><span class="marked0"><a name="line44"></a>44 def send_log
|
666
|
+
</span><span class="uncovered1"><a name="line45"></a>45 logger.info('***** Viewed image with id: ' + params[:id])
|
667
|
+
</span><span class="uncovered0"><a name="line46"></a>46
|
668
|
+
</span><span class="uncovered1"><a name="line47"></a>47 # Have to send some dummy back otherwise server chokes on nullpointer exception
|
669
|
+
</span><span class="uncovered0"><a name="line48"></a>48 headers['Content-Type']='application/xml'
|
670
|
+
</span><span class="uncovered1"><a name="line49"></a>49 render :template => 'list/response.xml'
|
671
|
+
</span><span class="uncovered0"><a name="line50"></a>50 end
|
672
|
+
</span><span class="inferred1"><a name="line51"></a>51
|
673
|
+
</span><span class="marked0"><a name="line52"></a>52 def banner
|
674
|
+
</span><span class="uncovered1"><a name="line53"></a>53 # Get ad server url from config manager
|
675
|
+
</span><span class="uncovered0"><a name="line54"></a>54 @ad_url = MOBIO_CONFIG['adserver_url']
|
676
|
+
</span><span class="uncovered1"><a name="line55"></a>55 end
|
677
|
+
</span><span class="inferred0"><a name="line56"></a>56
|
678
|
+
</span><span class="marked1"><a name="line57"></a>57 def view
|
679
|
+
</span><span class="uncovered0"><a name="line58"></a>58 # Get ad server url from config manager
|
680
|
+
</span><span class="uncovered1"><a name="line59"></a>59 @ad_url = MOBIO_CONFIG['adserver_url']
|
681
|
+
</span><span class="uncovered0"><a name="line60"></a>60 end
|
682
|
+
</span><span class="inferred1"><a name="line61"></a>61
|
683
|
+
</span><span class="marked0"><a name="line62"></a>62 def sponsor
|
684
|
+
</span><span class="inferred1"><a name="line63"></a>63 headers['Content-Type']='application/xml'
|
685
|
+
</span><span class="uncovered0"><a name="line64"></a>64 response = '<data xmlns=""><info>sponsor ' + params[:id] + '</info></data>'
|
686
|
+
</span><span class="uncovered1"><a name="line65"></a>65 render :template => 'list/response.xml'
|
687
|
+
</span><span class="uncovered0"><a name="line66"></a>66 end
|
688
|
+
</span><span class="inferred1"><a name="line67"></a>67
|
689
|
+
</span><span class="inferred0"><a name="line68"></a>68 # handle backurl to home
|
690
|
+
</span><span class="marked1"><a name="line69"></a>69 def storeBackurl
|
691
|
+
</span><span class="uncovered0"><a name="line70"></a>70 backURL("recipe_burl")
|
692
|
+
</span><span class="uncovered1"><a name="line71"></a>71 end
|
693
|
+
</span><span class="inferred0"><a name="line72"></a>72
|
694
|
+
</span><span class="marked1"><a name="line73"></a>73 def set_index
|
695
|
+
</span><span class="inferred0"><a name="line74"></a>74 end
|
696
|
+
</span><span class="marked1"><a name="line75"></a>75 def err
|
697
697
|
</span><span class="inferred0"><a name="line76"></a>76 end
|
698
|
-
</span><span class="marked1"><a name="line77"></a>77 def
|
698
|
+
</span><span class="marked1"><a name="line77"></a>77 def err_response
|
699
699
|
</span><span class="inferred0"><a name="line78"></a>78 end
|
700
|
-
</span><span class="marked1"><a name="line79"></a>79 def
|
700
|
+
</span><span class="marked1"><a name="line79"></a>79 def data_response
|
701
701
|
</span><span class="inferred0"><a name="line80"></a>80 end
|
702
|
-
</span><span class="marked1"><a name="line81"></a>81 def
|
703
|
-
</span><span class="inferred0"><a name="line82"></a>82 end
|
704
|
-
</span><span class="
|
705
|
-
</span><span class="inferred0"><a name="line84"></a>84
|
706
|
-
</span><span class="inferred1"><a name="line85"></a>85
|
707
|
-
</span><span class="inferred0"><a name="line86"></a>86 end
|
702
|
+
</span><span class="marked1"><a name="line81"></a>81 def promo
|
703
|
+
</span><span class="inferred0"><a name="line82"></a>82 end
|
704
|
+
</span><span class="inferred1"><a name="line83"></a>83
|
705
|
+
</span><span class="inferred0"><a name="line84"></a>84 end
|
708
706
|
</span></pre><hr /> <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a> version 0.8.1.2.</p><p>
|
709
707
|
<a href='http://validator.w3.org/check/referer'>
|
710
708
|
<img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88' />
|
@@ -556,7 +556,7 @@ span.run100 {
|
|
556
556
|
</head>
|
557
557
|
<body>
|
558
558
|
<h3>C0 code coverage information</h3>
|
559
|
-
<p>Generated on
|
559
|
+
<p>Generated on Thu Apr 17 09:17:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
|
560
560
|
</p>
|
561
561
|
<hr /><pre><span class='marked0'>Code reported as executed by Ruby looks like this...
|
562
562
|
</span><span class='marked1'>and this: this line is also marked as covered.
|
@@ -556,7 +556,7 @@ span.run100 {
|
|
556
556
|
</head>
|
557
557
|
<body>
|
558
558
|
<h3>C0 code coverage information</h3>
|
559
|
-
<p>Generated on
|
559
|
+
<p>Generated on Thu Apr 17 09:17:38 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
|
560
560
|
</p>
|
561
561
|
<hr /><pre><span class='marked0'>Code reported as executed by Ruby looks like this...
|
562
562
|
</span><span class='marked1'>and this: this line is also marked as covered.
|
data/coverage/index.html
CHANGED
@@ -151,7 +151,7 @@ table.report tr.dark {
|
|
151
151
|
</head>
|
152
152
|
<body>
|
153
153
|
<h3>C0 code coverage information</h3>
|
154
|
-
<p>Generated on
|
154
|
+
<p>Generated on Thu Apr 17 09:17:37 -0700 2008 with <a href='http://eigenclass.org/hiki/rcov'>rcov 0.8.1.2</a>
|
155
155
|
</p>
|
156
156
|
<hr /> <table class='report'>
|
157
157
|
<thead>
|
@@ -167,21 +167,21 @@ table.report tr.dark {
|
|
167
167
|
<tr class='light'>
|
168
168
|
<td>TOTAL</td>
|
169
169
|
<td class='lines_total'>
|
170
|
-
<tt>
|
170
|
+
<tt>151</tt>
|
171
171
|
</td>
|
172
172
|
<td class='lines_code'>
|
173
|
-
<tt>
|
173
|
+
<tt>60</tt>
|
174
174
|
</td>
|
175
175
|
<td>
|
176
176
|
<table cellspacing='0' cellpadding='0' align='right'>
|
177
177
|
<tr>
|
178
178
|
<td>
|
179
|
-
<tt class='coverage_total'>75.
|
179
|
+
<tt class='coverage_total'>75.5%</tt> </td>
|
180
180
|
<td>
|
181
181
|
<table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
|
182
182
|
<tr>
|
183
|
-
<td class='covered' width='
|
184
|
-
<td class='uncovered' width='
|
183
|
+
<td class='covered' width='75' />
|
184
|
+
<td class='uncovered' width='25' />
|
185
185
|
</tr>
|
186
186
|
</table>
|
187
187
|
</td>
|
@@ -192,12 +192,12 @@ table.report tr.dark {
|
|
192
192
|
<table cellspacing='0' cellpadding='0' align='right'>
|
193
193
|
<tr>
|
194
194
|
<td>
|
195
|
-
<tt class='coverage_code'>
|
195
|
+
<tt class='coverage_code'>46.7%</tt> </td>
|
196
196
|
<td>
|
197
197
|
<table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
|
198
198
|
<tr>
|
199
|
-
<td class='covered' width='
|
200
|
-
<td class='uncovered' width='
|
199
|
+
<td class='covered' width='47' />
|
200
|
+
<td class='uncovered' width='53' />
|
201
201
|
</tr>
|
202
202
|
</table>
|
203
203
|
</td>
|
@@ -253,21 +253,21 @@ table.report tr.dark {
|
|
253
253
|
<a href='app-controllers-list_controller_rb.html'>app/controllers/list_controller.rb</a>
|
254
254
|
</td>
|
255
255
|
<td class='lines_total'>
|
256
|
-
<tt>
|
256
|
+
<tt>84</tt>
|
257
257
|
</td>
|
258
258
|
<td class='lines_code'>
|
259
|
-
<tt>
|
259
|
+
<tt>52</tt>
|
260
260
|
</td>
|
261
261
|
<td>
|
262
262
|
<table cellspacing='0' cellpadding='0' align='right'>
|
263
263
|
<tr>
|
264
264
|
<td>
|
265
|
-
<tt class='coverage_total'>
|
265
|
+
<tt class='coverage_total'>56.0%</tt> </td>
|
266
266
|
<td>
|
267
267
|
<table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
|
268
268
|
<tr>
|
269
|
-
<td class='covered' width='
|
270
|
-
<td class='uncovered' width='
|
269
|
+
<td class='covered' width='56' />
|
270
|
+
<td class='uncovered' width='44' />
|
271
271
|
</tr>
|
272
272
|
</table>
|
273
273
|
</td>
|
@@ -278,12 +278,12 @@ table.report tr.dark {
|
|
278
278
|
<table cellspacing='0' cellpadding='0' align='right'>
|
279
279
|
<tr>
|
280
280
|
<td>
|
281
|
-
<tt class='coverage_code'>
|
281
|
+
<tt class='coverage_code'>38.5%</tt> </td>
|
282
282
|
<td>
|
283
283
|
<table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
|
284
284
|
<tr>
|
285
|
-
<td class='covered' width='
|
286
|
-
<td class='uncovered' width='
|
285
|
+
<td class='covered' width='38' />
|
286
|
+
<td class='uncovered' width='62' />
|
287
287
|
</tr>
|
288
288
|
</table>
|
289
289
|
</td>
|