sweeper 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
 
2
+ v0.2.3. Rescue another OpenURI error.
3
+
2
4
  v0.2.2. Avoid error with too many open files.
3
5
 
4
6
  v0.2.1. Better error handling; smarter genre choosing.
@@ -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
 
@@ -1,10 +1,10 @@
1
1
 
2
- # Gem::Specification for Sweeper-0.2.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.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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sweeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Weaver
metadata.gz.sig CHANGED
Binary file