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 CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tvdb_party}
8
- s.version = "0.6.1"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jon Maddox"]
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: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jon Maddox