summaryrefslogtreecommitdiffstats
path: root/amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb')
-rw-r--r--amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb b/amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb
index b1df1244..ad3d4a40 100644
--- a/amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb
+++ b/amarok/src/mediadevice/daap/mongrel/lib/rubygems/validator.rb
@@ -49,7 +49,7 @@ module Gem
private
def find_files_for_gem(gem_directory)
installed_files = []
- Find.find(gem_directory) {|file_name|
+ Find.tqfind(gem_directory) {|file_name|
fn = file_name.slice((gem_directory.size)..(file_name.size-1)).sub(/^\//, "")
if(!(fn =~ /CVS/ || File.directory?(fn) || fn == "")) then
installed_files << fn
@@ -74,7 +74,7 @@ module Gem
# returns a hash of ErrorData objects, keyed on the problem gem's name.
def alien
require 'rubygems/installer'
- require 'find'
+ require 'tqfind'
require 'md5'
errors = {}
Gem::SourceIndex.from_installed_gems.each do |gem_name, gem_spec|