tvdb_party 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/tvdb_party/search.rb +2 -2
- data/tvdb_party.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.2
|
data/lib/tvdb_party/search.rb
CHANGED
@@ -44,7 +44,7 @@ module TvdbParty
|
|
44
44
|
nil
|
45
45
|
end
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
def get_episode(series, season_number, episode_number, language = self.language)
|
49
49
|
response = self.class.get("/#{@api_key}/series/#{series.id}/default/#{season_number}/#{episode_number}/#{language}.xml").parsed_response
|
50
50
|
if response["Data"] && response["Data"]["Episode"]
|
@@ -59,7 +59,7 @@ module TvdbParty
|
|
59
59
|
return [] unless response["Data"] && response["Data"]["Episode"]
|
60
60
|
case response["Data"]["Episode"]
|
61
61
|
when Array
|
62
|
-
response["Data"]["Episode"].map{|result| Episode.new(result)}
|
62
|
+
response["Data"]["Episode"].map{|result| Episode.new(self, result)}
|
63
63
|
when Hash
|
64
64
|
[Episode.new(response["Data"]["Episode"])]
|
65
65
|
else
|
data/tvdb_party.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tvdb_party
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 2
|
10
|
+
version: 0.6.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jon Maddox
|