Sha256: b30c9c4dba0b8cdbf28a5b1eafc8f09b4037466328d50abc681f9f1ccf48401e

Contents?: true

Size: 476 Bytes

Versions: 10

Compression:

Stored size: 476 Bytes

Contents

namespace :promethee do

  desc "Remove useless attributes from localizations' data"
  task :clean_localizations, [:model_name] => :environment do |task, args|
    service = Promethee::LocalizeCleanService.new(args[:model_name])
    service.start
  end

  desc "Upgrade your table components' to 2.x structure"
  task :upgrade_table, [:model_name] => :environment do |task, args|
    service = Promethee::TableUpgradeService.new(args[:model_name])
    service.start
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
promethee-2.0.9 lib/tasks/promethee/promethee.rake
promethee-2.0.8 lib/tasks/promethee/promethee.rake
promethee-2.0.7 lib/tasks/promethee/promethee.rake
promethee-2.0.6 lib/tasks/promethee/promethee.rake
promethee-2.0.5 lib/tasks/promethee/promethee.rake
promethee-2.0.4 lib/tasks/promethee/promethee.rake
promethee-2.0.3 lib/tasks/promethee/promethee.rake
promethee-2.0.2 lib/tasks/promethee/promethee.rake
promethee-2.0.1 lib/tasks/promethee/promethee.rake
promethee-2.0.0 lib/tasks/promethee/promethee.rake