scrobbler-ng 2.0.7 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 0
4
- :patch: 7
4
+ :patch: 8
5
5
  :build:
@@ -71,7 +71,12 @@ module Scrobbler
71
71
  next unless child.name == parent.to_s
72
72
  child.children.each do |child2|
73
73
  next unless child2.name == element
74
- elements << scrobbler_class.new_from_libxml(child2)
74
+ begin
75
+ elements << scrobbler_class.new_from_libxml(child2)
76
+ rescue
77
+ # Sadly last.fm does not always return valid Elements
78
+ # @todo Try to make the best out of it
79
+ end
75
80
  end
76
81
  end
77
82
  elements
data/scrobbler-ng.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{scrobbler-ng}
8
- s.version = "2.0.7"
8
+ s.version = "2.0.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Nunemaker", "Jonathan Rudenberg", "Uwe L. Korn"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrobbler-ng
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 7
10
- version: 2.0.7
9
+ - 8
10
+ version: 2.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Nunemaker