next-big-sound 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/search.rb +5 -2
- data/next-big-sound.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
data/lib/search.rb
CHANGED
@@ -22,8 +22,11 @@ module NBS
|
|
22
22
|
def artists
|
23
23
|
hash = Hash.from_xml(self.to_xml)
|
24
24
|
a = []
|
25
|
-
|
26
|
-
|
25
|
+
begin
|
26
|
+
hash["Results"][0]["Result"].each do |item|
|
27
|
+
a << Artist.new(item["NBSArtistID"][0],item["NBSArtistName"][0])
|
28
|
+
end
|
29
|
+
rescue
|
27
30
|
end
|
28
31
|
return a
|
29
32
|
end
|
data/next-big-sound.gemspec
CHANGED