Module: Deploy
- Defined in:
- lib/deploy/cli.rb,
lib/deploy.rb,
lib/deploy/errors.rb,
lib/deploy/request.rb,
lib/deploy/version.rb,
lib/deploy/resource.rb,
lib/deploy/configuration.rb,
lib/deploy/resources/server.rb,
lib/deploy/resources/project.rb,
lib/deploy/cli/websocket_client.rb,
lib/deploy/resources/deployment.rb,
lib/deploy/resources/server_group.rb,
lib/deploy/resources/deployment_step.rb,
lib/deploy/resources/deployment_step_log.rb,
lib/deploy/cli/deployment_progress_output.rb
Overview
rubocop:disable Metrics/AbcSize rubocop:disable Metrics/CyclomaticComplexity rubocop:disable Metrics/MethodLength
Defined Under Namespace
Modules: Errors
Classes: CLI, Configuration, Deployment, DeploymentStep, DeploymentStepLog, Error, Project, Request, Resource, Server, ServerGroup
Constant Summary
collapse
- VERSION_FILE_ROOT =
File.expand_path('../../VERSION', __dir__)
- VERSION =
'0.0.0.dev'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
39
40
41
|
# File 'lib/deploy.rb', line 39
def configuration
@configuration ||= Configuration.new
end
|
.configuration_file=(file_location) ⇒ Object
43
44
45
|
# File 'lib/deploy.rb', line 43
def configuration_file=(file_location)
@configuration = Configuration.from_file(file_location)
end
|
33
34
35
36
37
|
# File 'lib/deploy.rb', line 33
def configure
@configuration ||= Configuration.new
yield @configuration if block_given?
@configuration
end
|