spaceship/lib/spaceship/spaceauth_runner.rb in fastlane-2.74.1 vs spaceship/lib/spaceship/spaceauth_runner.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -12,20 +12,20 @@
@username ||= ask("Username: ")
end
def run
begin
- puts "Logging into to iTunes Connect (#{@username})..."
+ puts("Logging into to iTunes Connect (#{@username})...")
Spaceship::Tunes.login(@username)
- puts "Successfully logged in to iTunes Connect".green
- puts ""
+ puts("Successfully logged in to iTunes Connect".green)
+ puts("")
rescue
- puts "Could not login to iTunes Connect".red
- puts "Please check your credentials and try again.".yellow
- puts "This could be an issue with iTunes Connect,".yellow
- puts "Please try unsetting the FASTLANE_SESSION environment variable".yellow
- puts "and re-run `fastlane spaceauth`".yellow
+ puts("Could not login to iTunes Connect".red)
+ puts("Please check your credentials and try again.".yellow)
+ puts("This could be an issue with iTunes Connect,".yellow)
+ puts("Please try unsetting the FASTLANE_SESSION environment variable".yellow)
+ puts("and re-run `fastlane spaceauth`".yellow)
raise "Problem connecting to iTunes Connect"
end
itc_cookie_content = Spaceship::Tunes.client.store_cookie
@@ -47,16 +47,16 @@
cookie.name.start_with?("DES5") || cookie.name == 'dqsid'
end
yaml = cookies.to_yaml.gsub("\n", "\\n")
- puts "---"
- puts ""
- puts "Pass the following via the FASTLANE_SESSION environment variable:"
- puts yaml.cyan.underline
- puts ""
- puts ""
- puts "Example:"
- puts "export FASTLANE_SESSION='#{yaml}'".cyan.underline
+ puts("---")
+ puts("")
+ puts("Pass the following via the FASTLANE_SESSION environment variable:")
+ puts(yaml.cyan.underline)
+ puts("")
+ puts("")
+ puts("Example:")
+ puts("export FASTLANE_SESSION='#{yaml}'".cyan.underline)
end
end
end