Sha256: ea026c118da998bf054cd8869fa8e5bde7a18a0deec66c9cf3757232b834a26d

Contents?: true

Size: 616 Bytes

Versions: 39

Compression:

Stored size: 616 Bytes

Contents

# frozen_string_literal: true

require_relative "tasks/add_page_versions"
require_relative "tasks/ingredients_migrator"

module Alchemy
  class Upgrader::SixPointZero < Upgrader
    class << self
      def create_public_page_versions
        desc "Create public page versions for pages"
        Alchemy::Upgrader::Tasks::AddPageVersions.new.create_public_page_versions
      end

      def create_ingredients
        desc "Create ingredients for elements with ingredients defined"
        Alchemy::Upgrader::Tasks::IngredientsMigrator.new.create_ingredients
        log "Done.", :success
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.9 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.8 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.7 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.6 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.5 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.14 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.4 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.13 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.3 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.2 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.1 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.1.0 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.12 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.11 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.10 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.9 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.8 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.7 lib/alchemy/upgrader/six_point_zero.rb
alchemy_cms-6.0.6 lib/alchemy/upgrader/six_point_zero.rb