icalendar 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. data/History.txt +3 -0
  2. data/Manifest.txt +61 -0
  3. data/PostInstall.txt +5 -0
  4. data/{README → README.rdoc} +4 -0
  5. data/Rakefile +28 -133
  6. data/config/website.yml +2 -0
  7. data/icalendar.gemspec +55 -0
  8. data/lib/icalendar/base.rb +2 -0
  9. data/lib/icalendar/component.rb +9 -7
  10. data/script/console +10 -0
  11. data/script/destroy +14 -0
  12. data/script/generate +14 -0
  13. data/script/recur1.ics +38 -0
  14. data/script/tryit.rb +13 -0
  15. data/script/txt2html +71 -0
  16. data/test.ical +33 -0
  17. data/test.ics +33 -0
  18. data/test.rb +48 -0
  19. data/test/component/{event_test.rb → test_event.rb} +0 -0
  20. data/test/component/{timezone_test.rb → test_timezone.rb} +1 -1
  21. data/test/component/{todo_test.rb → test_todo.rb} +0 -0
  22. data/test/fixtures/folding.ics +7 -7
  23. data/test/{calendar_test.rb → test_calendar.rb} +1 -4
  24. data/test/{component_test.rb → test_component.rb} +0 -0
  25. data/test/{conversions_test.rb → test_conversions.rb} +8 -8
  26. data/test/test_helper.rb +3 -0
  27. data/test/{parameter_test.rb → test_parameter.rb} +4 -0
  28. data/test/{parser_test.rb → test_parser.rb} +0 -0
  29. data/test2.rb +28 -0
  30. data/website/index.html +11 -0
  31. data/website/index.txt +79 -0
  32. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  33. data/website/stylesheets/screen.css +159 -0
  34. data/website/template.html.erb +50 -0
  35. metadata +135 -135
  36. data/docs/api/classes/Array.html +0 -155
  37. data/docs/api/classes/Bignum.html +0 -148
  38. data/docs/api/classes/Date.html +0 -172
  39. data/docs/api/classes/DateTime.html +0 -200
  40. data/docs/api/classes/Fixnum.html +0 -148
  41. data/docs/api/classes/Float.html +0 -148
  42. data/docs/api/classes/HashAttrs.html +0 -212
  43. data/docs/api/classes/Icalendar/Alarm.html +0 -228
  44. data/docs/api/classes/Icalendar/Base.html +0 -179
  45. data/docs/api/classes/Icalendar/Calendar.html +0 -504
  46. data/docs/api/classes/Icalendar/Component.html +0 -853
  47. data/docs/api/classes/Icalendar/DateProp.html +0 -187
  48. data/docs/api/classes/Icalendar/DateProp/ClassMethods.html +0 -195
  49. data/docs/api/classes/Icalendar/Daylight.html +0 -156
  50. data/docs/api/classes/Icalendar/Event.html +0 -671
  51. data/docs/api/classes/Icalendar/Freebusy.html +0 -266
  52. data/docs/api/classes/Icalendar/Geo.html +0 -211
  53. data/docs/api/classes/Icalendar/InvalidPropertyValue.html +0 -117
  54. data/docs/api/classes/Icalendar/Journal.html +0 -443
  55. data/docs/api/classes/Icalendar/Parameter.html +0 -166
  56. data/docs/api/classes/Icalendar/Parser.html +0 -352
  57. data/docs/api/classes/Icalendar/RRule.html +0 -428
  58. data/docs/api/classes/Icalendar/RRule/Weekday.html +0 -199
  59. data/docs/api/classes/Icalendar/Standard.html +0 -156
  60. data/docs/api/classes/Icalendar/Timezone.html +0 -450
  61. data/docs/api/classes/Icalendar/Todo.html +0 -480
  62. data/docs/api/classes/Icalendar/TzidSupport.html +0 -118
  63. data/docs/api/classes/Icalendar/UnknownComponentClass.html +0 -117
  64. data/docs/api/classes/Icalendar/UnknownPropertyMethod.html +0 -117
  65. data/docs/api/classes/Object.html +0 -272
  66. data/docs/api/classes/String.html +0 -148
  67. data/docs/api/classes/TZInfo.html +0 -119
  68. data/docs/api/classes/TZInfo/Timezone.html +0 -153
  69. data/docs/api/classes/TZInfo/TimezonePeriod.html +0 -200
  70. data/docs/api/classes/TZInfo/TimezoneTransitionInfo.html +0 -229
  71. data/docs/api/classes/Time.html +0 -180
  72. data/docs/api/classes/URI.html +0 -111
  73. data/docs/api/classes/URI/Generic.html +0 -148
  74. data/docs/api/created.rid +0 -1
  75. data/docs/api/files/COPYING.html +0 -163
  76. data/docs/api/files/GPL.html +0 -531
  77. data/docs/api/files/README.html +0 -401
  78. data/docs/api/files/lib/hash_attrs_rb.html +0 -107
  79. data/docs/api/files/lib/icalendar/base_rb.html +0 -108
  80. data/docs/api/files/lib/icalendar/calendar_rb.html +0 -101
  81. data/docs/api/files/lib/icalendar/component/alarm_rb.html +0 -101
  82. data/docs/api/files/lib/icalendar/component/event_rb.html +0 -101
  83. data/docs/api/files/lib/icalendar/component/freebusy_rb.html +0 -101
  84. data/docs/api/files/lib/icalendar/component/journal_rb.html +0 -101
  85. data/docs/api/files/lib/icalendar/component/timezone_rb.html +0 -101
  86. data/docs/api/files/lib/icalendar/component/todo_rb.html +0 -101
  87. data/docs/api/files/lib/icalendar/component_rb.html +0 -108
  88. data/docs/api/files/lib/icalendar/conversions_rb.html +0 -109
  89. data/docs/api/files/lib/icalendar/helpers_rb.html +0 -101
  90. data/docs/api/files/lib/icalendar/parameter_rb.html +0 -101
  91. data/docs/api/files/lib/icalendar/parser_rb.html +0 -110
  92. data/docs/api/files/lib/icalendar/rrule_rb.html +0 -110
  93. data/docs/api/files/lib/icalendar/tzinfo_rb.html +0 -101
  94. data/docs/api/files/lib/icalendar_rb.html +0 -121
  95. data/docs/api/files/lib/meta_rb.html +0 -107
  96. data/docs/api/fr_class_index.html +0 -64
  97. data/docs/api/fr_file_index.html +0 -47
  98. data/docs/api/fr_method_index.html +0 -123
  99. data/docs/api/index.html +0 -24
  100. data/docs/api/rdoc-style.css +0 -208
  101. data/docs/rfcs/itip_notes.txt +0 -69
  102. data/docs/rfcs/rfc2425.pdf +0 -0
  103. data/docs/rfcs/rfc2426.pdf +0 -0
  104. data/docs/rfcs/rfc2445.pdf +0 -0
  105. data/docs/rfcs/rfc2446.pdf +0 -0
  106. data/docs/rfcs/rfc2447.pdf +0 -0
  107. data/docs/rfcs/rfc3283.txt +0 -738
  108. data/test/coverage/STUB +0 -0
  109. data/test/coverage/index.html +0 -272
  110. data/test/coverage/lib-hash_attrs_rb.html +0 -235
  111. data/test/coverage/lib-icalendar-base_rb.html +0 -249
  112. data/test/coverage/lib-icalendar-calendar_rb.html +0 -324
  113. data/test/coverage/lib-icalendar-component-alarm_rb.html +0 -250
  114. data/test/coverage/lib-icalendar-component-event_rb.html +0 -353
  115. data/test/coverage/lib-icalendar-component-freebusy_rb.html +0 -245
  116. data/test/coverage/lib-icalendar-component-journal_rb.html +0 -278
  117. data/test/coverage/lib-icalendar-component-timezone_rb.html +0 -326
  118. data/test/coverage/lib-icalendar-component-todo_rb.html +0 -277
  119. data/test/coverage/lib-icalendar-component_rb.html +0 -733
  120. data/test/coverage/lib-icalendar-conversions_rb.html +0 -358
  121. data/test/coverage/lib-icalendar-parser_rb.html +0 -671
  122. data/test/coverage/lib-icalendar-rrule_rb.html +0 -357
  123. data/test/coverage/lib-icalendar_rb.html +0 -243
  124. data/test/coverage/lib-meta_rb.html +0 -234
@@ -1,357 +0,0 @@
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
- lib/icalendar/rrule.rb - 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
- <style type='text/css'>
51
- span.run0 { background-color: rgb(178, 204, 255); display: block; }
52
- span.run1 { background-color: rgb(178, 206, 255); display: block; }
53
- span.run2 { background-color: rgb(178, 209, 255); display: block; }
54
- span.run3 { background-color: rgb(178, 211, 255); display: block; }
55
- span.run4 { background-color: rgb(178, 214, 255); display: block; }
56
- span.run5 { background-color: rgb(178, 218, 255); display: block; }
57
- span.run6 { background-color: rgb(178, 220, 255); display: block; }
58
- span.run7 { background-color: rgb(178, 223, 255); display: block; }
59
- span.run8 { background-color: rgb(178, 225, 255); display: block; }
60
- span.run9 { background-color: rgb(178, 228, 255); display: block; }
61
- span.run10 { background-color: rgb(178, 232, 255); display: block; }
62
- span.run11 { background-color: rgb(178, 234, 255); display: block; }
63
- span.run12 { background-color: rgb(178, 237, 255); display: block; }
64
- span.run13 { background-color: rgb(178, 239, 255); display: block; }
65
- span.run14 { background-color: rgb(178, 242, 255); display: block; }
66
- span.run15 { background-color: rgb(178, 246, 255); display: block; }
67
- span.run16 { background-color: rgb(178, 248, 255); display: block; }
68
- span.run17 { background-color: rgb(178, 251, 255); display: block; }
69
- span.run18 { background-color: rgb(178, 253, 255); display: block; }
70
- span.run19 { background-color: rgb(178, 255, 253); display: block; }
71
- span.run20 { background-color: rgb(178, 255, 249); display: block; }
72
- span.run21 { background-color: rgb(178, 255, 247); display: block; }
73
- span.run22 { background-color: rgb(178, 255, 244); display: block; }
74
- span.run23 { background-color: rgb(178, 255, 242); display: block; }
75
- span.run24 { background-color: rgb(178, 255, 239); display: block; }
76
- span.run25 { background-color: rgb(178, 255, 235); display: block; }
77
- span.run26 { background-color: rgb(178, 255, 233); display: block; }
78
- span.run27 { background-color: rgb(178, 255, 230); display: block; }
79
- span.run28 { background-color: rgb(178, 255, 228); display: block; }
80
- span.run29 { background-color: rgb(178, 255, 225); display: block; }
81
- span.run30 { background-color: rgb(178, 255, 221); display: block; }
82
- span.run31 { background-color: rgb(178, 255, 219); display: block; }
83
- span.run32 { background-color: rgb(178, 255, 216); display: block; }
84
- span.run33 { background-color: rgb(178, 255, 214); display: block; }
85
- span.run34 { background-color: rgb(178, 255, 211); display: block; }
86
- span.run35 { background-color: rgb(178, 255, 207); display: block; }
87
- span.run36 { background-color: rgb(178, 255, 205); display: block; }
88
- span.run37 { background-color: rgb(178, 255, 202); display: block; }
89
- span.run38 { background-color: rgb(178, 255, 200); display: block; }
90
- span.run39 { background-color: rgb(178, 255, 197); display: block; }
91
- span.run40 { background-color: rgb(178, 255, 193); display: block; }
92
- span.run41 { background-color: rgb(178, 255, 191); display: block; }
93
- span.run42 { background-color: rgb(178, 255, 188); display: block; }
94
- span.run43 { background-color: rgb(178, 255, 186); display: block; }
95
- span.run44 { background-color: rgb(178, 255, 183); display: block; }
96
- span.run45 { background-color: rgb(178, 255, 179); display: block; }
97
- span.run46 { background-color: rgb(179, 255, 178); display: block; }
98
- span.run47 { background-color: rgb(182, 255, 178); display: block; }
99
- span.run48 { background-color: rgb(184, 255, 178); display: block; }
100
- span.run49 { background-color: rgb(187, 255, 178); display: block; }
101
- span.run50 { background-color: rgb(191, 255, 178); display: block; }
102
- span.run51 { background-color: rgb(193, 255, 178); display: block; }
103
- span.run52 { background-color: rgb(196, 255, 178); display: block; }
104
- span.run53 { background-color: rgb(198, 255, 178); display: block; }
105
- span.run54 { background-color: rgb(201, 255, 178); display: block; }
106
- span.run55 { background-color: rgb(205, 255, 178); display: block; }
107
- span.run56 { background-color: rgb(207, 255, 178); display: block; }
108
- span.run57 { background-color: rgb(210, 255, 178); display: block; }
109
- span.run58 { background-color: rgb(212, 255, 178); display: block; }
110
- span.run59 { background-color: rgb(215, 255, 178); display: block; }
111
- span.run60 { background-color: rgb(219, 255, 178); display: block; }
112
- span.run61 { background-color: rgb(221, 255, 178); display: block; }
113
- span.run62 { background-color: rgb(224, 255, 178); display: block; }
114
- span.run63 { background-color: rgb(226, 255, 178); display: block; }
115
- span.run64 { background-color: rgb(229, 255, 178); display: block; }
116
- span.run65 { background-color: rgb(233, 255, 178); display: block; }
117
- span.run66 { background-color: rgb(235, 255, 178); display: block; }
118
- span.run67 { background-color: rgb(238, 255, 178); display: block; }
119
- span.run68 { background-color: rgb(240, 255, 178); display: block; }
120
- span.run69 { background-color: rgb(243, 255, 178); display: block; }
121
- span.run70 { background-color: rgb(247, 255, 178); display: block; }
122
- span.run71 { background-color: rgb(249, 255, 178); display: block; }
123
- span.run72 { background-color: rgb(252, 255, 178); display: block; }
124
- span.run73 { background-color: rgb(255, 255, 178); display: block; }
125
- span.run74 { background-color: rgb(255, 252, 178); display: block; }
126
- span.run75 { background-color: rgb(255, 248, 178); display: block; }
127
- span.run76 { background-color: rgb(255, 246, 178); display: block; }
128
- span.run77 { background-color: rgb(255, 243, 178); display: block; }
129
- span.run78 { background-color: rgb(255, 240, 178); display: block; }
130
- span.run79 { background-color: rgb(255, 238, 178); display: block; }
131
- span.run80 { background-color: rgb(255, 234, 178); display: block; }
132
- span.run81 { background-color: rgb(255, 232, 178); display: block; }
133
- span.run82 { background-color: rgb(255, 229, 178); display: block; }
134
- span.run83 { background-color: rgb(255, 226, 178); display: block; }
135
- span.run84 { background-color: rgb(255, 224, 178); display: block; }
136
- span.run85 { background-color: rgb(255, 220, 178); display: block; }
137
- span.run86 { background-color: rgb(255, 218, 178); display: block; }
138
- span.run87 { background-color: rgb(255, 215, 178); display: block; }
139
- span.run88 { background-color: rgb(255, 212, 178); display: block; }
140
- span.run89 { background-color: rgb(255, 210, 178); display: block; }
141
- span.run90 { background-color: rgb(255, 206, 178); display: block; }
142
- span.run91 { background-color: rgb(255, 204, 178); display: block; }
143
- span.run92 { background-color: rgb(255, 201, 178); display: block; }
144
- span.run93 { background-color: rgb(255, 198, 178); display: block; }
145
- span.run94 { background-color: rgb(255, 196, 178); display: block; }
146
- span.run95 { background-color: rgb(255, 192, 178); display: block; }
147
- span.run96 { background-color: rgb(255, 189, 178); display: block; }
148
- span.run97 { background-color: rgb(255, 187, 178); display: block; }
149
- span.run98 { background-color: rgb(255, 184, 178); display: block; }
150
- span.run99 { background-color: rgb(255, 182, 178); display: block; }
151
- span.run100 { background-color: rgb(255, 178, 178); display: block; }
152
- </style>
153
- </head>
154
- <body>
155
- <h3>
156
- C0 code coverage information
157
- </h3>
158
- <p>
159
- Generated on Sun Mar 29 23:07:04 -0400 2009 with
160
- <a href='http://eigenclass.org/hiki/rcov'>
161
- rcov 0.8.1.2
162
- </a>
163
- </p>
164
- <hr />
165
- <pre><span class='marked0'>Code reported as executed by Ruby looks like
166
- this... </span><span class='marked1'>and this: this line is also marked as
167
- covered. </span><span class='inferred0'>Lines considered as run by rcov, but
168
- not reported by Ruby, look like this, </span><span class='inferred1'>and
169
- this: these lines were inferred by rcov (using simple heuristics).
170
- </span><span class='uncovered0'>Finally, here&apos;s a line marked as not
171
- executed. </span></pre>
172
- <table class='report'> <thead> <tr> <td class='heading'> Name </td> <td
173
- class='heading'> Total lines </td> <td class='heading'> Lines of code </td>
174
- <td class='heading'> Total coverage </td> <td class='heading'> Code coverage
175
- </td> </tr> </thead> <tbody> <tr class='light'> <td> <a
176
- href='lib-icalendar-rrule_rb.html'> lib/icalendar/rrule.rb </a> </td> <td
177
- class='lines_total'> <tt> 126 </tt> </td> <td class='lines_code'> <tt> 92
178
- </tt> </td> <td> <table cellspacing='0' align='right' cellpadding='0'> <tr>
179
- <td> <tt class='coverage_total'> 82.5% </tt> &nbsp; </td> <td> <table
180
- class='percent_graph' cellspacing='0' width='100' cellpadding='0'> <tr> <td
181
- class='covered' width='83' /> <td class='uncovered' width='17' /> </tr>
182
- </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
183
- align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 76.1%
184
- </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
185
- width='100' cellpadding='0'> <tr> <td class='covered' width='76' /> <td
186
- class='uncovered' width='24' /> </tr> </table> </td> </tr> </table> </td>
187
- </tr> </tbody> </table><pre><span class="inferred1"><a name="line1"></a> 1
188
- =begin </span><span class="inferred0"><a name="line2"></a> 2 Copyright (C)
189
- 2008 Rick (http://github.com/rubyredrick) </span><span class="inferred1"><a
190
- name="line3"></a> 3 </span><span class="inferred0"><a name="line4"></a> 4
191
- This library is free software; you can redistribute it and/or modify it
192
- </span><span class="inferred1"><a name="line5"></a> 5 under the same terms
193
- as the ruby language itself, see the file COPYING for </span><span
194
- class="inferred0"><a name="line6"></a> 6 details. </span><span
195
- class="inferred1"><a name="line7"></a> 7 =end </span><span
196
- class="inferred0"><a name="line8"></a> 8 </span><span class="marked1"><a
197
- name="line9"></a> 9 require 'date' </span><span class="marked0"><a
198
- name="line10"></a> 10 require 'uri' </span><span class="marked1"><a
199
- name="line11"></a> 11 require 'stringio' </span><span class="inferred0"><a
200
- name="line12"></a> 12 </span><span class="marked1"><a name="line13"></a> 13
201
- module Icalendar </span><span class="inferred0"><a name="line14"></a> 14
202
- </span><span class="inferred1"><a name="line15"></a> 15 # This class is not
203
- yet fully functional.. </span><span class="inferred0"><a name="line16"></a>
204
- 16 # </span><span class="inferred1"><a name="line17"></a> 17 # Gem versions
205
- &lt; 1.1.0.0 used to return a string for the recurrence_rule component,
206
- </span><span class="inferred0"><a name="line18"></a> 18 # but now it returns
207
- this Icalendar::RRule class. ie It's not backwards compatible! </span><span
208
- class="inferred1"><a name="line19"></a> 19 # </span><span
209
- class="inferred0"><a name="line20"></a> 20 # To get the original RRULE value
210
- from a parsed feed, use the 'orig_value' property. </span><span
211
- class="inferred1"><a name="line21"></a> 21 # </span><span
212
- class="inferred0"><a name="line22"></a> 22 # Example: </span><span
213
- class="inferred1"><a name="line23"></a> 23 # rules =
214
- event.recurrence_rules.map{ |rule| rule.orig_value } </span><span
215
- class="inferred0"><a name="line24"></a> 24 </span><span class="marked1"><a
216
- name="line25"></a> 25 class RRule &lt; Icalendar::Base </span><span
217
- class="inferred0"><a name="line26"></a> 26 </span><span class="marked1"><a
218
- name="line27"></a> 27 class Weekday </span><span class="marked0"><a
219
- name="line28"></a> 28 def initialize(day, position) </span><span
220
- class="uncovered1"><a name="line29"></a> 29 @day, @position = day, position
221
- </span><span class="uncovered0"><a name="line30"></a> 30 end </span><span
222
- class="inferred1"><a name="line31"></a> 31 </span><span class="marked0"><a
223
- name="line32"></a> 32 def to_s </span><span class="uncovered1"><a
224
- name="line33"></a> 33 &quot;#{@position}#{@day}&quot; </span><span
225
- class="uncovered0"><a name="line34"></a> 34 end </span><span
226
- class="uncovered1"><a name="line35"></a> 35 end </span><span
227
- class="inferred0"><a name="line36"></a> 36 </span><span class="marked1"><a
228
- name="line37"></a> 37 def initialize(name, params, value, parser)
229
- </span><span class="marked0"><a name="line38"></a> 38 @value = value
230
- </span><span class="marked1"><a name="line39"></a> 39 frequency_match =
231
- value.match(/FREQ=(SECONDLY|MINUTELY|HOURLY|DAILY|WEEKLY|MONTHLY|YEARLY)/)
232
- </span><span class="marked0"><a name="line40"></a> 40 raise
233
- Icalendar::InvalidPropertyValue.new(&quot;FREQ must be specified for RRULE
234
- values&quot;) unless frequency_match </span><span class="marked1"><a
235
- name="line41"></a> 41 @frequency = frequency_match[1] </span><span
236
- class="marked0"><a name="line42"></a> 42 @until =
237
- parse_date_val(&quot;UNTIL&quot;, value) </span><span class="marked1"><a
238
- name="line43"></a> 43 @count = parse_int_val(&quot;COUNT&quot;, value)
239
- </span><span class="marked0"><a name="line44"></a> 44 raise
240
- Icalendar::InvalidPropertyValue.new(&quot;UNTIL and COUNT must not both be
241
- specified for RRULE values&quot;) if [@until, @count].compact.length &gt; 1
242
- </span><span class="marked1"><a name="line45"></a> 45 @interval =
243
- parse_int_val(&quot;INTERVAL&quot;, value) </span><span class="marked0"><a
244
- name="line46"></a> 46 @by_list = {:bysecond =&gt;
245
- parse_int_list(&quot;BYSECOND&quot;, value)} </span><span class="marked1"><a
246
- name="line47"></a> 47 @by_list[:byminute] =
247
- parse_int_list(&quot;BYMINUTE&quot;,value) </span><span class="marked0"><a
248
- name="line48"></a> 48 @by_list[:byhour] = parse_int_list(&quot;BYHOUR&quot;,
249
- value) </span><span class="marked1"><a name="line49"></a> 49
250
- @by_list[:byday] = parse_weekday_list(&quot;BYDAY&quot;, value) </span><span
251
- class="marked0"><a name="line50"></a> 50 @by_list[:bymonthday] =
252
- parse_int_list(&quot;BYMONTHDAY&quot;, value) </span><span
253
- class="marked1"><a name="line51"></a> 51 @by_list[:byyearday] =
254
- parse_int_list(&quot;BYYEARDAY&quot;, value) </span><span class="marked0"><a
255
- name="line52"></a> 52 @by_list[:byweekno] =
256
- parse_int_list(&quot;BYWEEKNO&quot;, value) </span><span class="marked1"><a
257
- name="line53"></a> 53 @by_list[:bymonth] =
258
- parse_int_list(&quot;BYMONTH&quot;, value) </span><span class="marked0"><a
259
- name="line54"></a> 54 @by_list[:bysetpos] =
260
- parse_int_list(&quot;BYSETPOS&quot;, value) </span><span class="marked1"><a
261
- name="line55"></a> 55 @wkst = parse_wkstart(value) </span><span
262
- class="inferred0"><a name="line56"></a> 56 end </span><span
263
- class="inferred1"><a name="line57"></a> 57 </span><span class="inferred0"><a
264
- name="line58"></a> 58 # Returns the original pre-parsed RRULE value.
265
- </span><span class="marked1"><a name="line59"></a> 59 def orig_value
266
- </span><span class="uncovered0"><a name="line60"></a> 60 @value </span><span
267
- class="uncovered1"><a name="line61"></a> 61 end </span><span
268
- class="inferred0"><a name="line62"></a> 62 </span><span class="marked1"><a
269
- name="line63"></a> 63 def to_ical </span><span class="uncovered0"><a
270
- name="line64"></a> 64 result = [&quot;FREQ=#{@frequency}&quot;] </span><span
271
- class="uncovered1"><a name="line65"></a> 65 result &lt;&lt;
272
- &quot;;UNTIL=#{@until.to_ical}&quot; if @until </span><span
273
- class="uncovered0"><a name="line66"></a> 66 result &lt;&lt;
274
- &quot;;COUNT=#{@count}&quot; if @count </span><span class="uncovered1"><a
275
- name="line67"></a> 67 result &lt;&lt; &quot;;INTERVAL=#{@interval}&quot; if
276
- @interval </span><span class="uncovered0"><a name="line68"></a> 68
277
- @by_list.each do |key, value| </span><span class="uncovered1"><a
278
- name="line69"></a> 69 result &lt;&lt;
279
- &quot;;#{key.to_s.upcase}=#{value}&quot; if value </span><span
280
- class="uncovered0"><a name="line70"></a> 70 end </span><span
281
- class="uncovered1"><a name="line71"></a> 71 result &lt;&lt;
282
- &quot;;WKST=#{@wkst}&quot; if @wkst </span><span class="uncovered0"><a
283
- name="line72"></a> 72 result.join </span><span class="uncovered1"><a
284
- name="line73"></a> 73 end </span><span class="inferred0"><a
285
- name="line74"></a> 74 </span><span class="marked1"><a name="line75"></a> 75
286
- def parse_date_val(name, string) </span><span class="marked0"><a
287
- name="line76"></a> 76 match = string.match(/;#{name}=(.*?)(;|$)/)
288
- </span><span class="marked1"><a name="line77"></a> 77 match ?
289
- DateTime.parse(match[1]) : nil </span><span class="inferred0"><a
290
- name="line78"></a> 78 end </span><span class="inferred1"><a
291
- name="line79"></a> 79 </span><span class="marked0"><a name="line80"></a> 80
292
- def parse_int_val(name, string) </span><span class="marked1"><a
293
- name="line81"></a> 81 match = string.match(/;#{name}=(\d+)(;|$)/)
294
- </span><span class="marked0"><a name="line82"></a> 82 match ? match[1].to_i
295
- : nil </span><span class="inferred1"><a name="line83"></a> 83 end
296
- </span><span class="inferred0"><a name="line84"></a> 84 </span><span
297
- class="marked1"><a name="line85"></a> 85 def parse_int_list(name, string)
298
- </span><span class="marked0"><a name="line86"></a> 86 match =
299
- string.match(/;#{name}=([+-]?.*?)(;|$)/) </span><span class="marked1"><a
300
- name="line87"></a> 87 if match </span><span class="uncovered0"><a
301
- name="line88"></a> 88 match[1].split(&quot;,&quot;).map {|int| int.to_i}
302
- </span><span class="inferred1"><a name="line89"></a> 89 else </span><span
303
- class="marked0"><a name="line90"></a> 90 nil </span><span
304
- class="inferred1"><a name="line91"></a> 91 end </span><span
305
- class="inferred0"><a name="line92"></a> 92 end </span><span
306
- class="inferred1"><a name="line93"></a> 93 </span><span class="marked0"><a
307
- name="line94"></a> 94 def parse_weekday_list(name, string) </span><span
308
- class="marked1"><a name="line95"></a> 95 match =
309
- string.match(/;#{name}=(.*?)(;|$)/) </span><span class="marked0"><a
310
- name="line96"></a> 96 if match </span><span class="uncovered1"><a
311
- name="line97"></a> 97 match[1].split(&quot;,&quot;).map {|weekday|
312
- </span><span class="uncovered0"><a name="line98"></a> 98 wd_match =
313
- weekday.match(/([+-]?\d*)(SU|MO|TU|WE|TH|FR|SA)/) </span><span
314
- class="uncovered1"><a name="line99"></a> 99 Weekday.new(wd_match[2],
315
- wd_match[1]) </span><span class="uncovered0"><a name="line100"></a>100 }
316
- </span><span class="inferred1"><a name="line101"></a>101 else </span><span
317
- class="marked0"><a name="line102"></a>102 nil </span><span
318
- class="inferred1"><a name="line103"></a>103 end </span><span
319
- class="inferred0"><a name="line104"></a>104 end </span><span
320
- class="inferred1"><a name="line105"></a>105 </span><span class="marked0"><a
321
- name="line106"></a>106 def parse_wkstart(string) </span><span
322
- class="marked1"><a name="line107"></a>107 match =
323
- string.match(/;WKSTART=(SU|MO|TU|WE|TH|FR|SA)(;|$)/) </span><span
324
- class="marked0"><a name="line108"></a>108 if match </span><span
325
- class="inferred1"><a name="line109"></a>109 %w{SU MO TU WE TH FR
326
- SA}.index(match[1]) </span><span class="inferred0"><a name="line110"></a>110
327
- else </span><span class="marked1"><a name="line111"></a>111 nil </span><span
328
- class="inferred0"><a name="line112"></a>112 end </span><span
329
- class="inferred1"><a name="line113"></a>113 end </span><span
330
- class="inferred0"><a name="line114"></a>114 </span><span
331
- class="inferred1"><a name="line115"></a>115 # TODO: Incomplete </span><span
332
- class="marked0"><a name="line116"></a>116 def
333
- occurrences_of_event_starting(event, datetime) </span><span
334
- class="marked1"><a name="line117"></a>117 initial_start = event.dtstart
335
- </span><span class="marked0"><a name="line118"></a>118 (0...@count).map
336
- {|day_offset| </span><span class="marked1"><a name="line119"></a>119
337
- occurrence = event.clone </span><span class="marked0"><a
338
- name="line120"></a>120 occurrence.dtstart = initial_start + day_offset
339
- </span><span class="marked1"><a name="line121"></a>121 occurrence.clone
340
- </span><span class="inferred0"><a name="line122"></a>122 } </span><span
341
- class="inferred1"><a name="line123"></a>123 end </span><span
342
- class="inferred0"><a name="line124"></a>124 end </span><span
343
- class="inferred1"><a name="line125"></a>125 </span><span
344
- class="inferred0"><a name="line126"></a>126 end </span></pre>
345
- <hr />
346
- <p> Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'> rcov
347
- code coverage analysis tool for Ruby </a> version 0.8.1.2. </p>
348
- <p>
349
- <a href='http://validator.w3.org/check/referer'>
350
- <img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88' />
351
- </a>
352
- <a href='http://jigsaw.w3.org/css-validator/check/referer'>
353
- <img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px' />
354
- </a>
355
- </p>
356
- </body>
357
- </html>
@@ -1,243 +0,0 @@
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
- lib/icalendar.rb - 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
- <style type='text/css'>
51
- span.run0 { background-color: rgb(178, 204, 255); display: block; }
52
- span.run1 { background-color: rgb(178, 206, 255); display: block; }
53
- span.run2 { background-color: rgb(178, 209, 255); display: block; }
54
- span.run3 { background-color: rgb(178, 211, 255); display: block; }
55
- span.run4 { background-color: rgb(178, 214, 255); display: block; }
56
- span.run5 { background-color: rgb(178, 218, 255); display: block; }
57
- span.run6 { background-color: rgb(178, 220, 255); display: block; }
58
- span.run7 { background-color: rgb(178, 223, 255); display: block; }
59
- span.run8 { background-color: rgb(178, 225, 255); display: block; }
60
- span.run9 { background-color: rgb(178, 228, 255); display: block; }
61
- span.run10 { background-color: rgb(178, 232, 255); display: block; }
62
- span.run11 { background-color: rgb(178, 234, 255); display: block; }
63
- span.run12 { background-color: rgb(178, 237, 255); display: block; }
64
- span.run13 { background-color: rgb(178, 239, 255); display: block; }
65
- span.run14 { background-color: rgb(178, 242, 255); display: block; }
66
- span.run15 { background-color: rgb(178, 246, 255); display: block; }
67
- span.run16 { background-color: rgb(178, 248, 255); display: block; }
68
- span.run17 { background-color: rgb(178, 251, 255); display: block; }
69
- span.run18 { background-color: rgb(178, 253, 255); display: block; }
70
- span.run19 { background-color: rgb(178, 255, 253); display: block; }
71
- span.run20 { background-color: rgb(178, 255, 249); display: block; }
72
- span.run21 { background-color: rgb(178, 255, 247); display: block; }
73
- span.run22 { background-color: rgb(178, 255, 244); display: block; }
74
- span.run23 { background-color: rgb(178, 255, 242); display: block; }
75
- span.run24 { background-color: rgb(178, 255, 239); display: block; }
76
- span.run25 { background-color: rgb(178, 255, 235); display: block; }
77
- span.run26 { background-color: rgb(178, 255, 233); display: block; }
78
- span.run27 { background-color: rgb(178, 255, 230); display: block; }
79
- span.run28 { background-color: rgb(178, 255, 228); display: block; }
80
- span.run29 { background-color: rgb(178, 255, 225); display: block; }
81
- span.run30 { background-color: rgb(178, 255, 221); display: block; }
82
- span.run31 { background-color: rgb(178, 255, 219); display: block; }
83
- span.run32 { background-color: rgb(178, 255, 216); display: block; }
84
- span.run33 { background-color: rgb(178, 255, 214); display: block; }
85
- span.run34 { background-color: rgb(178, 255, 211); display: block; }
86
- span.run35 { background-color: rgb(178, 255, 207); display: block; }
87
- span.run36 { background-color: rgb(178, 255, 205); display: block; }
88
- span.run37 { background-color: rgb(178, 255, 202); display: block; }
89
- span.run38 { background-color: rgb(178, 255, 200); display: block; }
90
- span.run39 { background-color: rgb(178, 255, 197); display: block; }
91
- span.run40 { background-color: rgb(178, 255, 193); display: block; }
92
- span.run41 { background-color: rgb(178, 255, 191); display: block; }
93
- span.run42 { background-color: rgb(178, 255, 188); display: block; }
94
- span.run43 { background-color: rgb(178, 255, 186); display: block; }
95
- span.run44 { background-color: rgb(178, 255, 183); display: block; }
96
- span.run45 { background-color: rgb(178, 255, 179); display: block; }
97
- span.run46 { background-color: rgb(179, 255, 178); display: block; }
98
- span.run47 { background-color: rgb(182, 255, 178); display: block; }
99
- span.run48 { background-color: rgb(184, 255, 178); display: block; }
100
- span.run49 { background-color: rgb(187, 255, 178); display: block; }
101
- span.run50 { background-color: rgb(191, 255, 178); display: block; }
102
- span.run51 { background-color: rgb(193, 255, 178); display: block; }
103
- span.run52 { background-color: rgb(196, 255, 178); display: block; }
104
- span.run53 { background-color: rgb(198, 255, 178); display: block; }
105
- span.run54 { background-color: rgb(201, 255, 178); display: block; }
106
- span.run55 { background-color: rgb(205, 255, 178); display: block; }
107
- span.run56 { background-color: rgb(207, 255, 178); display: block; }
108
- span.run57 { background-color: rgb(210, 255, 178); display: block; }
109
- span.run58 { background-color: rgb(212, 255, 178); display: block; }
110
- span.run59 { background-color: rgb(215, 255, 178); display: block; }
111
- span.run60 { background-color: rgb(219, 255, 178); display: block; }
112
- span.run61 { background-color: rgb(221, 255, 178); display: block; }
113
- span.run62 { background-color: rgb(224, 255, 178); display: block; }
114
- span.run63 { background-color: rgb(226, 255, 178); display: block; }
115
- span.run64 { background-color: rgb(229, 255, 178); display: block; }
116
- span.run65 { background-color: rgb(233, 255, 178); display: block; }
117
- span.run66 { background-color: rgb(235, 255, 178); display: block; }
118
- span.run67 { background-color: rgb(238, 255, 178); display: block; }
119
- span.run68 { background-color: rgb(240, 255, 178); display: block; }
120
- span.run69 { background-color: rgb(243, 255, 178); display: block; }
121
- span.run70 { background-color: rgb(247, 255, 178); display: block; }
122
- span.run71 { background-color: rgb(249, 255, 178); display: block; }
123
- span.run72 { background-color: rgb(252, 255, 178); display: block; }
124
- span.run73 { background-color: rgb(255, 255, 178); display: block; }
125
- span.run74 { background-color: rgb(255, 252, 178); display: block; }
126
- span.run75 { background-color: rgb(255, 248, 178); display: block; }
127
- span.run76 { background-color: rgb(255, 246, 178); display: block; }
128
- span.run77 { background-color: rgb(255, 243, 178); display: block; }
129
- span.run78 { background-color: rgb(255, 240, 178); display: block; }
130
- span.run79 { background-color: rgb(255, 238, 178); display: block; }
131
- span.run80 { background-color: rgb(255, 234, 178); display: block; }
132
- span.run81 { background-color: rgb(255, 232, 178); display: block; }
133
- span.run82 { background-color: rgb(255, 229, 178); display: block; }
134
- span.run83 { background-color: rgb(255, 226, 178); display: block; }
135
- span.run84 { background-color: rgb(255, 224, 178); display: block; }
136
- span.run85 { background-color: rgb(255, 220, 178); display: block; }
137
- span.run86 { background-color: rgb(255, 218, 178); display: block; }
138
- span.run87 { background-color: rgb(255, 215, 178); display: block; }
139
- span.run88 { background-color: rgb(255, 212, 178); display: block; }
140
- span.run89 { background-color: rgb(255, 210, 178); display: block; }
141
- span.run90 { background-color: rgb(255, 206, 178); display: block; }
142
- span.run91 { background-color: rgb(255, 204, 178); display: block; }
143
- span.run92 { background-color: rgb(255, 201, 178); display: block; }
144
- span.run93 { background-color: rgb(255, 198, 178); display: block; }
145
- span.run94 { background-color: rgb(255, 196, 178); display: block; }
146
- span.run95 { background-color: rgb(255, 192, 178); display: block; }
147
- span.run96 { background-color: rgb(255, 189, 178); display: block; }
148
- span.run97 { background-color: rgb(255, 187, 178); display: block; }
149
- span.run98 { background-color: rgb(255, 184, 178); display: block; }
150
- span.run99 { background-color: rgb(255, 182, 178); display: block; }
151
- span.run100 { background-color: rgb(255, 178, 178); display: block; }
152
- </style>
153
- </head>
154
- <body>
155
- <h3>
156
- C0 code coverage information
157
- </h3>
158
- <p>
159
- Generated on Sun Mar 29 23:07:03 -0400 2009 with
160
- <a href='http://eigenclass.org/hiki/rcov'>
161
- rcov 0.8.1.2
162
- </a>
163
- </p>
164
- <hr />
165
- <pre><span class='marked0'>Code reported as executed by Ruby looks like
166
- this... </span><span class='marked1'>and this: this line is also marked as
167
- covered. </span><span class='inferred0'>Lines considered as run by rcov, but
168
- not reported by Ruby, look like this, </span><span class='inferred1'>and
169
- this: these lines were inferred by rcov (using simple heuristics).
170
- </span><span class='uncovered0'>Finally, here&apos;s a line marked as not
171
- executed. </span></pre>
172
- <table class='report'> <thead> <tr> <td class='heading'> Name </td> <td
173
- class='heading'> Total lines </td> <td class='heading'> Lines of code </td>
174
- <td class='heading'> Total coverage </td> <td class='heading'> Code coverage
175
- </td> </tr> </thead> <tbody> <tr class='light'> <td> <a
176
- href='lib-icalendar_rb.html'> lib/icalendar.rb </a> </td> <td
177
- class='lines_total'> <tt> 39 </tt> </td> <td class='lines_code'> <tt> 15
178
- </tt> </td> <td> <table cellspacing='0' align='right' cellpadding='0'> <tr>
179
- <td> <tt 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> </tbody> </table><pre><span class="inferred1"><a name="line1"></a> 1
188
- =begin </span><span class="inferred0"><a name="line2"></a> 2 Copyright (C)
189
- 2005 Jeff Rose </span><span class="inferred1"><a name="line3"></a> 3
190
- </span><span class="inferred0"><a name="line4"></a> 4 This library is free
191
- software; you can redistribute it and/or modify it </span><span
192
- class="inferred1"><a name="line5"></a> 5 under the same terms as the ruby
193
- language itself, see the file COPYING for </span><span class="inferred0"><a
194
- name="line6"></a> 6 details. </span><span class="inferred1"><a
195
- name="line7"></a> 7 =end </span><span class="inferred0"><a name="line8"></a>
196
- 8 </span><span class="marked1"><a name="line9"></a> 9
197
- $:.unshift(File.dirname(__FILE__)) </span><span class="inferred0"><a
198
- name="line10"></a>10 </span><span class="inferred1"><a name="line11"></a>11
199
- ### Base classes and mixin modules </span><span class="inferred0"><a
200
- name="line12"></a>12 </span><span class="inferred1"><a name="line13"></a>13
201
- # to_ical methods for built-in classes </span><span class="marked0"><a
202
- name="line14"></a>14 require 'icalendar/conversions' </span><span
203
- class="inferred1"><a name="line15"></a>15 </span><span class="inferred0"><a
204
- name="line16"></a>16 # Meta-programming helper methods </span><span
205
- class="marked1"><a name="line17"></a>17 require 'meta' </span><span
206
- class="inferred0"><a name="line18"></a>18 </span><span class="inferred1"><a
207
- name="line19"></a>19 # Hash attributes mixin module </span><span
208
- class="marked0"><a name="line20"></a>20 require 'hash_attrs' </span><span
209
- class="inferred1"><a name="line21"></a>21 </span><span class="marked0"><a
210
- name="line22"></a>22 require 'icalendar/base' </span><span
211
- class="marked1"><a name="line23"></a>23 require 'icalendar/component'
212
- </span><span class="marked0"><a name="line24"></a>24 require
213
- 'icalendar/rrule' </span><span class="inferred1"><a name="line25"></a>25
214
- </span><span class="inferred0"><a name="line26"></a>26 # Calendar and
215
- components </span><span class="marked1"><a name="line27"></a>27 require
216
- 'icalendar/calendar' </span><span class="marked0"><a name="line28"></a>28
217
- require 'icalendar/component/event' </span><span class="marked1"><a
218
- name="line29"></a>29 require 'icalendar/component/journal' </span><span
219
- class="marked0"><a name="line30"></a>30 require 'icalendar/component/todo'
220
- </span><span class="marked1"><a name="line31"></a>31 require
221
- 'icalendar/component/freebusy' </span><span class="marked0"><a
222
- name="line32"></a>32 require 'icalendar/component/timezone' </span><span
223
- class="marked1"><a name="line33"></a>33 require 'icalendar/component/alarm'
224
- </span><span class="inferred0"><a name="line34"></a>34 </span><span
225
- class="inferred1"><a name="line35"></a>35 # Calendar parser </span><span
226
- class="marked0"><a name="line36"></a>36 require 'icalendar/parser'
227
- </span><span class="inferred1"><a name="line37"></a>37 </span><span
228
- class="inferred0"><a name="line38"></a>38 # TZINFO support </span><span
229
- class="inferred1"><a name="line39"></a>39 # require 'icalendar/tzinfo'
230
- </span></pre>
231
- <hr />
232
- <p> Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'> rcov
233
- code coverage analysis tool for Ruby </a> version 0.8.1.2. </p>
234
- <p>
235
- <a href='http://validator.w3.org/check/referer'>
236
- <img src='http://www.w3.org/Icons/valid-xhtml10' height='31' alt='Valid XHTML 1.0!' width='88' />
237
- </a>
238
- <a href='http://jigsaw.w3.org/css-validator/check/referer'>
239
- <img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px' />
240
- </a>
241
- </p>
242
- </body>
243
- </html>