Class: Photish::Config::DefaultConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/photish/config/default_config.rb

Instance Method Summary collapse

Instance Method Details

#hashObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/photish/config/default_config.rb', line 4

def hash
  {
    port: 9876,
    site_dir: File.join(Dir.pwd, 'site'),
    photo_dir: File.join(Dir.pwd, 'photos'),
    output_dir: File.join(Dir.pwd, 'output'),
    workers: workers,
    threads: threads,
    worker_index: 0,
    force: false,
    photish_executable: photish_executable,
    qualities: qualities,
    templates: templates,
    logging: logging,
    url: url,
    plugins: [],
    image_extensions: image_extensions,
    page_extension: 'slim',
    soft_failure: false,
    dependencies: {
      minimagick: minimagick,
      miniexiftool: miniexiftool
    }
  }
end