tvdbr 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tvdbr/client.rb CHANGED
@@ -30,7 +30,7 @@ module Tvdbr
30
30
  updates = self.find_updates_since(options[:since])
31
31
  updates[:series].each do |series_id|
32
32
  series = self.find_series_by_id(series_id)
33
- block.call(series)
33
+ block.call(series) if series && series.title
34
34
  end if updates[:series].respond_to?(:each)
35
35
  end
36
36
 
@@ -40,7 +40,7 @@ module Tvdbr
40
40
  updates = self.find_updates_since(options[:since])
41
41
  updates[:episodes].each do |episode_id|
42
42
  episode = self.find_episode_by_id(episode_id)
43
- block.call(episode)
43
+ block.call(episode) if episode && episode.name
44
44
  end if updates[:episodes].respond_to?(:each)
45
45
  end
46
46
 
data/lib/tvdbr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tvdbr
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvdbr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Miso