Sha256: 632d6b7a2c8e06776d2bfdebd41199ffba1ab5245d30438cdd55efb4c4ae5cfe

Contents?: true

Size: 1.42 KB

Versions: 12

Compression:

Stored size: 1.42 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'

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

  # 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

12 entries across 12 versions & 1 rubygems

Version Path
nanoc-3.4.3 lib/nanoc/data_sources.rb
nanoc-3.4.2 lib/nanoc/data_sources.rb
nanoc-3.4.1 lib/nanoc/data_sources.rb
nanoc-3.4.0 lib/nanoc/data_sources.rb
nanoc-3.3.7 lib/nanoc/data_sources.rb
nanoc-3.3.6 lib/nanoc/data_sources.rb
nanoc-3.3.5 lib/nanoc/data_sources.rb
nanoc-3.3.4 lib/nanoc/data_sources.rb
nanoc-3.3.3 lib/nanoc/data_sources.rb
nanoc-3.3.2 lib/nanoc/data_sources.rb
nanoc-3.3.1 lib/nanoc/data_sources.rb
nanoc-3.3.0 lib/nanoc/data_sources.rb