lib/sigh/download_all.rb in sigh-1.3.0 vs lib/sigh/download_all.rb in sigh-1.3.1
- old
+ new
@@ -1,19 +1,19 @@
module Sigh
class DownloadAll
# Download all valid provisioning profiles
def download_all
- Helper.log.info "Starting login with user '#{Sigh.config[:username]}'"
+ UI.message "Starting login with user '#{Sigh.config[:username]}'"
Spaceship.login(Sigh.config[:username], nil)
Spaceship.select_team
- Helper.log.info "Successfully logged in"
+ UI.message "Successfully logged in"
Spaceship.provisioning_profile.all.each do |profile|
if profile.valid?
- Helper.log.info "Downloading profile '#{profile.name}'...".green
+ UI.message "Downloading profile '#{profile.name}'..."
download_profile(profile)
else
- Helper.log.info "Skipping invalid/expired profile '#{profile.name}'".yellow
+ UI.important "Skipping invalid/expired profile '#{profile.name}'"
end
end
end
def download_profile(profile)