Flowdock
method

find_files_for_gem

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Validator
find_files_for_gem(gem_directory) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/validator.rb, line 59
  def find_files_for_gem(gem_directory)
    installed_files = []
    Find.find gem_directory do |file_name|
      fn = file_name[gem_directory.size..file_name.size-1].sub(/^\//, "")
      installed_files << fn unless
        fn =~ /CVS/ || fn.empty? || File.directory?(file_name)
    end
    installed_files
  end
Register or log in to add new notes.