Class: Rails::Command::App::UpdateCommand
- Inherits:
-
Base
- Object
- Thor
- Base
- Rails::Command::App::UpdateCommand
show all
- Includes:
- Thor::Actions
- Defined in:
- lib/rails/commands/app/update_command.rb
Overview
Instance Method Summary
collapse
Methods inherited from Base
banner, base_name, class_usage, command_name, default_command_root, desc, engine?, executable, exit_on_failure?, help, hide_command!, inherited, namespace, perform, printing_commands, usage_path
#boot_application!, #load_environment_config!, #load_generators, #load_tasks, #require_application!, #set_application_directory!
Instance Method Details
#active_storage ⇒ Object
42
43
44
|
# File 'lib/rails/commands/app/update_command.rb', line 42
def active_storage
app_generator.update_active_storage
end
|
#bin ⇒ Object
32
33
34
|
# File 'lib/rails/commands/app/update_command.rb', line 32
def bin
app_generator.update_bin_files
end
|
#configs ⇒ Object
26
27
28
29
|
# File 'lib/rails/commands/app/update_command.rb', line 26
def configs
app_generator.create_boot_file
app_generator.update_config_files
end
|
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/rails/commands/app/update_command.rb', line 14
def perform
require_application!
Rails.application.deprecators.silenced = true
configs
bin
public_directory
active_storage
display_upgrade_guide_info
end
|
#public_directory ⇒ Object
37
38
39
|
# File 'lib/rails/commands/app/update_command.rb', line 37
def public_directory
app_generator.create_public_files
end
|