Class: PrelandsRails::UpdateSimpleSource

Inherits:
Object
  • Object
show all
Includes:
Interactor::Contracts, Interactor::Organizer, AbstractInteractor
Defined in:
lib/prelands_rails/update_simple_source.rb,
lib/prelands_rails/update_simple_source/upload.rb,
lib/prelands_rails/update_simple_source/compile.rb,
lib/prelands_rails/update_simple_source/update_record.rb,
lib/prelands_rails/update_simple_source/check_zip_files.rb,
lib/prelands_rails/update_simple_source/validate_zip_content.rb,
lib/prelands_rails/update_simple_source/generate_new_aws_prefix.rb,
lib/prelands_rails/update_simple_source/upload/delete_compiled_files.rb,
lib/prelands_rails/update_simple_source/remove_content_from_old_aws_prefix.rb

Overview

Примет zip-файл с исходниками преленда и обновит исходники этого преленда. В результате будет обновлён ‘aws_prefix` – имя директории в букете, что позволит избежать кэширования статического контента. . Другими словами, при обновлении файлов не надо ждать, пока Amazon обновит кэш или очищать кэш Amazon-а.

Defined Under Namespace

Classes: CheckZipFiles, Compile, GenerateNewAwsPrefix, RemoveContentFromOldAwsPrefix, UpdateRecord, Upload, ValidateZipContent

Method Summary

Methods included from AbstractInteractor

#call