Sha256: e0ab8482c0d6ea91642d7357937f8da5f721884aa18c766d05c7fd5e6bfb6eda

Contents?: true

Size: 1.69 KB

Versions: 24

Compression:

Stored size: 1.69 KB

Contents

require_relative 'tasks/harden_acts_as_taggable_on_migrations'

module Alchemy
  class Upgrader::FourPointOne < Upgrader
    class << self
      def harden_acts_as_taggable_on_migrations
        desc 'Harden `acts_as_taggable_on_migrations`'
        `bundle exec rake railties:install:migrations FROM=acts_as_taggable_on_engine`
        Alchemy::Upgrader::Tasks::HardenActsAsTaggableOnMigrations.new.patch_migrations
        `bundle exec rake db:migrate`
      end

      def alchemy_4_1_todos
        notice = <<-NOTE.strip_heredoc
          ℹ️  Changed tagging provider to Gutentag
          ---------------------------------------

          The automatic updater that just ran updated all existing `acts_as_taggable_on_migrations`,
          so that they don't blow up if the `acts_as_taggable_on` gem is no longer available.

          All your existing tags have been migrated to `Gutentag::Tag`s.


          ⚠️  Removed Rails and non-English translations
          ---------------------------------------------

          Removed the Rails translations from our translation files and moved all non-english translation
          files into the newly introduced `alchemy_i18n` gem.

          If you need more translations than the default English one you can either put `alchemy_i18n`
          in to your apps `Gemfile` or - recommended - copy only the translation files you need into your
          apps `config/locales` folder.

          For the Rails translations either put the `rails-i18n` gem into your apps Gemfile or - recommended -
          copy only the translation files you need into your apps config/locales folder.

        NOTE
        todo notice, 'Alchemy v4.1 TODO'
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.6 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.5 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.5.1 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.4.5 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.4 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.3 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.2 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.1 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.6.0 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.5.0 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.4.4 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.4.3 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.4.2 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.4.1 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.4.0 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.3.2 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.2.4 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.3.1 lib/alchemy/upgrader/four_point_one.rb
alchemy_cms-4.2.3 lib/alchemy/upgrader/four_point_one.rb