musicbrainz 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
@@ -22,7 +22,7 @@ module MusicBrainz
22
22
  def self.parse_xml xml
23
23
  @artist = MusicBrainz::Artist.new
24
24
  @artist.id = xml.css('artist').attr('id').value
25
- @artist.type = xml.css('artist').attr('type').value unless xml.css('artist').empty? or xml.css('artist').attr('type').empty?
25
+ @artist.type = xml.css('artist').attr('type').value unless xml.css('artist').nil? or xml.css('artist').attr('type').nil?
26
26
  @artist.name = xml.css('artist > name').text
27
27
  @artist.country = xml.css('artist > country').text unless xml.css('artist > country').empty?
28
28
  @artist.date_begin = xml.css('artist > life-span > begin').text unless xml.css('artist > life-span > begin').empty?
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{musicbrainz}
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gregory Eremin"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: musicbrainz
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.4
5
+ version: 0.4.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Gregory Eremin
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- hash: -2779724924169557544
123
+ hash: 653798615574738850
124
124
  segments:
125
125
  - 0
126
126
  version: "0"