Module: Deployed
- Defined in:
- lib/deployed.rb,
lib/deployed/engine.rb,
lib/deployed/version.rb,
app/models/deployed/config.rb,
app/models/deployed/current_execution.rb,
app/helpers/deployed/log_output_helper.rb,
app/controllers/deployed/git_controller.rb,
app/controllers/deployed/run_controller.rb,
app/helpers/deployed/application_helper.rb,
app/controllers/deployed/setup_controller.rb,
app/controllers/deployed/config_controller.rb,
app/controllers/deployed/welcome_controller.rb,
app/controllers/deployed/log_output_controller.rb,
app/controllers/deployed/application_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, LogOutputHelper Classes: ApplicationController, Config, ConfigController, CurrentExecution, Engine, GitController, LogOutputController, RunController, SetupController, WelcomeController
Constant Summary collapse
- DIRECTORY =
'.deployed'- VERSION =
"0.1.3"
Class Method Summary collapse
Class Method Details
.setup! ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/deployed.rb', line 7 def self.setup! # Ensure directory is set up directory_path = Rails.root.join(DIRECTORY) unless File.directory?(directory_path) Dir.mkdir(directory_path) end # Ensure we read the config Deployed::Config.init! end |