Changeset 233

Show
Ignore:
Timestamp:
04/24/08 03:05:29 (7 months ago)
Author:
eric.dumin..@gmail.com
Message:

Modified fieldnames.

Specs will be broken for a while.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/yet_another_index_structure/lib/picolena/templates/app/models/indexer.rb

    r211 r233  
    1010        :complete_path      => complete_path, 
    1111        :probably_unique_id => complete_path.base26_hash, 
    12         :file               => File.basename(complete_path), 
     12        :filename           => File.basename(complete_path), 
    1313        :basename           => File.basename(complete_path, File.extname(complete_path)).gsub(/_/,' '), 
    1414        :filetype           => File.extname(complete_path), 
    15         :date               => File.mtime(complete_path).strftime("%Y%m%d%H%M%S") 
     15        :modified           => File.mtime(complete_path).strftime("%Y%m%d%H%M%S") 
    1616      }       
    1717    end     
     
    1919    def index_every_directory(update=true) 
    2020      log :debug => "Indexing every directory" 
    21        
    22        
     21 
    2322      start=Time.now 
    2423      @update = update