Module: EY::Serverside
- Defined in:
- lib/engineyard-serverside.rb,
lib/engineyard-serverside/cli.rb,
lib/engineyard-serverside/task.rb,
lib/engineyard-serverside/paths.rb,
lib/engineyard-serverside/shell.rb,
lib/engineyard-serverside/deploy.rb,
lib/engineyard-serverside/future.rb,
lib/engineyard-serverside/server.rb,
lib/engineyard-serverside/servers.rb,
lib/engineyard-serverside/version.rb,
lib/engineyard-serverside/cli_helpers.rb,
lib/engineyard-serverside/deploy_hook.rb,
lib/engineyard-serverside/deprecation.rb,
lib/engineyard-serverside/maintenance.rb,
lib/engineyard-serverside/configuration.rb,
lib/engineyard-serverside/shell/helpers.rb,
lib/engineyard-serverside/shell/yieldio.rb,
lib/engineyard-serverside/strategies/git.rb,
lib/engineyard-serverside/lockfile_parser.rb,
lib/engineyard-serverside/shell/formatter.rb,
lib/engineyard-serverside/futures/dataflow.rb,
lib/engineyard-serverside/futures/celluloid.rb,
lib/engineyard-serverside/rails_asset_support.rb,
lib/engineyard-serverside/shell/command_result.rb
Defined Under Namespace
Modules: CLIHelpers, RailsAssetSupport, Strategies
Classes: CLI, Deploy, DeployBase, DeployHook, Future, LockfileParser, Maintenance, Paths, Server, Servers, Shell, Task
Constant Summary
collapse
- RemoteFailure =
Class.new StandardError
- VERSION =
'2.0.4'
Class Method Summary
collapse
Class Method Details
.const_missing(const) ⇒ Object
9
10
11
12
13
14
15
16
|
# File 'lib/engineyard-serverside/deprecation.rb', line 9
def self.const_missing(const)
if const == :LoggedOutput
EY::Serverside.deprecation_warning("EY::Serverside::LoggedOutput has been deprecated. Use EY::Serverside::Shell::Helpers instead.")
EY::Serverside::Shell::Helpers
else
super
end
end
|
.deprecation_warning(msg) ⇒ Object
5
6
7
|
# File 'lib/engineyard-serverside/deprecation.rb', line 5
def self.deprecation_warning(msg)
$stderr.puts "DEPRECATION WARNING: #{msg}\n\t#{caller(2).first}"
end
|
40
41
42
|
# File 'lib/engineyard-serverside.rb', line 40
def self.dna_json
@dna_json ||= read_encoded_dna
end
|
36
37
38
|
# File 'lib/engineyard-serverside.rb', line 36
def self.node
@node ||= deep_indifferentize(JSON.parse(dna_json))
end
|