Sha256: 2ad68b1ecdcae2fa24cf341b56fbda5d26ad566a620d9925e78ef184d952c7a4
Contents?: true
Size: 1.11 KB
Versions: 10
Compression:
Stored size: 1.11 KB
Contents
require_relative 'tasks/three_point_two_task' module Alchemy module Upgrader::ThreePointTwo private def upgrade_acts_as_taggable_on_migrations desc 'Installs acts_as_taggable_on migrations.' if !`bundle exec rake railties:install:migrations FROM=acts_as_taggable_on_engine`.empty? Alchemy::Upgrader::Tasks::ThreePointTwoTask.new.patch_acts_as_taggable_on_migrations end `bundle exec rake db:migrate` end def inject_seeder desc 'Add Alchemy seeder to `db/seeds.rb` file.' Alchemy::Upgrader::Tasks::ThreePointTwoTask.new.inject_seeder end def alchemy_3_2_todos notice = <<-NOTE Capistrano 2 deploy script removed ---------------------------------- The Capistrano 2 based deploy script has been removed and replaced by an Capistrano 3 extension. Please update your Gemfile: group :development do gem 'capistrano-alchemy', github: 'AlchemyCMS/capistrano-alchemy', branch: 'master', require: false end For more information please visit https://github.com/AlchemyCMS/capistrano-alchemy. NOTE todo notice, 'Alchemy v3.2 changes' end end end
Version data entries
10 entries across 10 versions & 1 rubygems