Sha256: 9f54761a0c972f1bacb7ad467bc29b7dec78b18502fffdaf07c9e02b274414e2
Contents?: true
Size: 624 Bytes
Versions: 2
Compression:
Stored size: 624 Bytes
Contents
namespace :curation_concerns do desc 'Print a count of each object type' task count: [:environment] do Rails.application.eager_load! puts "Number of objects in fedora:" ActiveFedora::Base.descendants.each do |model| puts " #{model}: #{model.count}" end end namespace :migrate do desc "Migrate collections" task collections: :environment do CurationConcerns::DataMigration::CollectionsMigration.run end end namespace :solr do desc "Enqueue a job to resolrize the repository objects" task reindex: :environment do ResolrizeJob.perform_later end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curation_concerns-2.0.0 | lib/tasks/curation_concerns.rake |
curation_concerns-2.0.0.rc2 | lib/tasks/curation_concerns.rake |