require 'rummager'

desc "Apply metadata from the json file"
task :tag_metadata do
  Indexer::MetadataTagger.amend_indexes_for_file(file_path)
end

require 'rummager'

desc "Apply metadata from the json file"
task :tag_metadata do
  Indexer::MetadataTagger.amend_all_metadata
end

Call 'amend_all_metadata' in tag_metadata task
Call 'amend_all_metadata' in tag_metadata task

This was renamed in 1645f66.