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

[CLAide] Fix deprecation warnings.

parent 4ce98bee
...@@ -80,7 +80,7 @@ module Pod ...@@ -80,7 +80,7 @@ module Pod
super super
config.silent = argv.flag?('silent', config.silent) config.silent = argv.flag?('silent', config.silent)
config.verbose = self.verbose? unless self.verbose.nil? config.verbose = self.verbose? unless self.verbose.nil?
unless self.colorize_output? unless self.ansi_output?
String.send(:define_method, :colorize) { |string , _| string } String.send(:define_method, :colorize) { |string , _| string }
end end
end end
......
...@@ -89,7 +89,7 @@ end ...@@ -89,7 +89,7 @@ end
# environment. # environment.
# #
def launch_binary(arguments, folder) 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 Dir.chdir(TMP_DIR + folder) do
output = `#{command}` output = `#{command}`
it "$ pod #{arguments}" do it "$ pod #{arguments}" do
......
...@@ -5,7 +5,7 @@ module SpecHelper ...@@ -5,7 +5,7 @@ module SpecHelper
end end
def command(*argv) def command(*argv)
argv << '--no-color' argv << '--no-ansi'
Pod::Command.parse(argv) Pod::Command.parse(argv)
end 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