sweeper 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +2 -0
- data/lib/sweeper.rb +1 -1
- data/sweeper.gemspec +2 -2
- metadata +1 -1
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG
CHANGED
data/lib/sweeper.rb
CHANGED
|
@@ -175,7 +175,7 @@ class Sweeper
|
|
|
175
175
|
|
|
176
176
|
response = begin
|
|
177
177
|
open("http://ws.audioscrobbler.com/1.0/artist/#{URI.encode(tags['artist'])}/toptags.xml").read
|
|
178
|
-
rescue OpenURI::HTTPError
|
|
178
|
+
rescue OpenURI::HTTPError, URI::InvalidURIError
|
|
179
179
|
return DEFAULT_GENRE
|
|
180
180
|
end
|
|
181
181
|
|
data/sweeper.gemspec
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
# Gem::Specification for Sweeper-0.2.
|
|
2
|
+
# Gem::Specification for Sweeper-0.2.3
|
|
3
3
|
# Originally generated by Echoe
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = %q{sweeper}
|
|
7
|
-
s.version = "0.2.
|
|
7
|
+
s.version = "0.2.3"
|
|
8
8
|
|
|
9
9
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
|
10
10
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|