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
45
|
# File 'lib/rails/commands/app/update_command.rb', line 42
def active_storage
require_application!
app_generator.update_active_storage
end
|
#bin ⇒ Object
30
31
32
33
|
# File 'lib/rails/commands/app/update_command.rb', line 30
def bin
require_application!
app_generator.update_bin_files
end
|
#configs ⇒ Object
23
24
25
26
27
|
# File 'lib/rails/commands/app/update_command.rb', line 23
def configs
require_application!
app_generator.create_boot_file
app_generator.update_config_files
end
|
14
15
16
17
18
19
20
|
# File 'lib/rails/commands/app/update_command.rb', line 14
def perform
configs
bin
public_directory
active_storage
display_upgrade_guide_info
end
|
#public_directory ⇒ Object
36
37
38
39
|
# File 'lib/rails/commands/app/update_command.rb', line 36
def public_directory
require_application!
app_generator.create_public_files
end
|