From f63ff24a53a6efed2a4385643cb91aff64d0c41e Mon Sep 17 00:00:00 2001 From: Maximilian Tagher Date: Tue, 6 Aug 2013 11:51:36 -0700 Subject: [PATCH] Updates the File patterns attribute to note that .. is not supported See discussion at: https://github.com/CocoaPods/CocoaPods/issues/1259 --- lib/cocoapods-core/specification/dsl.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/cocoapods-core/specification/dsl.rb b/lib/cocoapods-core/specification/dsl.rb index 2802c1bcd..948e21e84 100644 --- a/lib/cocoapods-core/specification/dsl.rb +++ b/lib/cocoapods-core/specification/dsl.rb @@ -674,8 +674,10 @@ def dependency(*args) # @!group File patterns # - # These paths should be specified **relative** to the **root** of the - # source and may contain the following wildcard patterns: + # Podspecs should be located at the **root** of the repository, and paths + # to files should be specified **relative** to the root of the repository + # as well. File patterns do not support traversing the parent directory ( `..` ). + # File patterns may contain the following wildcard patterns: # # --- #