diff --git a/README.md b/README.md index 32365bd..cba0cc0 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ end #### Hide the iTunes Transporter log By default, the transporter log is shown, to be fully transparent. If you prefer to hide it, you can use the following option in your ```Deliverfile``` to disable it for both the upload and the download of metadata: ```ruby -hide_transporter_log +hide_transporter_output ``` ##### What is the ```Deliverfile```? diff --git a/lib/deliver/deliverfile/dsl.rb b/lib/deliver/deliverfile/dsl.rb index 68e49c9..f6c1023 100644 --- a/lib/deliver/deliverfile/dsl.rb +++ b/lib/deliver/deliverfile/dsl.rb @@ -108,7 +108,7 @@ def email(value) end # This will hide the output of the iTunes Connect transporter while uploading/downloading - def hide_transporter_log + def hide_transporter_output ItunesTransporter.hide_transporter_output end diff --git a/lib/deliver/itunes_transporter.rb b/lib/deliver/itunes_transporter.rb index c53bc14..a91acff 100644 --- a/lib/deliver/itunes_transporter.rb +++ b/lib/deliver/itunes_transporter.rb @@ -92,8 +92,8 @@ def execute_transporter(command) if defined?@@hide_transporter_output # Show a one time message instead Helper.log.info "Waiting for iTunes Connect transpoter to be finished.".green - Helper.log.info "If you want upload/download logs to be enabled, remove 'hide_transporter_log' from your Deliverfile." - Helper.log.info "In progress...".green + Helper.log.info "If you want upload/download logs to be enabled, remove 'hide_transporter_output' from your Deliverfile." + Helper.log.info "iTunes Transporter progress...".green end begin