hulu-show 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -0
- data/README.md +10 -8
- data/VERSION +1 -1
- data/hulu-show.gemspec +4 -2
- data/lib/hulu/show.rb +6 -4
- data/lib/hulu/show/episode.rb +24 -6
- data/spec/hulu/episode_spec.rb +24 -3
- data/spec/hulu/show_spec.rb +3 -0
- data/spec/support/vcr_cassettes/description.yml +2305 -0
- metadata +95 -147
metadata
CHANGED
@@ -1,175 +1,128 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: hulu-show
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 2
|
10
|
-
version: 0.3.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Craig Williams
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
requirement: &
|
12
|
+
date: 2011-12-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: httparty
|
16
|
+
requirement: &70180533920420 !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
18
|
+
requirements:
|
24
19
|
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
hash: 61
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 8
|
30
|
-
- 1
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 0.8.1
|
32
|
-
version_requirements: *id001
|
33
|
-
name: httparty
|
34
|
-
prerelease: false
|
35
22
|
type: :runtime
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70180533920420
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: json
|
27
|
+
requirement: &70180533933040 !ruby/object:Gem::Requirement
|
38
28
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 13
|
43
|
-
segments:
|
44
|
-
- 1
|
45
|
-
- 6
|
46
|
-
- 1
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
47
32
|
version: 1.6.1
|
48
|
-
version_requirements: *id002
|
49
|
-
name: json
|
50
|
-
prerelease: false
|
51
33
|
type: :runtime
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
hash: 3
|
59
|
-
segments:
|
60
|
-
- 0
|
61
|
-
version: "0"
|
62
|
-
version_requirements: *id003
|
63
|
-
name: nokogiri
|
64
34
|
prerelease: false
|
35
|
+
version_requirements: *70180533933040
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: nokogiri
|
38
|
+
requirement: &70180533931680 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
65
44
|
type: :runtime
|
66
|
-
|
67
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70180533931680
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: &70180533928820 !ruby/object:Gem::Requirement
|
68
50
|
none: false
|
69
|
-
requirements:
|
51
|
+
requirements:
|
70
52
|
- - ~>
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 19
|
73
|
-
segments:
|
74
|
-
- 2
|
75
|
-
- 7
|
76
|
-
- 0
|
53
|
+
- !ruby/object:Gem::Version
|
77
54
|
version: 2.7.0
|
78
|
-
version_requirements: *id004
|
79
|
-
name: rspec
|
80
|
-
prerelease: false
|
81
55
|
type: :development
|
82
|
-
|
83
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70180533928820
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: bundler
|
60
|
+
requirement: &70180533941720 !ruby/object:Gem::Requirement
|
84
61
|
none: false
|
85
|
-
requirements:
|
62
|
+
requirements:
|
86
63
|
- - ~>
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
hash: 23
|
89
|
-
segments:
|
90
|
-
- 1
|
91
|
-
- 0
|
92
|
-
- 0
|
64
|
+
- !ruby/object:Gem::Version
|
93
65
|
version: 1.0.0
|
94
|
-
version_requirements: *id005
|
95
|
-
name: bundler
|
96
|
-
prerelease: false
|
97
66
|
type: :development
|
98
|
-
|
99
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70180533941720
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jeweler
|
71
|
+
requirement: &70180533939640 !ruby/object:Gem::Requirement
|
100
72
|
none: false
|
101
|
-
requirements:
|
73
|
+
requirements:
|
102
74
|
- - ~>
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
hash: 7
|
105
|
-
segments:
|
106
|
-
- 1
|
107
|
-
- 6
|
108
|
-
- 4
|
75
|
+
- !ruby/object:Gem::Version
|
109
76
|
version: 1.6.4
|
110
|
-
version_requirements: *id006
|
111
|
-
name: jeweler
|
112
|
-
prerelease: false
|
113
77
|
type: :development
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
|
-
requirements:
|
118
|
-
- - ">="
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
hash: 3
|
121
|
-
segments:
|
122
|
-
- 0
|
123
|
-
version: "0"
|
124
|
-
version_requirements: *id007
|
125
|
-
name: rcov
|
126
78
|
prerelease: false
|
79
|
+
version_requirements: *70180533939640
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rcov
|
82
|
+
requirement: &70180533937360 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
127
88
|
type: :development
|
128
|
-
|
129
|
-
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70180533937360
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: vcr
|
93
|
+
requirement: &70180533936340 !ruby/object:Gem::Requirement
|
130
94
|
none: false
|
131
|
-
requirements:
|
95
|
+
requirements:
|
132
96
|
- - ~>
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
hash: 61
|
135
|
-
segments:
|
136
|
-
- 1
|
137
|
-
- 11
|
138
|
-
- 3
|
97
|
+
- !ruby/object:Gem::Version
|
139
98
|
version: 1.11.3
|
140
|
-
version_requirements: *id008
|
141
|
-
name: vcr
|
142
|
-
prerelease: false
|
143
99
|
type: :development
|
144
|
-
|
145
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70180533936340
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: fakeweb
|
104
|
+
requirement: &70180533933860 !ruby/object:Gem::Requirement
|
146
105
|
none: false
|
147
|
-
requirements:
|
148
|
-
- -
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
hash: 27
|
151
|
-
segments:
|
152
|
-
- 1
|
153
|
-
- 3
|
154
|
-
- 0
|
106
|
+
requirements:
|
107
|
+
- - =
|
108
|
+
- !ruby/object:Gem::Version
|
155
109
|
version: 1.3.0
|
156
|
-
version_requirements: *id009
|
157
|
-
name: fakeweb
|
158
|
-
prerelease: false
|
159
110
|
type: :development
|
160
|
-
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70180533933860
|
113
|
+
description: Really, that is about it. For each show, Hulu::Show will return an array
|
114
|
+
of Episode objects with details about the episode.
|
161
115
|
email: cwilliams.allancraig@gmail.com
|
162
116
|
executables: []
|
163
|
-
|
164
117
|
extensions: []
|
165
|
-
|
166
|
-
extra_rdoc_files:
|
118
|
+
extra_rdoc_files:
|
167
119
|
- LICENSE.txt
|
168
120
|
- README.md
|
169
|
-
files:
|
121
|
+
files:
|
170
122
|
- .document
|
171
123
|
- .rspec
|
172
124
|
- .rvmrc
|
125
|
+
- .travis.yml
|
173
126
|
- Gemfile
|
174
127
|
- Gemfile.lock
|
175
128
|
- LICENSE.txt
|
@@ -188,42 +141,37 @@ files:
|
|
188
141
|
- spec/spec_helper.rb
|
189
142
|
- spec/support/vcr_cassettes/additional_attributes.yml
|
190
143
|
- spec/support/vcr_cassettes/burn_notice.yml
|
144
|
+
- spec/support/vcr_cassettes/description.yml
|
191
145
|
- spec/support/vcr_cassettes/law_and_order_special_victims_unit.yml
|
192
146
|
- spec/support/vcr_cassettes/non_existent_show.yml
|
193
147
|
- spec/support/vcr_cassettes/special_victims_unit.yml
|
194
148
|
- spec/support/vcr_cassettes/terra_nova.yml
|
195
149
|
homepage: http://github.com/CraigWilliams/hulu-show
|
196
|
-
licenses:
|
150
|
+
licenses:
|
197
151
|
- BSD
|
198
152
|
post_install_message:
|
199
153
|
rdoc_options: []
|
200
|
-
|
201
|
-
require_paths:
|
154
|
+
require_paths:
|
202
155
|
- lib
|
203
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
204
157
|
none: false
|
205
|
-
requirements:
|
206
|
-
- -
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
|
209
|
-
segments:
|
158
|
+
requirements:
|
159
|
+
- - ! '>='
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
162
|
+
segments:
|
210
163
|
- 0
|
211
|
-
|
212
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
+
hash: -3368074973268493874
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
166
|
none: false
|
214
|
-
requirements:
|
215
|
-
- -
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
|
218
|
-
segments:
|
219
|
-
- 0
|
220
|
-
version: "0"
|
167
|
+
requirements:
|
168
|
+
- - ! '>='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
221
171
|
requirements: []
|
222
|
-
|
223
172
|
rubyforge_project:
|
224
173
|
rubygems_version: 1.8.10
|
225
174
|
signing_key:
|
226
175
|
specification_version: 3
|
227
176
|
summary: Fetches all current season episodes for a specified show.
|
228
177
|
test_files: []
|
229
|
-
|