Permalink
Browse files

Alias dependency to dep

  • Loading branch information...
1 parent 71d754c commit 85b48472d08cb1412f2688b63118352091d2410a @listrophy committed Jun 14, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/cocoapods/podfile.rb
  2. +1 −1 spec/fixtures/Podfile
View
@@ -350,6 +350,7 @@ def link_with(targets)
def dependency(*name_and_version_requirements, &block)
@target_definition.target_dependencies << Dependency.new(*name_and_version_requirements, &block)
end
+ alias_method :dep, :dependency
# Specifies that a BridgeSupport metadata document should be generated from
# the headers of all installed Pods.
View
@@ -2,4 +2,4 @@ platform :ios
dependency 'SSZipArchive', '>= 1'
dependency 'ASIHTTPRequest', '~> 1.8.0'
dependency 'Reachability' # part of ASIHTTPRequest
-dependency 'ASIWebPageRequest', '< 1.8.2' # part of ASIHTTPRequest
+dep 'ASIWebPageRequest', '< 1.8.2' # part of ASIHTTPRequest

0 comments on commit 85b4847

Please sign in to comment.