icalendar 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/Rakefile +26 -3
  2. data/docs/api/classes/Array.html +155 -0
  3. data/docs/api/classes/Bignum.html +148 -0
  4. data/docs/api/classes/Date.html +172 -0
  5. data/docs/api/classes/DateTime.html +200 -0
  6. data/docs/api/classes/Fixnum.html +148 -0
  7. data/docs/api/classes/Float.html +148 -0
  8. data/docs/api/classes/HashAttrs.html +212 -0
  9. data/docs/api/classes/Icalendar/Alarm.html +228 -0
  10. data/docs/api/classes/Icalendar/Base.html +179 -0
  11. data/docs/api/classes/Icalendar/Calendar.html +504 -0
  12. data/docs/api/classes/Icalendar/Component.html +853 -0
  13. data/docs/api/classes/Icalendar/DateProp.html +187 -0
  14. data/docs/api/classes/Icalendar/DateProp/ClassMethods.html +195 -0
  15. data/docs/api/classes/Icalendar/Daylight.html +156 -0
  16. data/docs/api/classes/Icalendar/Event.html +671 -0
  17. data/docs/api/classes/Icalendar/Freebusy.html +266 -0
  18. data/docs/api/classes/Icalendar/Geo.html +211 -0
  19. data/docs/api/classes/Icalendar/InvalidPropertyValue.html +117 -0
  20. data/docs/api/classes/Icalendar/Journal.html +443 -0
  21. data/docs/api/classes/Icalendar/Parameter.html +166 -0
  22. data/docs/api/classes/Icalendar/Parser.html +352 -0
  23. data/docs/api/classes/Icalendar/RRule.html +428 -0
  24. data/docs/api/classes/Icalendar/RRule/Weekday.html +199 -0
  25. data/docs/api/classes/Icalendar/Standard.html +156 -0
  26. data/docs/api/classes/Icalendar/Timezone.html +450 -0
  27. data/docs/api/classes/Icalendar/Todo.html +480 -0
  28. data/docs/api/classes/Icalendar/TzidSupport.html +118 -0
  29. data/docs/api/classes/Icalendar/UnknownComponentClass.html +117 -0
  30. data/docs/api/classes/Icalendar/UnknownPropertyMethod.html +117 -0
  31. data/docs/api/classes/Object.html +272 -0
  32. data/docs/api/classes/String.html +148 -0
  33. data/docs/api/classes/TZInfo.html +119 -0
  34. data/docs/api/classes/TZInfo/Timezone.html +153 -0
  35. data/docs/api/classes/TZInfo/TimezonePeriod.html +200 -0
  36. data/docs/api/classes/TZInfo/TimezoneTransitionInfo.html +229 -0
  37. data/docs/api/classes/Time.html +180 -0
  38. data/docs/api/classes/URI.html +111 -0
  39. data/docs/api/classes/URI/Generic.html +148 -0
  40. data/docs/api/created.rid +1 -0
  41. data/docs/api/files/COPYING.html +163 -0
  42. data/docs/api/files/GPL.html +531 -0
  43. data/docs/api/files/README.html +401 -0
  44. data/docs/api/files/lib/hash_attrs_rb.html +107 -0
  45. data/docs/api/files/lib/icalendar/base_rb.html +108 -0
  46. data/docs/api/files/lib/icalendar/calendar_rb.html +101 -0
  47. data/docs/api/files/lib/icalendar/component/alarm_rb.html +101 -0
  48. data/docs/api/files/lib/icalendar/component/event_rb.html +101 -0
  49. data/docs/api/files/lib/icalendar/component/freebusy_rb.html +101 -0
  50. data/docs/api/files/lib/icalendar/component/journal_rb.html +101 -0
  51. data/docs/api/files/lib/icalendar/component/timezone_rb.html +101 -0
  52. data/docs/api/files/lib/icalendar/component/todo_rb.html +101 -0
  53. data/docs/api/files/lib/icalendar/component_rb.html +108 -0
  54. data/docs/api/files/lib/icalendar/conversions_rb.html +109 -0
  55. data/docs/api/files/lib/icalendar/helpers_rb.html +101 -0
  56. data/docs/api/files/lib/icalendar/parameter_rb.html +101 -0
  57. data/docs/api/files/lib/icalendar/parser_rb.html +110 -0
  58. data/docs/api/files/lib/icalendar/rrule_rb.html +110 -0
  59. data/docs/api/files/lib/icalendar/tzinfo_rb.html +101 -0
  60. data/docs/api/files/lib/icalendar_rb.html +121 -0
  61. data/docs/api/files/lib/meta_rb.html +107 -0
  62. data/docs/api/fr_class_index.html +64 -0
  63. data/docs/api/fr_file_index.html +47 -0
  64. data/docs/api/fr_method_index.html +123 -0
  65. data/docs/api/index.html +24 -0
  66. data/docs/api/rdoc-style.css +208 -0
  67. data/lib/icalendar.rb +1 -0
  68. data/lib/icalendar/component.rb +3 -3
  69. data/lib/icalendar/component/event.rb +1 -1
  70. data/lib/icalendar/component/freebusy.rb +1 -0
  71. data/lib/icalendar/conversions.rb +6 -0
  72. data/lib/icalendar/conversions.rb.orig +144 -0
  73. data/lib/icalendar/parser.rb +0 -94
  74. data/lib/icalendar/rrule.rb +133 -0
  75. data/test/component/timezone_test.rb +1 -1
  76. data/test/component_test.rb +10 -0
  77. data/test/conversions_test.rb +4 -4
  78. data/test/coverage/index.html +272 -0
  79. data/test/coverage/lib-hash_attrs_rb.html +235 -0
  80. data/test/coverage/lib-icalendar-base_rb.html +249 -0
  81. data/test/coverage/lib-icalendar-calendar_rb.html +324 -0
  82. data/test/coverage/lib-icalendar-component-alarm_rb.html +250 -0
  83. data/test/coverage/lib-icalendar-component-event_rb.html +353 -0
  84. data/test/coverage/lib-icalendar-component-freebusy_rb.html +245 -0
  85. data/test/coverage/lib-icalendar-component-journal_rb.html +278 -0
  86. data/test/coverage/lib-icalendar-component-timezone_rb.html +326 -0
  87. data/test/coverage/lib-icalendar-component-todo_rb.html +277 -0
  88. data/test/coverage/lib-icalendar-component_rb.html +733 -0
  89. data/test/coverage/lib-icalendar-conversions_rb.html +358 -0
  90. data/test/coverage/lib-icalendar-parser_rb.html +671 -0
  91. data/test/coverage/lib-icalendar-rrule_rb.html +357 -0
  92. data/test/coverage/lib-icalendar_rb.html +243 -0
  93. data/test/coverage/lib-meta_rb.html +234 -0
  94. data/test/fixtures/folding.ics +2 -2
  95. metadata +113 -36
  96. data/docs/api/STUB +0 -0
@@ -0,0 +1,133 @@
1
+ =begin
2
+ Copyright (C) 2008 Rick (http://github.com/rubyredrick)
3
+
4
+ This library is free software; you can redistribute it and/or modify it
5
+ under the same terms as the ruby language itself, see the file COPYING for
6
+ details.
7
+ =end
8
+
9
+ require 'date'
10
+ require 'uri'
11
+ require 'stringio'
12
+
13
+ module Icalendar
14
+
15
+ # This class is not yet fully functional..
16
+ #
17
+ # Gem versions < 1.1.0.0 used to return a string for the recurrence_rule component,
18
+ # but now it returns this Icalendar::RRule class. ie It's not backwards compatible!
19
+ #
20
+ # To get the original RRULE value from a parsed feed, use the 'orig_value' property.
21
+ #
22
+ # Example:
23
+ # rules = event.recurrence_rules.map{ |rule| rule.orig_value }
24
+
25
+ class RRule < Icalendar::Base
26
+
27
+ class Weekday
28
+ def initialize(day, position)
29
+ @day, @position = day, position
30
+ @last = false
31
+ end
32
+
33
+ def to_s
34
+ "#{@position}#{@day}#{ "," unless @last }"
35
+ end
36
+
37
+ def you_are_last()
38
+ @last = true
39
+ end
40
+ end
41
+
42
+ def initialize(name, params, value, parser)
43
+ @value = value
44
+ frequency_match = value.match(/FREQ=(SECONDLY|MINUTELY|HOURLY|DAILY|WEEKLY|MONTHLY|YEARLY)/)
45
+ raise Icalendar::InvalidPropertyValue.new("FREQ must be specified for RRULE values") unless frequency_match
46
+ @frequency = frequency_match[1]
47
+ @until = parse_date_val("UNTIL", value)
48
+ @count = parse_int_val("COUNT", value)
49
+ raise Icalendar::InvalidPropertyValue.new("UNTIL and COUNT must not both be specified for RRULE values") if [@until, @count].compact.length > 1
50
+ @interval = parse_int_val("INTERVAL", value)
51
+ @by_list = {:bysecond => parse_int_list("BYSECOND", value)}
52
+ @by_list[:byminute] = parse_int_list("BYMINUTE",value)
53
+ @by_list[:byhour] = parse_int_list("BYHOUR", value)
54
+ @by_list[:byday] = parse_weekday_list("BYDAY", value)
55
+ @by_list[:bymonthday] = parse_int_list("BYMONTHDAY", value)
56
+ @by_list[:byyearday] = parse_int_list("BYYEARDAY", value)
57
+ @by_list[:byweekno] = parse_int_list("BYWEEKNO", value)
58
+ @by_list[:bymonth] = parse_int_list("BYMONTH", value)
59
+ @by_list[:bysetpos] = parse_int_list("BYSETPOS", value)
60
+ @wkst = parse_wkstart(value)
61
+ end
62
+
63
+ # Returns the original pre-parsed RRULE value.
64
+ def orig_value
65
+ @value
66
+ end
67
+
68
+ def to_ical
69
+ result = ["FREQ=#{@frequency}"]
70
+ result << ";UNTIL=#{@until.to_ical}" if @until
71
+ result << ";COUNT=#{@count}" if @count
72
+ result << ";INTERVAL=#{@interval}" if @interval
73
+ @by_list.each do |key, value|
74
+ result << ";#{key.to_s.upcase}=#{value}" if value
75
+ end
76
+ result << ";WKST=#{@wkst}" if @wkst
77
+ result.join
78
+ end
79
+
80
+ def parse_date_val(name, string)
81
+ match = string.match(/;#{name}=(.*?)(;|$)/)
82
+ match ? DateTime.parse(match[1]) : nil
83
+ end
84
+
85
+ def parse_int_val(name, string)
86
+ match = string.match(/;#{name}=(\d+)(;|$)/)
87
+ match ? match[1].to_i : nil
88
+ end
89
+
90
+ def parse_int_list(name, string)
91
+ match = string.match(/;#{name}=([+-]?.*?)(;|$)/)
92
+ if match
93
+ match[1].split(",").map {|int| int.to_i}
94
+ else
95
+ nil
96
+ end
97
+ end
98
+
99
+ def parse_weekday_list(name, string)
100
+ match = string.match(/;#{name}=(.*?)(;|$)/)
101
+ if match
102
+ return_array = match[1].split(",").map {|weekday|
103
+ wd_match = weekday.match(/([+-]?\d*)(SU|MO|TU|WE|TH|FR|SA)/)
104
+ Weekday.new(wd_match[2], wd_match[1])
105
+ }
106
+ return_array.last.you_are_last
107
+ else
108
+ nil
109
+ end
110
+ return_array
111
+ end
112
+
113
+ def parse_wkstart(string)
114
+ match = string.match(/;WKST=(SU|MO|TU|WE|TH|FR|SA)(;|$)/)
115
+ if match
116
+ match[1]
117
+ else
118
+ nil
119
+ end
120
+ end
121
+
122
+ # TODO: Incomplete
123
+ def occurrences_of_event_starting(event, datetime)
124
+ initial_start = event.dtstart
125
+ (0...@count).map {|day_offset|
126
+ occurrence = event.clone
127
+ occurrence.dtstart = initial_start + day_offset
128
+ occurrence.clone
129
+ }
130
+ end
131
+ end
132
+
133
+ end
@@ -9,7 +9,7 @@ class TestTimezone < Test::Unit::TestCase
9
9
  def setup
10
10
  @cal = Icalendar::Calendar.new
11
11
  # Define a test timezone
12
- @testTimezone = %Q(BEGIN:VTIMEZONE\r\nTZID:America/Chicago\r\nBEGIN:STANDARD\r\nTZOFFSETTO:-0600\r\nRRULE:FREQ=YEARLY\\;BYMONTH=11\\;BYDAY=1SU\r\nTZOFFSETFROM:-0500\r\nDTSTART:19701101T020000\r\nTZNAME:CST\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nTZOFFSETTO:-0500\r\nRRULE:FREQ=YEARLY\\;BYMONTH=3\\;BYDAY=2SU\r\nTZOFFSETFROM:-0600\r\nDTSTART:19700308TO20000\r\nTZNAME:CDT\r\nEND:DAYLIGHT\r\nEND:VTIMEZONE\r\n)
12
+ @testTimezone = %Q(BEGIN:VTIMEZONE\r\nTZID:America/Chicago\r\nBEGIN:STANDARD\r\nTZOFFSETTO:-0600\r\nRRULE:FREQ=YEARLY\\;BYMONTH=11\\;BYDAY=1SU\r\nDTSTART:19701101T020000\r\nTZOFFSETFROM:-0500\r\nTZNAME:CST\r\nEND:STANDARD\r\nBEGIN:DAYLIGHT\r\nTZOFFSETTO:-0500\r\nRRULE:FREQ=YEARLY\\;BYMONTH=3\\;BYDAY=2SU\r\nDTSTART:19700308TO20000\r\nTZOFFSETFROM:-0600\r\nTZNAME:CDT\r\nEND:DAYLIGHT\r\nEND:VTIMEZONE\r\n)
13
13
  end
14
14
 
15
15
  def test_new
@@ -63,4 +63,14 @@ class TestComponent < Test::Unit::TestCase
63
63
  @event.x_foobar = "my-custom-property"
64
64
  assert_equal("my-custom-property", @event.x_foobar)
65
65
  end
66
+
67
+ def test_respond_to_missing
68
+ component = Icalendar::Component.new('name')
69
+ assert !component.respond_to?(:there_is_no_such_method)
70
+ end
71
+
72
+ def test_respond_to_x_property
73
+ component = Icalendar::Component.new('name')
74
+ assert component.respond_to?(:x_foobar)
75
+ end
66
76
  end
@@ -14,16 +14,16 @@ VERSION:2.0
14
14
  CALSCALE:GREGORIAN
15
15
  PRODID:iCalendar-Ruby
16
16
  BEGIN:VEVENT
17
- LAST-MODIFIED:19960817T133000
18
17
  SEQUENCE:2
19
18
  ORGANIZER:mailto:joe@example.com?subject=Ruby
19
+ DTSTART:20060720
20
20
  UID:foobar
21
21
  X-TIME-OF-DAY:101736
22
- CATEGORIES:foo\\,bar\\,baz
23
22
  GEO:46.01\\;8.57
24
- DESCRIPTION:desc
25
- DTSTART:20060720
26
23
  DTSTAMP:20060720T174052
24
+ CATEGORIES:foo\\,bar\\,baz
25
+ DESCRIPTION:desc
26
+ LAST-MODIFIED:19960817T133000
27
27
  END:VEVENT
28
28
  END:VCALENDAR
29
29
  EOS
@@ -0,0 +1,272 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
3
+ <head>
4
+ <title>
5
+ C0 code coverage information
6
+ </title>
7
+ <style type='text/css'>
8
+ body { background-color: rgb(240, 240, 245); }
9
+ </style>
10
+ <style type='text/css'>
11
+ span.cross-ref-title { font-size: 140%; } span.cross-ref a {
12
+ text-decoration: none; } span.cross-ref { background-color:#f3f7fa;
13
+ border: 1px dashed #333; margin: 1em; padding: 0.5em; overflow: hidden; }
14
+ a.crossref-toggle { text-decoration: none; } span.marked0 {
15
+ background-color: rgb(185, 210, 200); display: block; } span.marked1 {
16
+ background-color: rgb(190, 215, 205); display: block; } span.inferred0 {
17
+ background-color: rgb(175, 200, 200); display: block; } span.inferred1 {
18
+ background-color: rgb(180, 205, 205); display: block; } span.uncovered0 {
19
+ background-color: rgb(225, 110, 110); display: block; } span.uncovered1 {
20
+ background-color: rgb(235, 120, 120); display: block; } span.overview {
21
+ border-bottom: 8px solid black; } div.overview { border-bottom: 8px solid
22
+ black; } body { font-family: verdana, arial, helvetica; } div.footer {
23
+ font-size: 68%; margin-top: 1.5em; } h1, h2, h3, h4, h5, h6 {
24
+ margin-bottom: 0.5em; } h5 { margin-top: 0.5em; } .hidden { display: none;
25
+ } div.separator { height: 10px; } /* Commented out for better readability,
26
+ esp. on IE */ /* table tr td, table tr th { font-size: 68%; } td.value
27
+ table tr td { font-size: 11px; } */ table.percent_graph { height: 12px;
28
+ border: #808080 1px solid; empty-cells: show; } table.percent_graph
29
+ td.covered { height: 10px; background: #00f000; } table.percent_graph
30
+ td.uncovered { height: 10px; background: #e00000; } table.percent_graph
31
+ td.NA { height: 10px; background: #eaeaea; } table.report {
32
+ border-collapse: collapse; width: 100%; } table.report td.heading {
33
+ background: #dcecff; border: #d0d0d0 1px solid; font-weight: bold;
34
+ text-align: center; } table.report td.heading:hover { background: #c0ffc0;
35
+ } table.report td.text { border: #d0d0d0 1px solid; } table.report
36
+ td.value, table.report td.lines_total, table.report td.lines_code {
37
+ text-align: right; border: #d0d0d0 1px solid; } table.report tr.light {
38
+ background-color: rgb(240, 240, 245); } table.report tr.dark {
39
+ background-color: rgb(230, 230, 235); }
40
+ </style>
41
+ <script type='text/javascript'>
42
+ // <![CDATA[ function toggleCode( id ) { if ( document.getElementById )
43
+ elem = document.getElementById( id ); else if ( document.all ) elem =
44
+ eval( "document.all." + id ); else return false; elemStyle = elem.style;
45
+ if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else {
46
+ elemStyle.display = "none" } return true; } // Make cross-references
47
+ hidden by default document.writeln( "<style
48
+ type=\"text/css\">span.cross-ref { display: none }</style>" ) // ]]>
49
+ </script>
50
+ </head>
51
+ <body>
52
+ <h3>
53
+ C0 code coverage information
54
+ </h3>
55
+ <p>
56
+ Generated on Sun Mar 29 23:07:03 -0400 2009 with
57
+ <a href='http://eigenclass.org/hiki/rcov'>
58
+ rcov 0.8.1.2
59
+ </a>
60
+ </p>
61
+ <hr />
62
+ <table class='report'> <thead> <tr> <td class='heading'> Name </td> <td
63
+ class='heading'> Total lines </td> <td class='heading'> Lines of code </td>
64
+ <td class='heading'> Total coverage </td> <td class='heading'> Code coverage
65
+ </td> </tr> </thead> <tbody> <tr class='light'> <td> TOTAL </td> <td
66
+ class='lines_total'> <tt> 1816 </tt> </td> <td class='lines_code'> <tt> 1105
67
+ </tt> </td> <td> <table cellspacing='0' align='right' cellpadding='0'> <tr>
68
+ <td> <tt class='coverage_total'> 92.3% </tt> &nbsp; </td> <td> <table
69
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
70
+ class='covered' width='92' /> <td class='uncovered' width='8' /> </tr>
71
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
72
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 88.2%
73
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
74
+ width='100' cellpadding='0'> <tr> <td class='covered' width='88' /> <td
75
+ class='uncovered' width='12' /> </tr> </table> </td> </tr> </table> </td>
76
+ </tr> <tr class='dark'> <td> <a href='lib-hash_attrs_rb.html'>
77
+ lib/hash_attrs.rb </a> </td> <td class='lines_total'> <tt> 34 </tt> </td>
78
+ <td class='lines_code'> <tt> 26 </tt> </td> <td> <table cellspacing='0'
79
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_total'> 91.2%
80
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
81
+ width='100' cellpadding='0'> <tr> <td class='covered' width='91' /> <td
82
+ class='uncovered' width='9' /> </tr> </table> </td> </tr> </table> </td>
83
+ <td> <table cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
84
+ class='coverage_code'> 88.5% </tt> &nbsp; </td> <td> <table
85
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
86
+ class='covered' width='88' /> <td class='uncovered' width='12' /> </tr>
87
+ </table> </td> </tr> </table> </td> </tr> <tr class='light'> <td> <a
88
+ href='lib-icalendar_rb.html'> lib/icalendar.rb </a> </td> <td
89
+ class='lines_total'> <tt> 39 </tt> </td> <td class='lines_code'> <tt> 15
90
+ </tt> </td> <td> <table cellspacing='0' align='right' cellpadding='0'> <tr>
91
+ <td> <tt class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
92
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
93
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
94
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
95
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
96
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
97
+ width='100' cellpadding='0'> <tr> <td class='covered' width='100' /> <td
98
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
99
+ </tr> <tr class='dark'> <td> <a href='lib-icalendar-base_rb.html'>
100
+ lib/icalendar/base.rb </a> </td> <td class='lines_total'> <tt> 43 </tt>
101
+ </td> <td class='lines_code'> <tt> 21 </tt> </td> <td> <table
102
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
103
+ class='coverage_total'> 95.3% </tt> &nbsp; </td> <td> <table
104
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
105
+ class='covered' width='95' /> <td class='uncovered' width='5' /> </tr>
106
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
107
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 90.5%
108
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
109
+ width='100' cellpadding='0'> <tr> <td class='covered' width='90' /> <td
110
+ class='uncovered' width='10' /> </tr> </table> </td> </tr> </table> </td>
111
+ </tr> <tr class='light'> <td> <a href='lib-icalendar-calendar_rb.html'>
112
+ lib/icalendar/calendar.rb </a> </td> <td class='lines_total'> <tt> 113 </tt>
113
+ </td> <td class='lines_code'> <tt> 67 </tt> </td> <td> <table
114
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
115
+ class='coverage_total'> 91.2% </tt> &nbsp; </td> <td> <table
116
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
117
+ class='covered' width='91' /> <td class='uncovered' width='9' /> </tr>
118
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
119
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 88.1%
120
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
121
+ width='100' cellpadding='0'> <tr> <td class='covered' width='88' /> <td
122
+ class='uncovered' width='12' /> </tr> </table> </td> </tr> </table> </td>
123
+ </tr> <tr class='dark'> <td> <a href='lib-icalendar-component_rb.html'>
124
+ lib/icalendar/component.rb </a> </td> <td class='lines_total'> <tt> 442
125
+ </tt> </td> <td class='lines_code'> <tt> 298 </tt> </td> <td> <table
126
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
127
+ class='coverage_total'> 97.5% </tt> &nbsp; </td> <td> <table
128
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
129
+ class='covered' width='98' /> <td class='uncovered' width='2' /> </tr>
130
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
131
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 96.3%
132
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
133
+ width='100' cellpadding='0'> <tr> <td class='covered' width='96' /> <td
134
+ class='uncovered' width='4' /> </tr> </table> </td> </tr> </table> </td>
135
+ </tr> <tr class='light'> <td> <a
136
+ href='lib-icalendar-component-alarm_rb.html'>
137
+ lib/icalendar/component/alarm.rb </a> </td> <td class='lines_total'> <tt> 44
138
+ </tt> </td> <td class='lines_code'> <tt> 20 </tt> </td> <td> <table
139
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
140
+ class='coverage_total'> 81.8% </tt> &nbsp; </td> <td> <table
141
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
142
+ class='covered' width='82' /> <td class='uncovered' width='18' /> </tr>
143
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
144
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 75.0%
145
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
146
+ width='100' cellpadding='0'> <tr> <td class='covered' width='75' /> <td
147
+ class='uncovered' width='25' /> </tr> </table> </td> </tr> </table> </td>
148
+ </tr> <tr class='dark'> <td> <a
149
+ href='lib-icalendar-component-event_rb.html'>
150
+ lib/icalendar/component/event.rb </a> </td> <td class='lines_total'> <tt>
151
+ 129 </tt> </td> <td class='lines_code'> <tt> 52 </tt> </td> <td> <table
152
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
153
+ class='coverage_total'> 94.6% </tt> &nbsp; </td> <td> <table
154
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
155
+ class='covered' width='95' /> <td class='uncovered' width='5' /> </tr>
156
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
157
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 90.4%
158
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
159
+ width='100' cellpadding='0'> <tr> <td class='covered' width='90' /> <td
160
+ class='uncovered' width='10' /> </tr> </table> </td> </tr> </table> </td>
161
+ </tr> <tr class='light'> <td> <a
162
+ href='lib-icalendar-component-freebusy_rb.html'>
163
+ lib/icalendar/component/freebusy.rb </a> </td> <td class='lines_total'> <tt>
164
+ 38 </tt> </td> <td class='lines_code'> <tt> 22 </tt> </td> <td> <table
165
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
166
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
167
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
168
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
169
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
170
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
171
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
172
+ width='100' cellpadding='0'> <tr> <td class='covered' width='100' /> <td
173
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
174
+ </tr> <tr class='dark'> <td> <a
175
+ href='lib-icalendar-component-journal_rb.html'>
176
+ lib/icalendar/component/journal.rb </a> </td> <td class='lines_total'> <tt>
177
+ 61 </tt> </td> <td class='lines_code'> <tt> 35 </tt> </td> <td> <table
178
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
179
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
180
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
181
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
182
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
183
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
184
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
185
+ width='100' cellpadding='0'> <tr> <td class='covered' width='100' /> <td
186
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
187
+ </tr> <tr class='light'> <td> <a
188
+ href='lib-icalendar-component-timezone_rb.html'>
189
+ lib/icalendar/component/timezone.rb </a> </td> <td class='lines_total'> <tt>
190
+ 105 </tt> </td> <td class='lines_code'> <tt> 55 </tt> </td> <td> <table
191
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
192
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
193
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
194
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
195
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
196
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
197
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
198
+ width='100' cellpadding='0'> <tr> <td class='covered' width='100' /> <td
199
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
200
+ </tr> <tr class='dark'> <td> <a href='lib-icalendar-component-todo_rb.html'>
201
+ lib/icalendar/component/todo.rb </a> </td> <td class='lines_total'> <tt> 64
202
+ </tt> </td> <td class='lines_code'> <tt> 43 </tt> </td> <td> <table
203
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
204
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
205
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
206
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
207
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
208
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
209
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
210
+ width='100' cellpadding='0'> <tr> <td class='covered' width='100' /> <td
211
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
212
+ </tr> <tr class='light'> <td> <a href='lib-icalendar-conversions_rb.html'>
213
+ lib/icalendar/conversions.rb </a> </td> <td class='lines_total'> <tt> 150
214
+ </tt> </td> <td class='lines_code'> <tt> 89 </tt> </td> <td> <table
215
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
216
+ class='coverage_total'> 95.3% </tt> &nbsp; </td> <td> <table
217
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
218
+ class='covered' width='95' /> <td class='uncovered' width='5' /> </tr>
219
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
220
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 92.1%
221
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
222
+ width='100' cellpadding='0'> <tr> <td class='covered' width='92' /> <td
223
+ class='uncovered' width='8' /> </tr> </table> </td> </tr> </table> </td>
224
+ </tr> <tr class='dark'> <td> <a href='lib-icalendar-parser_rb.html'>
225
+ lib/icalendar/parser.rb </a> </td> <td class='lines_total'> <tt> 396 </tt>
226
+ </td> <td class='lines_code'> <tt> 249 </tt> </td> <td> <table
227
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
228
+ class='coverage_total'> 83.8% </tt> &nbsp; </td> <td> <table
229
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
230
+ class='covered' width='84' /> <td class='uncovered' width='16' /> </tr>
231
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
232
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 75.1%
233
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
234
+ width='100' cellpadding='0'> <tr> <td class='covered' width='75' /> <td
235
+ class='uncovered' width='25' /> </tr> </table> </td> </tr> </table> </td>
236
+ </tr> <tr class='light'> <td> <a href='lib-icalendar-rrule_rb.html'>
237
+ lib/icalendar/rrule.rb </a> </td> <td class='lines_total'> <tt> 126 </tt>
238
+ </td> <td class='lines_code'> <tt> 92 </tt> </td> <td> <table
239
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
240
+ class='coverage_total'> 82.5% </tt> &nbsp; </td> <td> <table
241
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
242
+ class='covered' width='83' /> <td class='uncovered' width='17' /> </tr>
243
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
244
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 76.1%
245
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
246
+ width='100' cellpadding='0'> <tr> <td class='covered' width='76' /> <td
247
+ class='uncovered' width='24' /> </tr> </table> </td> </tr> </table> </td>
248
+ </tr> <tr class='dark'> <td> <a href='lib-meta_rb.html'> lib/meta.rb </a>
249
+ </td> <td class='lines_total'> <tt> 32 </tt> </td> <td class='lines_code'>
250
+ <tt> 21 </tt> </td> <td> <table cellspacing='0' align='right'
251
+ cellpadding='0'> <tr> <td> <tt class='coverage_total'> 84.4% </tt> &nbsp;
252
+ </td> <td> <table class='percent_graph' cellspacing='0' width='100'
253
+ cellpadding='0'> <tr> <td class='covered' width='84' /> <td
254
+ class='uncovered' width='16' /> </tr> </table> </td> </tr> </table> </td>
255
+ <td> <table cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
256
+ class='coverage_code'> 76.2% </tt> &nbsp; </td> <td> <table
257
+ class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
258
+ class='covered' width='76' /> <td class='uncovered' width='24' /> </tr>
259
+ </table> </td> </tr> </table> </td> </tr> </tbody> </table>
260
+ <hr />
261
+ <p> Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'> rcov
262
+ code coverage analysis tool for Ruby </a> version 0.8.1.2. </p>
263
+ <p>
264
+ <a href='http://validator.w3.org/check/referer'>
265
+ <img src='http://www.w3.org/Icons/valid-xhtml11' height='31' alt='Valid XHTML 1.1!' width='88' />
266
+ </a>
267
+ <a href='http://jigsaw.w3.org/css-validator/check/referer'>
268
+ <img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px' />
269
+ </a>
270
+ </p>
271
+ </body>
272
+ </html>