Sha256: 49808890aeca2ac9e5cebb75dff249e92ac7d1d764fa8390d3cb52d03f3e91b5

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

module Picolena
#Loading directories to be indexed
indexed_dir_config_file='config/custom/indexed_directories.yml'
IndexedDirectories={}
YAML.load_file(indexed_dir_config_file)[RAILS_ENV].each_pair{|abs_or_rel_path, alias_path|
  IndexedDirectories[Pathname(abs_or_rel_path).realpath.to_s]=alias_path
}

IndexSavePath=File.join(IndexesSavePath,ENV["RAILS_ENV"] || "development")
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
picolena-0.1.2 lib/picolena/templates/config/initializers/002_load_indexed_dirs.rb
picolena-0.1.3 lib/picolena/templates/config/initializers/002_load_indexed_dirs.rb
picolena-0.1.4 lib/picolena/templates/config/initializers/002_load_indexed_dirs.rb
picolena-0.1.5 lib/picolena/templates/config/initializers/002_load_indexed_dirs.rb