Sha256: 4474f208aaf00992e044cf94a743c5b6cb529889663160d541a17542e814f5e1

Contents?: true

Size: 1.56 KB

Versions: 20

Compression:

Stored size: 1.56 KB

Contents

# encoding: utf-8

module Nanoc::DataSources

  autoload 'Filesystem',         'nanoc/data_sources/filesystem'
  autoload 'FilesystemUnified',  'nanoc/data_sources/filesystem_unified'
  autoload 'FilesystemVerbose',  'nanoc/data_sources/filesystem_verbose'
  autoload 'Static',             'nanoc/data_sources/static'

  Nanoc::DataSource.register '::Nanoc::DataSources::FilesystemVerbose',  :filesystem_verbose
  Nanoc::DataSource.register '::Nanoc::DataSources::FilesystemUnified',  :filesystem_unified
  Nanoc::DataSource.register '::Nanoc::DataSources::Static',             :static

  # Deprecated; fetch data from online data sources manually instead
  # TODO [in nanoc 4.0] remove me
  autoload 'Delicious', 'nanoc/data_sources/deprecated/delicious'
  autoload 'LastFM',    'nanoc/data_sources/deprecated/last_fm'
  autoload 'Twitter',   'nanoc/data_sources/deprecated/twitter'
  Nanoc::DataSource.register '::Nanoc::DataSources::Delicious',          :delicious
  Nanoc::DataSource.register '::Nanoc::DataSources::LastFM',             :last_fm
  Nanoc::DataSource.register '::Nanoc::DataSources::Twitter',            :twitter

  # Deprecated; use `filesystem_verbose` or `filesystem_unified` instead
  # TODO [in nanoc 4.0] remove me
  Nanoc::DataSource.register '::Nanoc::DataSources::FilesystemVerbose',  :filesystem
  Nanoc::DataSource.register '::Nanoc::DataSources::FilesystemUnified',  :filesystem_combined
  Nanoc::DataSource.register '::Nanoc::DataSources::FilesystemUnified',  :filesystem_compact
  FilesystemCombined = FilesystemUnified
  FilesystemCompact  = FilesystemUnified

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
nanoc-3.7.4 lib/nanoc/data_sources.rb
nanoc-3.7.3 lib/nanoc/data_sources.rb
nanoc-3.7.2 lib/nanoc/data_sources.rb
nanoc-3.7.1 lib/nanoc/data_sources.rb
nanoc-3.7.0 lib/nanoc/data_sources.rb
nanoc-3.6.11 lib/nanoc/data_sources.rb
nanoc-3.6.10 lib/nanoc/data_sources.rb
nanoc-3.6.9 lib/nanoc/data_sources.rb
nanoc-3.6.8 lib/nanoc/data_sources.rb
nanoc-3.6.7 lib/nanoc/data_sources.rb
nanoc-3.6.6 lib/nanoc/data_sources.rb
nanoc-3.6.5 lib/nanoc/data_sources.rb
nanoc-3.6.4 lib/nanoc/data_sources.rb
nanoc-3.6.3 lib/nanoc/data_sources.rb
nanoc-3.6.2 lib/nanoc/data_sources.rb
nanoc-3.6.1 lib/nanoc/data_sources.rb
nanoc-3.6.0 lib/nanoc/data_sources.rb
nanoc-3.5.0 lib/nanoc/data_sources.rb
nanoc-3.5.0b2 lib/nanoc/data_sources.rb
nanoc-3.5.0b1 lib/nanoc/data_sources.rb