sofa 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.yardopts +6 -0
- data/Rakefile +76 -0
- data/doc/Sofa.html +85 -0
- data/doc/Sofa/Mapping.html +168 -0
- data/doc/Sofa/Mapping/ClassMethods.html +314 -0
- data/doc/Sofa/Mapping/InstanceMethods.html +358 -0
- data/doc/Sofa/TVRage.html +85 -0
- data/doc/Sofa/TVRage/Episode.html +358 -0
- data/doc/Sofa/TVRage/Schedule.html +207 -0
- data/doc/Sofa/TVRage/Season.html +236 -0
- data/doc/Sofa/TVRage/Show.html +904 -0
- data/doc/Sofa/TVRage/Show/ShowNotFound.html +92 -0
- data/doc/Sofa/Version.html +100 -0
- data/doc/_index.html +206 -0
- data/doc/class_list.html +137 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +23 -0
- data/doc/css/style.css +261 -0
- data/doc/file.README.html +120 -0
- data/doc/file_list.html +29 -0
- data/doc/index.html +120 -0
- data/doc/js/app.js +91 -0
- data/doc/js/full_list.js +39 -0
- data/doc/js/jquery.js +19 -0
- data/doc/method_list.html +192 -0
- data/doc/top-level-namespace.html +80 -0
- data/lib/sofa.rb +7 -0
- data/lib/sofa/mapping.rb +108 -0
- data/lib/sofa/tvrage.rb +10 -0
- data/lib/sofa/tvrage/episode.rb +56 -0
- data/lib/sofa/tvrage/schedule.rb +25 -0
- data/lib/sofa/tvrage/season.rb +36 -0
- data/lib/sofa/tvrage/show.rb +132 -0
- data/lib/sofa/version.rb +8 -0
- data/sofa.gemspec +113 -0
- data/spec/fixtures/tvrage/cases/castle.xml +228 -0
- data/spec/fixtures/tvrage/cases/community.xml +109 -0
- data/spec/fixtures/tvrage/cases/live_with_regis_and_kelly.xml +56237 -0
- data/spec/fixtures/tvrage/episode_info.xml +30 -0
- data/spec/fixtures/tvrage/episode_list.xml +1183 -0
- data/spec/fixtures/tvrage/episode_list_one_season.xml +17 -0
- data/spec/fixtures/tvrage/episode_list_two_episodes.xml +25 -0
- data/spec/fixtures/tvrage/full_schedule.xml +4731 -0
- data/spec/fixtures/tvrage/full_show_info.xml +1291 -0
- data/spec/fixtures/tvrage/quickinfo.html +17 -0
- data/spec/fixtures/tvrage/quickinfo_missing.html +1 -0
- data/spec/fixtures/tvrage/search.xml +151 -0
- data/spec/fixtures/tvrage/show_info.xml +42 -0
- data/spec/fixtures/tvrage/show_info_blank.xml +3 -0
- data/spec/fixtures/tvrage/single_episode.xml +8 -0
- data/spec/spec.opts +1 -0
- metadata +57 -32
@@ -0,0 +1,17 @@
|
|
1
|
+
<pre>Show ID@6715
|
2
|
+
Show Name@The Colbert Report
|
3
|
+
Show URL@http://www.tvrage.com/The_Colbert_Report
|
4
|
+
Premiered@2005
|
5
|
+
Started@Oct/17/2005
|
6
|
+
Ended@
|
7
|
+
Latest Episode@05x146^Woody Harrelson^Nov/12/2009
|
8
|
+
Next Episode@05x147^Paul Goldberger^Nov/16/2009
|
9
|
+
RFC3339@2009-11-16T23:30:00-5:00
|
10
|
+
GMT+0 NODST@1258428600
|
11
|
+
Country@USA
|
12
|
+
Status@Returning Series
|
13
|
+
Classification@Talk Shows
|
14
|
+
Genres@Comedy
|
15
|
+
Network@Comedy Central
|
16
|
+
Airtime@Monday, Tuesday, Wednesday, Thursday at 11:30 pm
|
17
|
+
Runtime@30
|
@@ -0,0 +1 @@
|
|
1
|
+
No Show Results Were Found For "missing show"
|
@@ -0,0 +1,151 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Results>
|
3
|
+
<show>
|
4
|
+
<showid>15614</showid>
|
5
|
+
<name>Chuck</name>
|
6
|
+
<link>http://www.tvrage.com/Chuck</link>
|
7
|
+
<country>US</country>
|
8
|
+
<started>2007</started>
|
9
|
+
<ended>0</ended>
|
10
|
+
<seasons>3</seasons>
|
11
|
+
<status>Returning Series</status>
|
12
|
+
<classification>Scripted</classification>
|
13
|
+
<genres>
|
14
|
+
<genre01>Action</genre01>
|
15
|
+
<genre02>Comedy</genre02>
|
16
|
+
<genre03>Drama</genre03>
|
17
|
+
</genres>
|
18
|
+
</show>
|
19
|
+
<show>
|
20
|
+
<showid>11005</showid>
|
21
|
+
<name>The ChuckleHounds</name>
|
22
|
+
<link>http://www.tvrage.com/shows/id-11005</link>
|
23
|
+
<country>UK</country>
|
24
|
+
<started>1985</started>
|
25
|
+
<ended>1986</ended>
|
26
|
+
<seasons>1</seasons>
|
27
|
+
<status>Canceled/Ended</status>
|
28
|
+
<classification>Variety</classification>
|
29
|
+
<genres>
|
30
|
+
<genre01>Children</genre01>
|
31
|
+
</genres>
|
32
|
+
</show>
|
33
|
+
<show>
|
34
|
+
<showid>10223</showid>
|
35
|
+
<name>Chuck Norris: Karate Kommandos</name>
|
36
|
+
<link>http://www.tvrage.com/Chuck_Norris-Karate_Kommandos</link>
|
37
|
+
<country>US</country>
|
38
|
+
<started>1986</started>
|
39
|
+
<ended>1986</ended>
|
40
|
+
<seasons>1</seasons>
|
41
|
+
<status>Canceled/Ended</status>
|
42
|
+
<classification>Animation</classification>
|
43
|
+
<genres>
|
44
|
+
<genre01>Children Cartoons</genre01>
|
45
|
+
<genre02>Action</genre02>
|
46
|
+
<genre03>Adventure</genre03>
|
47
|
+
</genres>
|
48
|
+
</show>
|
49
|
+
<show>
|
50
|
+
<showid>919</showid>
|
51
|
+
<name>Chuck Finn</name>
|
52
|
+
<link>http://www.tvrage.com/shows/id-919</link>
|
53
|
+
<country>AU</country>
|
54
|
+
<started>1999</started>
|
55
|
+
<ended>2000</ended>
|
56
|
+
<seasons>2</seasons>
|
57
|
+
<status>Canceled/Ended</status>
|
58
|
+
<classification>Scripted</classification>
|
59
|
+
<genres>
|
60
|
+
<genre01>Adventure</genre01>
|
61
|
+
<genre02>Children</genre02>
|
62
|
+
<genre03>Fantasy</genre03>
|
63
|
+
</genres>
|
64
|
+
</show>
|
65
|
+
<show>
|
66
|
+
<showid>3063</showid>
|
67
|
+
<name>Chuck Woolery: Naturally Stoned</name>
|
68
|
+
<link>http://www.tvrage.com/shows/id-3063</link>
|
69
|
+
<country>US</country>
|
70
|
+
<started>2003</started>
|
71
|
+
<ended>2003</ended>
|
72
|
+
<seasons>1</seasons>
|
73
|
+
<status>Canceled/Ended</status>
|
74
|
+
<classification>Reality</classification>
|
75
|
+
<genres/>
|
76
|
+
</show>
|
77
|
+
<show>
|
78
|
+
<showid>1079</showid>
|
79
|
+
<name>The Chuck McCann Show</name>
|
80
|
+
<link>http://www.tvrage.com/shows/id-1079</link>
|
81
|
+
<country>US</country>
|
82
|
+
<started>1963</started>
|
83
|
+
<ended>1966</ended>
|
84
|
+
<seasons>0</seasons>
|
85
|
+
<status>Canceled/Ended</status>
|
86
|
+
<classification>0</classification>
|
87
|
+
<genres/>
|
88
|
+
</show>
|
89
|
+
<show>
|
90
|
+
<showid>10722</showid>
|
91
|
+
<name>Burns Chuckwagon From The Stampede Coral</name>
|
92
|
+
<link>http://www.tvrage.com/shows/id-10722</link>
|
93
|
+
<country>CA</country>
|
94
|
+
<started>1954</started>
|
95
|
+
<ended>1955</ended>
|
96
|
+
<seasons>0</seasons>
|
97
|
+
<status>Canceled/Ended</status>
|
98
|
+
<classification>Variety</classification>
|
99
|
+
<genres/>
|
100
|
+
</show>
|
101
|
+
<show>
|
102
|
+
<showid>19191</showid>
|
103
|
+
<name>The Chuck Barris Rah-Rah Show</name>
|
104
|
+
<link>http://www.tvrage.com/shows/id-19191</link>
|
105
|
+
<country>US</country>
|
106
|
+
<started>1978</started>
|
107
|
+
<ended>1978</ended>
|
108
|
+
<seasons>1</seasons>
|
109
|
+
<status>Canceled/Ended</status>
|
110
|
+
<classification>Variety</classification>
|
111
|
+
<genres>
|
112
|
+
<genre01>Celebrities</genre01>
|
113
|
+
<genre02>Comedy</genre02>
|
114
|
+
<genre03>Family</genre03>
|
115
|
+
<genre04>Music</genre04>
|
116
|
+
<genre05>Talent</genre05>
|
117
|
+
</genres>
|
118
|
+
</show>
|
119
|
+
<show>
|
120
|
+
<showid>14003</showid>
|
121
|
+
<name>Rinjin wa Hisoki Warau</name>
|
122
|
+
<link>http://www.tvrage.com/shows/id-14003</link>
|
123
|
+
<country>JP</country>
|
124
|
+
<started>1999</started>
|
125
|
+
<ended>1999</ended>
|
126
|
+
<seasons>1</seasons>
|
127
|
+
<status>Canceled/Ended</status>
|
128
|
+
<classification>Scripted</classification>
|
129
|
+
<genres>
|
130
|
+
<genre01>Crime</genre01>
|
131
|
+
<genre02>Drama</genre02>
|
132
|
+
<genre03>Mystery</genre03>
|
133
|
+
<genre04>Thriller</genre04>
|
134
|
+
</genres>
|
135
|
+
</show>
|
136
|
+
<show>
|
137
|
+
<showid>3062</showid>
|
138
|
+
<name>ChuckleVision</name>
|
139
|
+
<link>http://www.tvrage.com/shows/id-3062</link>
|
140
|
+
<country>UK</country>
|
141
|
+
<started>1987</started>
|
142
|
+
<ended>2008</ended>
|
143
|
+
<seasons>20</seasons>
|
144
|
+
<status>Canceled/Ended</status>
|
145
|
+
<classification>Scripted</classification>
|
146
|
+
<genres>
|
147
|
+
<genre01>Children</genre01>
|
148
|
+
<genre02>Comedy</genre02>
|
149
|
+
</genres>
|
150
|
+
</show>
|
151
|
+
</Results>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Showinfo>
|
3
|
+
<showid>2930</showid>
|
4
|
+
<showname>Buffy the Vampire Slayer</showname>
|
5
|
+
<showlink>http://tvrage.com/Buffy_The_Vampire_Slayer</showlink>
|
6
|
+
<seasons>7</seasons>
|
7
|
+
<started>1997</started>
|
8
|
+
<startdate>Mar/10/1997</startdate>
|
9
|
+
<ended>May/20/2003</ended>
|
10
|
+
<origin_country>US</origin_country>
|
11
|
+
<status>Canceled/Ended</status>
|
12
|
+
<classification>Scripted</classification>
|
13
|
+
<genres>
|
14
|
+
<genre>Action</genre>
|
15
|
+
<genre>Adventure</genre>
|
16
|
+
<genre>Comedy</genre>
|
17
|
+
<genre>Drama</genre>
|
18
|
+
<genre>Mystery</genre>
|
19
|
+
<genre>Sci-Fi</genre>
|
20
|
+
</genres>
|
21
|
+
<runtime>60</runtime>
|
22
|
+
<network country="US">UPN</network>
|
23
|
+
<airtime>20:00</airtime>
|
24
|
+
<airday>Tuesday</airday>
|
25
|
+
<timezone>GMT-5 -DST</timezone>
|
26
|
+
<akas>
|
27
|
+
<aka country="SE">Buffy & vampyrerna</aka>
|
28
|
+
<aka country="DE">Buffy - Im Bann der Dämonen</aka>
|
29
|
+
<aka country="NO">Buffy - Vampyrenes skrekk</aka>
|
30
|
+
<aka country="HU">Buffy a vámpírok réme</aka>
|
31
|
+
<aka country="FR">Buffy Contre les Vampires</aka>
|
32
|
+
<aka country="IT">Buffy l'Ammazza Vampiri</aka>
|
33
|
+
<aka country="PL">Buffy postrach wampirów</aka>
|
34
|
+
<aka country="BR">Buffy, a Caça-Vampiros</aka>
|
35
|
+
<aka country="PT">Buffy, a Caçadora de Vampiros</aka>
|
36
|
+
<aka country="ES">Buffy, Cazavampiros</aka>
|
37
|
+
<aka country="HR">Buffy, ubojica vampira</aka>
|
38
|
+
<aka country="FI">Buffy, vampyyrintappaja</aka>
|
39
|
+
<aka country="EE">Vampiiritapja Buffy</aka>
|
40
|
+
<aka country="IS">Vampírubaninn Buffy</aka>
|
41
|
+
</akas>
|
42
|
+
</Showinfo>
|
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -27,22 +27,6 @@ dependencies:
|
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: crack
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
30
|
- !ruby/object:Gem::Dependency
|
47
31
|
name: rspec
|
48
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,8 +99,59 @@ extra_rdoc_files:
|
|
115
99
|
- LICENSE
|
116
100
|
- README.md
|
117
101
|
files:
|
102
|
+
- .document
|
103
|
+
- .yardopts
|
118
104
|
- LICENSE
|
119
105
|
- README.md
|
106
|
+
- Rakefile
|
107
|
+
- doc/Sofa.html
|
108
|
+
- doc/Sofa/Mapping.html
|
109
|
+
- doc/Sofa/Mapping/ClassMethods.html
|
110
|
+
- doc/Sofa/Mapping/InstanceMethods.html
|
111
|
+
- doc/Sofa/TVRage.html
|
112
|
+
- doc/Sofa/TVRage/Episode.html
|
113
|
+
- doc/Sofa/TVRage/Schedule.html
|
114
|
+
- doc/Sofa/TVRage/Season.html
|
115
|
+
- doc/Sofa/TVRage/Show.html
|
116
|
+
- doc/Sofa/TVRage/Show/ShowNotFound.html
|
117
|
+
- doc/Sofa/Version.html
|
118
|
+
- doc/_index.html
|
119
|
+
- doc/class_list.html
|
120
|
+
- doc/css/common.css
|
121
|
+
- doc/css/full_list.css
|
122
|
+
- doc/css/style.css
|
123
|
+
- doc/file.README.html
|
124
|
+
- doc/file_list.html
|
125
|
+
- doc/index.html
|
126
|
+
- doc/js/app.js
|
127
|
+
- doc/js/full_list.js
|
128
|
+
- doc/js/jquery.js
|
129
|
+
- doc/method_list.html
|
130
|
+
- doc/top-level-namespace.html
|
131
|
+
- lib/sofa.rb
|
132
|
+
- lib/sofa/mapping.rb
|
133
|
+
- lib/sofa/tvrage.rb
|
134
|
+
- lib/sofa/tvrage/episode.rb
|
135
|
+
- lib/sofa/tvrage/schedule.rb
|
136
|
+
- lib/sofa/tvrage/season.rb
|
137
|
+
- lib/sofa/tvrage/show.rb
|
138
|
+
- lib/sofa/version.rb
|
139
|
+
- sofa.gemspec
|
140
|
+
- spec/fixtures/tvrage/cases/castle.xml
|
141
|
+
- spec/fixtures/tvrage/cases/community.xml
|
142
|
+
- spec/fixtures/tvrage/cases/live_with_regis_and_kelly.xml
|
143
|
+
- spec/fixtures/tvrage/episode_info.xml
|
144
|
+
- spec/fixtures/tvrage/episode_list.xml
|
145
|
+
- spec/fixtures/tvrage/episode_list_one_season.xml
|
146
|
+
- spec/fixtures/tvrage/episode_list_two_episodes.xml
|
147
|
+
- spec/fixtures/tvrage/full_schedule.xml
|
148
|
+
- spec/fixtures/tvrage/full_show_info.xml
|
149
|
+
- spec/fixtures/tvrage/quickinfo.html
|
150
|
+
- spec/fixtures/tvrage/quickinfo_missing.html
|
151
|
+
- spec/fixtures/tvrage/search.xml
|
152
|
+
- spec/fixtures/tvrage/show_info.xml
|
153
|
+
- spec/fixtures/tvrage/show_info_blank.xml
|
154
|
+
- spec/fixtures/tvrage/single_episode.xml
|
120
155
|
- spec/sofa/mapping_spec.rb
|
121
156
|
- spec/sofa/tvrage/cases_spec.rb
|
122
157
|
- spec/sofa/tvrage/episode_spec.rb
|
@@ -125,12 +160,12 @@ files:
|
|
125
160
|
- spec/sofa/tvrage/show_spec.rb
|
126
161
|
- spec/sofa/version_spec.rb
|
127
162
|
- spec/sofa_spec.rb
|
163
|
+
- spec/spec.opts
|
128
164
|
- spec/spec_helper.rb
|
129
165
|
homepage: http://github.com/hsume2/sofa
|
130
166
|
licenses: []
|
131
167
|
post_install_message:
|
132
|
-
rdoc_options:
|
133
|
-
- --charset=UTF-8
|
168
|
+
rdoc_options: []
|
134
169
|
require_paths:
|
135
170
|
- lib
|
136
171
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -147,18 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
182
|
version: '0'
|
148
183
|
requirements: []
|
149
184
|
rubyforge_project:
|
150
|
-
rubygems_version: 1.8.
|
185
|
+
rubygems_version: 1.8.24
|
151
186
|
signing_key:
|
152
187
|
specification_version: 3
|
153
188
|
summary: A Ruby library for the TVRage API.
|
154
|
-
test_files:
|
155
|
-
- spec/sofa/mapping_spec.rb
|
156
|
-
- spec/sofa/tvrage/cases_spec.rb
|
157
|
-
- spec/sofa/tvrage/episode_spec.rb
|
158
|
-
- spec/sofa/tvrage/schedule_spec.rb
|
159
|
-
- spec/sofa/tvrage/season_spec.rb
|
160
|
-
- spec/sofa/tvrage/show_spec.rb
|
161
|
-
- spec/sofa/version_spec.rb
|
162
|
-
- spec/sofa_spec.rb
|
163
|
-
- spec/spec_helper.rb
|
164
|
-
has_rdoc:
|
189
|
+
test_files: []
|