sofa 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/.document +5 -0
  2. data/.yardopts +6 -0
  3. data/Rakefile +76 -0
  4. data/doc/Sofa.html +85 -0
  5. data/doc/Sofa/Mapping.html +168 -0
  6. data/doc/Sofa/Mapping/ClassMethods.html +314 -0
  7. data/doc/Sofa/Mapping/InstanceMethods.html +358 -0
  8. data/doc/Sofa/TVRage.html +85 -0
  9. data/doc/Sofa/TVRage/Episode.html +358 -0
  10. data/doc/Sofa/TVRage/Schedule.html +207 -0
  11. data/doc/Sofa/TVRage/Season.html +236 -0
  12. data/doc/Sofa/TVRage/Show.html +904 -0
  13. data/doc/Sofa/TVRage/Show/ShowNotFound.html +92 -0
  14. data/doc/Sofa/Version.html +100 -0
  15. data/doc/_index.html +206 -0
  16. data/doc/class_list.html +137 -0
  17. data/doc/css/common.css +1 -0
  18. data/doc/css/full_list.css +23 -0
  19. data/doc/css/style.css +261 -0
  20. data/doc/file.README.html +120 -0
  21. data/doc/file_list.html +29 -0
  22. data/doc/index.html +120 -0
  23. data/doc/js/app.js +91 -0
  24. data/doc/js/full_list.js +39 -0
  25. data/doc/js/jquery.js +19 -0
  26. data/doc/method_list.html +192 -0
  27. data/doc/top-level-namespace.html +80 -0
  28. data/lib/sofa.rb +7 -0
  29. data/lib/sofa/mapping.rb +108 -0
  30. data/lib/sofa/tvrage.rb +10 -0
  31. data/lib/sofa/tvrage/episode.rb +56 -0
  32. data/lib/sofa/tvrage/schedule.rb +25 -0
  33. data/lib/sofa/tvrage/season.rb +36 -0
  34. data/lib/sofa/tvrage/show.rb +132 -0
  35. data/lib/sofa/version.rb +8 -0
  36. data/sofa.gemspec +113 -0
  37. data/spec/fixtures/tvrage/cases/castle.xml +228 -0
  38. data/spec/fixtures/tvrage/cases/community.xml +109 -0
  39. data/spec/fixtures/tvrage/cases/live_with_regis_and_kelly.xml +56237 -0
  40. data/spec/fixtures/tvrage/episode_info.xml +30 -0
  41. data/spec/fixtures/tvrage/episode_list.xml +1183 -0
  42. data/spec/fixtures/tvrage/episode_list_one_season.xml +17 -0
  43. data/spec/fixtures/tvrage/episode_list_two_episodes.xml +25 -0
  44. data/spec/fixtures/tvrage/full_schedule.xml +4731 -0
  45. data/spec/fixtures/tvrage/full_show_info.xml +1291 -0
  46. data/spec/fixtures/tvrage/quickinfo.html +17 -0
  47. data/spec/fixtures/tvrage/quickinfo_missing.html +1 -0
  48. data/spec/fixtures/tvrage/search.xml +151 -0
  49. data/spec/fixtures/tvrage/show_info.xml +42 -0
  50. data/spec/fixtures/tvrage/show_info_blank.xml +3 -0
  51. data/spec/fixtures/tvrage/single_episode.xml +8 -0
  52. data/spec/spec.opts +1 -0
  53. metadata +57 -32
@@ -0,0 +1,92 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>Exception: Sofa::TVRage::Show::ShowNotFound</title>
7
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '../../..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <div id="header">
20
+ <div id="menu">
21
+
22
+ <a href="../../../_index.html">Index (S)</a> &raquo;
23
+ <a title="Sofa" href="../../../Sofa.html">Sofa</a> &raquo; <a title="TVRage" href="../../TVRage.html">TVRage</a> &raquo; <a title="Show" href="../Show.html">Show</a>
24
+ &raquo;
25
+ <span class="title">ShowNotFound</span>
26
+
27
+ </div>
28
+
29
+ <div id="search">
30
+ <a id="class_list_link" href="#">Namespace List</a>
31
+ <a id="method_list_link" href="#">Method List</a>
32
+ <a id ="file_list_link" href="#">File List</a>
33
+ </div>
34
+
35
+ <div class="clear"></div>
36
+ </div>
37
+
38
+ <iframe id="search_frame"></iframe>
39
+
40
+ <div id="content"><h1>Exception: Sofa::TVRage::Show::ShowNotFound
41
+
42
+
43
+ </h1>
44
+
45
+ <dl class="box">
46
+
47
+ <dt class="r1">Inherits:</dt>
48
+ <dd class="r1">
49
+ <span class="inheritName">RuntimeError</span>
50
+
51
+ <ul class="fullTree">
52
+ <li>Object</li>
53
+
54
+ <li class="next">RuntimeError</li>
55
+
56
+ <li class="next">Sofa::TVRage::Show::ShowNotFound</li>
57
+
58
+ </ul>
59
+ <a href="#" class="inheritanceTree">show all</a>
60
+
61
+ </dd>
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+ <dt class="r2 last">Defined in:</dt>
71
+ <dd class="r2 last">lib/sofa/tvrage/show.rb</dd>
72
+
73
+ </dl>
74
+ <div class="clear"></div>
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="footer">
86
+ Generated on Sat Nov 21 20:13:52 2009 by
87
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
88
+ 0.4.0 (ruby-1.8.7).
89
+ </div>
90
+
91
+ </body>
92
+ </html>
@@ -0,0 +1,100 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>Module: Sofa::Version</title>
7
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '..';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <div id="header">
20
+ <div id="menu">
21
+
22
+ <a href="../_index.html">Index (V)</a> &raquo;
23
+ <a title="Sofa" href="../Sofa.html">Sofa</a>
24
+ &raquo;
25
+ <span class="title">Version</span>
26
+
27
+ </div>
28
+
29
+ <div id="search">
30
+ <a id="class_list_link" href="#">Namespace List</a>
31
+ <a id="method_list_link" href="#">Method List</a>
32
+ <a id ="file_list_link" href="#">File List</a>
33
+ </div>
34
+
35
+ <div class="clear"></div>
36
+ </div>
37
+
38
+ <iframe id="search_frame"></iframe>
39
+
40
+ <div id="content"><h1>Module: Sofa::Version
41
+
42
+
43
+ </h1>
44
+
45
+ <dl class="box">
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+ <dt class="r1 last">Defined in:</dt>
54
+ <dd class="r1 last">lib/sofa/version.rb</dd>
55
+
56
+ </dl>
57
+ <div class="clear"></div>
58
+
59
+
60
+ <h2>Constant Summary</h2>
61
+
62
+ <dl class="constants">
63
+
64
+ <dt id="MAJOR-constant ">MAJOR =
65
+ <span class="summary_desc"></span>
66
+ </dt>
67
+ <dd><pre class="code">0</pre></dd>
68
+
69
+ <dt id="MINOR-constant ">MINOR =
70
+ <span class="summary_desc"></span>
71
+ </dt>
72
+ <dd><pre class="code">1</pre></dd>
73
+
74
+ <dt id="PATCH-constant ">PATCH =
75
+ <span class="summary_desc"></span>
76
+ </dt>
77
+ <dd><pre class="code">0</pre></dd>
78
+
79
+ <dt id="STRING-constant ">STRING =
80
+ <span class="summary_desc"></span>
81
+ </dt>
82
+ <dd><pre class="code">"#{MAJOR}.#{MINOR}.#{PATCH}"</pre></dd>
83
+
84
+ </dl>
85
+
86
+
87
+
88
+
89
+
90
+
91
+ </div>
92
+
93
+ <div id="footer">
94
+ Generated on Sat Nov 21 20:13:53 2009 by
95
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
96
+ 0.4.0 (ruby-1.8.7).
97
+ </div>
98
+
99
+ </body>
100
+ </html>
data/doc/_index.html ADDED
@@ -0,0 +1,206 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>Documentation by YARD 0.4.0</title>
7
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <div id="header">
20
+ <div id="menu">
21
+
22
+
23
+ <span class="title"></span>
24
+
25
+ </div>
26
+
27
+ <div id="search">
28
+ <a id="class_list_link" href="#">Namespace List</a>
29
+ <a id="method_list_link" href="#">Method List</a>
30
+ <a id ="file_list_link" href="#">File List</a>
31
+ </div>
32
+
33
+ <div class="clear"></div>
34
+ </div>
35
+
36
+ <iframe id="search_frame"></iframe>
37
+
38
+ <div id="content"><div id="listing">
39
+ <h1 class="noborder title">Documentation by YARD 0.4.0</h1>
40
+ <h1 class="alphaindex">Alphabetic Index</h1>
41
+
42
+
43
+ <h2>File Listing</h2>
44
+ <ul id="files">
45
+
46
+
47
+ <li class="r1"><a title="README" href="index.html">README</a></li>
48
+
49
+
50
+ </ul>
51
+
52
+ <div class="clear"></div>
53
+
54
+ <h2>Namespace Listing A-Z</h2>
55
+
56
+
57
+
58
+
59
+ <table>
60
+ <tr>
61
+ <td valign='top' width="33%">
62
+
63
+
64
+ <ul id="alpha_C" class="alpha">
65
+ <li class="letter">C</li>
66
+ <ul>
67
+
68
+ <li>
69
+ <a title="ClassMethods" href="Sofa/Mapping/ClassMethods.html">ClassMethods</a>
70
+
71
+ <small>(Sofa::Mapping)</small>
72
+
73
+ </li>
74
+
75
+ </ul>
76
+ </ul>
77
+
78
+
79
+ <ul id="alpha_E" class="alpha">
80
+ <li class="letter">E</li>
81
+ <ul>
82
+
83
+ <li>
84
+ <a title="Episode" href="Sofa/TVRage/Episode.html">Episode</a>
85
+
86
+ <small>(Sofa::TVRage)</small>
87
+
88
+ </li>
89
+
90
+ </ul>
91
+ </ul>
92
+
93
+
94
+ <ul id="alpha_I" class="alpha">
95
+ <li class="letter">I</li>
96
+ <ul>
97
+
98
+ <li>
99
+ <a title="InstanceMethods" href="Sofa/Mapping/InstanceMethods.html">InstanceMethods</a>
100
+
101
+ <small>(Sofa::Mapping)</small>
102
+
103
+ </li>
104
+
105
+ </ul>
106
+ </ul>
107
+
108
+
109
+ <ul id="alpha_M" class="alpha">
110
+ <li class="letter">M</li>
111
+ <ul>
112
+
113
+ <li>
114
+ <a title="Mapping" href="Sofa/Mapping.html">Mapping</a>
115
+
116
+ <small>(Sofa)</small>
117
+
118
+ </li>
119
+
120
+ </ul>
121
+ </ul>
122
+
123
+
124
+ <ul id="alpha_S" class="alpha">
125
+ <li class="letter">S</li>
126
+ <ul>
127
+
128
+ <li>
129
+ <a title="Schedule" href="Sofa/TVRage/Schedule.html">Schedule</a>
130
+
131
+ <small>(Sofa::TVRage)</small>
132
+
133
+ </li>
134
+
135
+ <li>
136
+ <a title="Season" href="Sofa/TVRage/Season.html">Season</a>
137
+
138
+ <small>(Sofa::TVRage)</small>
139
+
140
+ </li>
141
+
142
+ <li>
143
+ <a title="Show" href="Sofa/TVRage/Show.html">Show</a>
144
+
145
+ <small>(Sofa::TVRage)</small>
146
+
147
+ </li>
148
+
149
+ <li>
150
+ <a title="ShowNotFound" href="Sofa/TVRage/Show/ShowNotFound.html">ShowNotFound</a>
151
+
152
+ <small>(Sofa::TVRage::Show)</small>
153
+
154
+ </li>
155
+
156
+ <li>
157
+ <a title="Sofa" href="Sofa.html">Sofa</a>
158
+
159
+ </li>
160
+
161
+ </ul>
162
+ </ul>
163
+
164
+
165
+ <ul id="alpha_T" class="alpha">
166
+ <li class="letter">T</li>
167
+ <ul>
168
+
169
+ <li>
170
+ <a title="TVRage" href="Sofa/TVRage.html">TVRage</a>
171
+
172
+ <small>(Sofa)</small>
173
+
174
+ </li>
175
+
176
+ </ul>
177
+ </ul>
178
+
179
+
180
+ <ul id="alpha_V" class="alpha">
181
+ <li class="letter">V</li>
182
+ <ul>
183
+
184
+ <li>
185
+ <a title="Version" href="Sofa/Version.html">Version</a>
186
+
187
+ <small>(Sofa)</small>
188
+
189
+ </li>
190
+
191
+ </ul>
192
+ </ul>
193
+
194
+ </td>
195
+ </tr>
196
+ </table>
197
+ </div></div>
198
+
199
+ <div id="footer">
200
+ Generated on Sat Nov 21 20:13:52 2009 by
201
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
202
+ 0.4.0 (ruby-1.8.7).
203
+ </div>
204
+
205
+ </body>
206
+ </html>
@@ -0,0 +1,137 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=UTF-8" />
6
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
8
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
9
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
10
+ <base target="_parent" />
11
+ </head>
12
+ <body>
13
+ <h1 id="full_list_header">Namespace List</h1>
14
+ <div id="search">Search: <input type="text" /></div>
15
+ <div class="clear"></div>
16
+ <ul id="full_list">
17
+
18
+
19
+ <li class="r1 ">
20
+
21
+ <a href="top-level-namespace.html">Top Level Namespace</a>
22
+
23
+
24
+ </li>
25
+
26
+ <li class="r2 ">
27
+
28
+ <a title="ClassMethods" href="Sofa/Mapping/ClassMethods.html">ClassMethods</a>
29
+
30
+ <small>(Sofa::Mapping)</small>
31
+
32
+
33
+
34
+ </li>
35
+
36
+ <li class="r1 ">
37
+
38
+ <a title="Episode" href="Sofa/TVRage/Episode.html">Episode</a>
39
+
40
+ <small>(Sofa::TVRage)</small>
41
+
42
+
43
+
44
+ </li>
45
+
46
+ <li class="r2 ">
47
+
48
+ <a title="InstanceMethods" href="Sofa/Mapping/InstanceMethods.html">InstanceMethods</a>
49
+
50
+ <small>(Sofa::Mapping)</small>
51
+
52
+
53
+
54
+ </li>
55
+
56
+ <li class="r1 ">
57
+
58
+ <a title="Mapping" href="Sofa/Mapping.html">Mapping</a>
59
+
60
+ <small>(Sofa)</small>
61
+
62
+
63
+
64
+ </li>
65
+
66
+ <li class="r2 ">
67
+
68
+ <a title="Schedule" href="Sofa/TVRage/Schedule.html">Schedule</a>
69
+
70
+ <small>(Sofa::TVRage)</small>
71
+
72
+
73
+
74
+ </li>
75
+
76
+ <li class="r1 ">
77
+
78
+ <a title="Season" href="Sofa/TVRage/Season.html">Season</a>
79
+
80
+ <small>(Sofa::TVRage)</small>
81
+
82
+
83
+
84
+ </li>
85
+
86
+ <li class="r2 ">
87
+
88
+ <a title="Show" href="Sofa/TVRage/Show.html">Show</a>
89
+
90
+ <small>(Sofa::TVRage)</small>
91
+
92
+
93
+
94
+ </li>
95
+
96
+ <li class="r1 ">
97
+
98
+ <a title="ShowNotFound" href="Sofa/TVRage/Show/ShowNotFound.html">ShowNotFound</a>
99
+
100
+ <small>(Sofa::TVRage::Show)</small>
101
+
102
+
103
+
104
+ </li>
105
+
106
+ <li class="r2 ">
107
+
108
+ <a title="Sofa" href="Sofa.html">Sofa</a>
109
+
110
+
111
+
112
+ </li>
113
+
114
+ <li class="r1 ">
115
+
116
+ <a title="TVRage" href="Sofa/TVRage.html">TVRage</a>
117
+
118
+ <small>(Sofa)</small>
119
+
120
+
121
+
122
+ </li>
123
+
124
+ <li class="r2 ">
125
+
126
+ <a title="Version" href="Sofa/Version.html">Version</a>
127
+
128
+ <small>(Sofa)</small>
129
+
130
+
131
+
132
+ </li>
133
+
134
+ </ul>
135
+ </body>
136
+ </html>
137
+