Sha256: 43a9af42d386bf93001a0c1174829472866f9cff1e072da386958efd8b65fd3b
Contents?: true
Size: 592 Bytes
Versions: 4
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require "decidim/cdtb/tasks" namespace :cdtb do namespace :users do desc <<~EODESC Fix Decidim::User's nicknames. EODESC task fix_nicknames: [:environment] do fixer= ::Decidim::Cdtb::Fixes::NicknameFixer.new fixer.execute! end desc <<~EODESC Remove Decidim::User's by IDs in a CSV. EODESC task :remove, %i[csv_path reporter_user_email] => [:environment] do |_taks, args| service = ::Decidim::Cdtb::Users::Remover.new(args.csv_path, args.reporter_user_email) service.execute! end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
decidim-cdtb-0.3.0 | lib/tasks/users.rake |
decidim-cdtb-0.2.1 | lib/tasks/users.rake |
decidim-cdtb-0.1.8 | lib/tasks/users.rake |
decidim-cdtb-0.1.7 | lib/tasks/users.rake |