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 Classes: AbstractCommand, BashBuilder, BuildCacheCommand, BuildCommand, Cli, Deb, Docker, DockerCommand, Foreman, ListCommand, Rpm, TarDiff
Constant Summary collapse
- LOAD_FILE =
'dockly.rb'
- VERSION =
'2.2.0'
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.
9 10 11 |
# File 'lib/dockly.rb', line 9 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.
9 10 11 |
# File 'lib/dockly.rb', line 9 def git_sha @git_sha end |
.inst ⇒ Object
27 28 29 |
# File 'lib/dockly.rb', line 27 def inst @instance ||= load_inst end |
.load_file ⇒ Object
23 24 25 |
# File 'lib/dockly.rb', line 23 def load_file @load_file || LOAD_FILE end |
.load_file=(value) ⇒ Object
Sets the attribute load_file
10 11 12 |
# File 'lib/dockly.rb', line 10 def load_file=(value) @load_file = value end |
.load_inst ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/dockly.rb', line 31 def load_inst setup.tap do |state| if File.exists?(load_file) instance_eval(IO.read(load_file), load_file) end end end |