Module: Dockly
- Defined in:
- lib/dockly.rb,
lib/dockly/version.rb,
lib/dockly/bash_builder.rb,
lib/dockly/aws/s3_writer.rb
Defined Under Namespace
Modules: AWS, BuildCache, History Classes: AbstractCommand, BashBuilder, BuildCacheCommand, BuildCommand, Cli, Deb, Docker, DockerCommand, Foreman, ListCommand, Rpm, TarDiff
Constant Summary collapse
- LOAD_FILE =
'dockly.rb'- VERSION =
'2.7.1'
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Class Method Summary collapse
- .deb ⇒ Object
- .debs ⇒ Object
- .docker ⇒ Object
- .dockers ⇒ Object
- .foreman ⇒ Object
- .foremans ⇒ Object
-
.git_sha ⇒ Object
Returns the value of attribute git_sha.
- .inst ⇒ Object
- .load_file ⇒ Object
-
.load_file=(value) ⇒ Object
Sets the attribute load_file.
- .load_inst ⇒ Object
- .rpm ⇒ Object
- .rpms ⇒ Object
- .setup ⇒ Object
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
10 11 12 |
# File 'lib/dockly.rb', line 10 def instance @instance end |
Class Method Details
.deb ⇒ Object
.debs ⇒ Object
.docker ⇒ Object
.dockers ⇒ Object
.foreman ⇒ Object
.foremans ⇒ Object
.git_sha ⇒ Object
Returns the value of attribute git_sha.
10 11 12 |
# File 'lib/dockly.rb', line 10 def git_sha @git_sha end |
.inst ⇒ Object
30 31 32 |
# File 'lib/dockly.rb', line 30 def inst @instance ||= load_inst end |
.load_file ⇒ Object
26 27 28 |
# File 'lib/dockly.rb', line 26 def load_file @load_file || LOAD_FILE end |
.load_file=(value) ⇒ Object
Sets the attribute load_file
11 12 13 |
# File 'lib/dockly.rb', line 11 def load_file=(value) @load_file = value end |
.load_inst ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/dockly.rb', line 34 def load_inst setup.tap do |state| if File.exists?(load_file) instance_eval(IO.read(load_file), load_file) end end end |