Sha256: de6d9179d728d049cc113c7ceb22c266eb0d9e23374eea026ae8462301c03464
Contents?: true
Size: 545 Bytes
Versions: 7
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true # # A set of utils to manage Decidim Organizations. # namespace :cdtb do namespace :upgrades do require "decidim/cdtb/tasks_utils" include ::Decidim::Cdtb::TasksUtils desc <<~EODESC Validates that migrations from all gems in the Gemfile have been installed. EODESC task validate_migrations: [:environment] do task= ::Decidim::Cdtb::Upgrades::ValidateMigrationsTask.new task.execute! raise("There are pending migrations") if task.pending_migrations? end end end
Version data entries
7 entries across 7 versions & 1 rubygems