Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Post-Install message to Solidus 3.0 #3985

Merged
merged 2 commits into from
Mar 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 0 additions & 158 deletions core/lib/tasks/migrations/migrate_address_names.rake

This file was deleted.

This file was deleted.

12 changes: 7 additions & 5 deletions core/lib/tasks/upgrade.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

namespace :solidus do
namespace :upgrade do
desc "Upgrade Solidus to version 2.11"
task two_point_eleven: [
'solidus:migrations:migrate_default_billing_addresses_to_address_book:up',
'solidus:migrations:migrate_address_names:up'
task three_point_zero: [
'railties:install:migrations',
'db:migrate'
] do
puts "Your Solidus install is ready for Solidus 2.11"
puts "Your Solidus install is ready for Solidus 3.0"
end
end

desc "Upgrade to the current Solidus version"
task upgrade: 'upgrade:three_point_zero'
end
20 changes: 20 additions & 0 deletions core/solidus_core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,24 @@ Gem::Specification.new do |s|
s.add_dependency 'kt-paperclip', '~> 6.3'
s.add_dependency 'ransack', '~> 2.0'
s.add_dependency 'state_machines-activerecord', '~> 0.6'

s.post_install_message = <<-MSG
-------------------------------------------------------------
Thank you for using Solidus
-------------------------------------------------------------
If this is a fresh install, don't forget to run the Solidus
installer with the following command:

$ bin/rails g solidus:install

If you are updating Solidus from an older version, please run
the following commands to complete the update:

$ bin/rails solidus:upgrade

Please report any issues at:
- https://github.com/solidusio/solidus/issues
- http://slack.solidus.io/
-------------------------------------------------------------
MSG
end
93 changes: 0 additions & 93 deletions core/spec/lib/tasks/migrations/migrate_address_names_spec.rb

This file was deleted.

Loading