Class: CiCache::Set
- Inherits:
-
Object
- Object
- CiCache::Set
- Defined in:
- lib/ci-cache/set.rb
Instance Method Summary collapse
-
#initialize(context) ⇒ Set
constructor
A new instance of Set.
- #run ⇒ Object
Constructor Details
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/ci-cache/set.rb', line 10 def run if content_has_changed? context.log("Updating cache.") archive_files upload_archive upload_hash_file else context.log("Nothing changed.") end end |