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

[Podfile] Inline specs are deprecated, use the `:podspec` option.

parent 1ea79468
......@@ -404,6 +404,7 @@ module Pod
# For more info on the definition of a Pod::Specification see:
# https://github.com/CocoaPods/CocoaPods/wiki/A-pod-specification
def pod(*name_and_version_requirements, &block)
warn "[DEPRECATED] Inline specs are deprecated, use the `:podspec` option." if block_given?
@target_definition.target_dependencies << Dependency.new(*name_and_version_requirements, &block)
end
......
......@@ -110,7 +110,7 @@ module Pod
# that the user should take.
#
# @param [String] message The message to print.
# @param [Actions] actions The actions that the user should take.
# @param [Array] actions The actions that the user should take.
#
# return [void]
#
......
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