musicbrainz 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -49,7 +49,7 @@ module MusicBrainz
49
49
 
50
50
  def self.search name
51
51
  artists = []
52
- xml = Nokogiri::XML(MusicBrainz.load(:artist, :query => CGI.escape(name).gsub(/\!/, '') + '~', :limit => 50))
52
+ xml = Nokogiri::XML(MusicBrainz.load(:artist, :query => CGI.escape(name).gsub(/\!/, '\!') + '~', :limit => 50))
53
53
  xml.css('artist-list > artist').each do |a|
54
54
  artist = {
55
55
  :name => a.first_element_child.text.gsub(/[`’]/, "'"),
data/musicbrainz.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{musicbrainz}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
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.5.1
5
+ version: 0.5.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Gregory Eremin
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
160
  - - ">="
161
161
  - !ruby/object:Gem::Version
162
- hash: -1300131029082120688
162
+ hash: 1409250906890612568
163
163
  segments:
164
164
  - 0
165
165
  version: "0"