memo_rage 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
data/lib/memo_rage/episode.rb
CHANGED
@@ -18,6 +18,7 @@ module MemoRage
|
|
18
18
|
season.elements.each("episode") do |episode|
|
19
19
|
episode = MemoRage::Parser::Entry.new(episode)
|
20
20
|
episodes << MemoRage::Episode.new(
|
21
|
+
:id => episode.link.match(/[0-9]+$/).to_a.first.to_i,
|
21
22
|
:num => episode.epnum,
|
22
23
|
:season => season.attributes["no"].to_i,
|
23
24
|
:season_num => episode.seasonnum,
|
data/lib/memo_rage/version.rb
CHANGED
@@ -8,7 +8,10 @@ describe MemoRage::Parser::EpisodeList do
|
|
8
8
|
list = client.episode_list("2930")
|
9
9
|
list.name.should == "Buffy the Vampire Slayer"
|
10
10
|
list.seasons.should == 7
|
11
|
-
list.episodes.last.
|
11
|
+
list.episodes.last.tap do |episode|
|
12
|
+
episode.id.should == 28220
|
13
|
+
episode.season.should == 7
|
14
|
+
end
|
12
15
|
end
|
13
16
|
end
|
14
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memo_rage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-03-
|
13
|
+
date: 2012-03-22 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httpclient
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
168
|
rubyforge_project: memo_rage
|
169
|
-
rubygems_version: 1.8.
|
169
|
+
rubygems_version: 1.8.19
|
170
170
|
signing_key:
|
171
171
|
specification_version: 3
|
172
172
|
summary: Ruby wrapper for the TVRage API
|