imp3 0.1.2 → 0.1.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/README.rdoc CHANGED
@@ -131,9 +131,7 @@ iMp3 is an application for batch processing and fixing common issues when dealin
131
131
  * Issue solver: Fetch missing album art using images.google.com
132
132
  * Issue solver: Duplicate tracks
133
133
  * Issue solver: Remove sort artist (I personally hate this feature)
134
- * Switch to only process current iTunes selection
135
134
  * Switch to skip/force already processed tracks
136
- * Cache last.fm requests
137
135
  * Windows support through Win32OLE
138
136
  * (your feature request here)
139
137
  * ...
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/lib/imp3.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module IMP3
2
- VERSION = "0.1.2".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  APP_DIR = File.expand_path(File.join("~", ".imp3"))
4
4
  end
5
5
 
data/lib/imp3/cli.rb CHANGED
@@ -66,7 +66,7 @@ end
66
66
  class String
67
67
  def strip_meaningless_words
68
68
  string = self
69
- Config.instance.strip_words.each do |w|
69
+ IMP3::Config.instance.strip_words.each do |w|
70
70
  string = string.gsub(/\b#{w}\b/i, '')
71
71
  end
72
72
  string.strip
@@ -26,7 +26,9 @@ module IMP3::Commands::Artists
26
26
  end
27
27
  end
28
28
 
29
- unless artist_names[normalized_artist_name].eql?(:"(Skip)") or track.artist.eql?(artist_names[normalized_artist_name])
29
+ next if artist_names[normalized_artist_name].eql?(:"(Skip)")
30
+
31
+ unless track.artist.eql?(artist_names[normalized_artist_name])
30
32
  tagged += 1
31
33
  puts "Tagging track #{track.persistent_id} with artist name '#{artist_names[normalized_artist_name]}'"
32
34
  track.artist = ""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imp3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "V\xC3\xADctor Mart\xC3\xADnez"