tvdbr 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,9 @@ module Tvdbr
52
52
  return [] if result.blank? || result['Series'].blank?
53
53
  result = result['Series'].is_a?(Array) ? result['Series'] : [result['Series']]
54
54
  result.first(5).map { |s| self.find_series_by_id(s['seriesid']) }
55
+ rescue StandardError => e
56
+ puts "Result for title '#{title}' could not be parsed!"
57
+ return []
55
58
  end
56
59
 
57
60
  # Returns the first series returned for a title
@@ -1,3 +1,3 @@
1
1
  module Tvdbr
2
- VERSION = "0.0.8"
2
+ VERSION = "0.1.0"
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: 15
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 8
10
- version: 0.0.8
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Miso