Class: Dapp::Build::Stage::Source5
- Inherits:
-
SourceBase
- Object
- Base
- SourceBase
- Dapp::Build::Stage::Source5
- Defined in:
- lib/dapp/build/stage/source_5.rb
Overview
Source5
Constant Summary
Constants inherited from SourceBase
Dapp::Build::Stage::SourceBase::GITARTIFACT_IMAGE
Instance Attribute Summary
Attributes inherited from Base
#application, #next_stage, #prev_stage
Instance Method Summary collapse
- #image ⇒ Object
-
#initialize(application) ⇒ Source5
constructor
A new instance of Source5.
- #next_source_stage ⇒ Object
- #prev_source_stage ⇒ Object
- #signature ⇒ Object
Methods inherited from SourceBase
#dependencies_checksum, #layer_commit, #save_in_cache!
Methods inherited from Base
Methods included from Helper::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs, #to_mb
Methods included from Helper::Sha256
Constructor Details
#initialize(application) ⇒ Source5
Returns a new instance of Source5.
6 7 8 9 |
# File 'lib/dapp/build/stage/source_5.rb', line 6 def initialize(application) @prev_stage = Source4.new(application, self) @application = application end |
Instance Method Details
#image ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'lib/dapp/build/stage/source_5.rb', line 23 def image super do |image| .each do |k, v| next if v.nil? || v.empty? image.public_send("add_change_#{k}", v) end end end |
#next_source_stage ⇒ Object
15 16 17 |
# File 'lib/dapp/build/stage/source_5.rb', line 15 def next_source_stage nil end |
#prev_source_stage ⇒ Object
11 12 13 |
# File 'lib/dapp/build/stage/source_5.rb', line 11 def prev_source_stage prev_stage end |
#signature ⇒ Object
19 20 21 |
# File 'lib/dapp/build/stage/source_5.rb', line 19 def signature hashsum [super, ] end |