spaceship/lib/spaceship/playground.rb in fastlane-2.74.1 vs spaceship/lib/spaceship/playground.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -31,40 +31,40 @@
@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("Could not login to iTunes Connect...".red)
end
begin
- puts "Logging into the Developer Portal (#{@username})..."
+ puts("Logging into the Developer Portal (#{@username})...")
Spaceship::Portal.login(@username)
- puts "Successfully logged in to the Developer Portal".green
- puts ""
+ puts("Successfully logged in to the Developer Portal".green)
+ puts("")
rescue
- puts "Could not login to the Developer Portal...".red
+ puts("Could not login to the Developer Portal...".red)
end
- puts "---------------------------------------".green
- puts "| Welcome to the spaceship playground |".green
- puts "---------------------------------------".green
- puts ""
- puts "Enter #{'docs'.yellow} to open up the documentation"
- puts "Enter #{'exit'.yellow} to exit the spaceship playground"
- puts "Enter #{'_'.yellow} to access the return value of the last executed command"
- puts ""
- puts "Just enter the commands and confirm with Enter".green
+ puts("---------------------------------------".green)
+ puts("| Welcome to the spaceship playground |".green)
+ puts("---------------------------------------".green)
+ puts("")
+ puts("Enter #{'docs'.yellow} to open up the documentation")
+ puts("Enter #{'exit'.yellow} to exit the spaceship playground")
+ puts("Enter #{'_'.yellow} to access the return value of the last executed command")
+ puts("")
+ puts("Just enter the commands and confirm with Enter".green)
# rubocop:disable Lint/Debugger
binding.pry(quiet: true)
# rubocop:enable Lint/Debugger
- puts "" # Fixes https://github.com/fastlane/spaceship/issues/203
+ puts("") # Fixes https://github.com/fastlane/spaceship/issues/203
end
def docs
url = 'https://github.com/fastlane/fastlane/tree/master/spaceship/docs'
`open '#{url}'`