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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/search.rb +5 -2
  3. data/next-big-sound.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
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
- hash["Results"][0]["Result"].each do |item|
26
- a << Artist.new(item["NBSArtistID"][0],item["NBSArtistName"][0])
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{next-big-sound}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jeff durand"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 1
9
- version: 0.4.1
8
+ - 2
9
+ version: 0.4.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - jeff durand