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 +1 -1
- data/lib/models/music_brainz/artist.rb +1 -1
- data/musicbrainz.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
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
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: musicbrainz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
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:
|
162
|
+
hash: 1409250906890612568
|
163
163
|
segments:
|
164
164
|
- 0
|
165
165
|
version: "0"
|