module JekyllImport::Importers::DrupalCommon
Public Instance Methods
Source
# File lib/jekyll-import/importers/drupal_common.rb, line 171 def aliases_query(_prefix) # Make sure you implement the query returning "alias" as the column name # for the URL aliases. See the Drupal 6 importer for an example. The # alias field is called 'dst' but we alias it to 'alias', to follow # Drupal 7's column names. raise "The importer you are trying to use does not implement the get_aliases_query() method." end
Source
# File lib/jekyll-import/importers/drupal_common.rb, line 167 def build_query(_prefix, _types, _engine) raise "The importer you are trying to use does not implement the get_query() method." end
Source
# File lib/jekyll-import/importers/drupal_common.rb, line 179 def post_data(_sql_post_data) raise "The importer you are trying to use does not implement the get_query() method." end
Source
# File lib/jekyll-import/importers/drupal_common.rb, line 183 def validate(options) %w(dbname user).each do |option| abort "Missing mandatory option --#{option}." unless options.key?(option) end end