Commit affa2857 authored by Eloy Durán's avatar Eloy Durán

[CLAide] Fix deprecation warnings.

parent 4ce98bee
......@@ -80,7 +80,7 @@ module Pod
super
config.silent = argv.flag?('silent', config.silent)
config.verbose = self.verbose? unless self.verbose.nil?
unless self.colorize_output?
unless self.ansi_output?
String.send(:define_method, :colorize) { |string , _| string }
end
end
......
......@@ -89,7 +89,7 @@ end
# environment.
#
def launch_binary(arguments, folder)
command = "CP_AGGRESSIVE_CACHE=TRUE #{POD_BINARY} #{arguments} --verbose --no-color 2>&1"
command = "CP_AGGRESSIVE_CACHE=TRUE #{POD_BINARY} #{arguments} --verbose --no-ansi 2>&1"
Dir.chdir(TMP_DIR + folder) do
output = `#{command}`
it "$ pod #{arguments}" do
......
......@@ -5,7 +5,7 @@ module SpecHelper
end
def command(*argv)
argv << '--no-color'
argv << '--no-ansi'
Pod::Command.parse(argv)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment