Commit 4e2bfd3e authored by Fabio Pelosin's avatar Fabio Pelosin

[Pod::Config] Removed config.ios? and config.osx? deprecation notice as it has…

[Pod::Config] Removed config.ios? and config.osx? deprecation notice as it has been moved to spec lint
parent 38e32137
...@@ -53,16 +53,12 @@ module Pod ...@@ -53,16 +53,12 @@ module Pod
end end
def ios? def ios?
require 'colored' # TODO: deprecate in 0.7
caller.find { |line| line =~ /^(.+.podspec):\d*/ }
puts "[!] The use of `config.ios?` is deprecated and will be removed in version 0.7.#{" Called from: #{$1}" if $1}".red
podfile.target_definitions[:default].platform == :ios if podfile podfile.target_definitions[:default].platform == :ios if podfile
end end
def osx? def osx?
require 'colored' # TODO: deprecate in 0.7
caller.find { |line| line =~ /^(.+.podspec):\d*/ }
puts "[!] The use of `config.osx?` is deprecated and will be removed in version 0.7.#{" Called from: #{$1}" if $1}".red
podfile.target_definitions[:default].platform == :osx if podfile podfile.target_definitions[:default].platform == :osx if podfile
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