Final ASCII changes
This commit is contained in:
parent
aa82929925
commit
fab7b94655
2 changed files with 4 additions and 2 deletions
|
|
@ -19,10 +19,10 @@ module Granblue
|
|||
log_info "-> #{@id}"
|
||||
return if @test_mode
|
||||
|
||||
SIZES.each do |size, i|
|
||||
SIZES.each_with_index do |size, index|
|
||||
path = download_path(size)
|
||||
url = build_url(size)
|
||||
process_download(url, size, path, last: i == SIZES.size - 1)
|
||||
process_download(url, size, path, last: index == SIZES.size - 1)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ class PostDeploymentManager
|
|||
|
||||
def import_new_data
|
||||
log_header 'Importing new data...'
|
||||
puts "\n"
|
||||
importer = Granblue::DataImporter.new(
|
||||
test_mode: @test_mode,
|
||||
verbose: @verbose
|
||||
|
|
@ -63,6 +64,7 @@ class PostDeploymentManager
|
|||
def display_import_summary
|
||||
if @new_records.size > 0 || @updated_records.size > 0
|
||||
log_header 'Import Summary', '-'
|
||||
puts "\n"
|
||||
display_record_summary('New', @new_records)
|
||||
display_record_summary('Updated', @updated_records)
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue