From 04f4b0541257f567cfbb0dacde68aa558ed6f0e7 Mon Sep 17 00:00:00 2001 From: Josh Oldenburg Date: Mon, 26 May 2014 10:35:11 -0400 Subject: [PATCH 1/4] Ignore files related to Cocoapods. These include Podfile, Podfile.lock, and Pods/. --- lib/linguist/vendor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 51383984..bc98429f 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -124,6 +124,11 @@ ## Obj-C ## +# Cocoapods +- ^Podfile$ +- ^Podfile.lock$ +- ^Pods/$ + # Sparkle - (^|/)Sparkle/ From 06e095e5fcce677205468a34074949afa3f0f7c2 Mon Sep 17 00:00:00 2001 From: Josh Oldenburg Date: Tue, 1 Jul 2014 21:38:51 -0400 Subject: [PATCH 2/4] Only ignore Pods/ for CocoaPods. --- lib/linguist/vendor.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index bc98429f..130d3ff1 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -125,8 +125,6 @@ ## Obj-C ## # Cocoapods -- ^Podfile$ -- ^Podfile.lock$ - ^Pods/$ # Sparkle From aa72012d417310780ade1954a057a1a8ece64bce Mon Sep 17 00:00:00 2001 From: Josh Oldenburg Date: Thu, 3 Jul 2014 16:18:58 -0400 Subject: [PATCH 3/4] Ignore everything in the Pods directory. --- lib/linguist/vendor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 130d3ff1..562f51f0 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -125,7 +125,7 @@ ## Obj-C ## # Cocoapods -- ^Pods/$ +- ^Pods/ # Sparkle - (^|/)Sparkle/ From 3e2f18bf3f8bc7cfa3d0eca7c14225bdac9580b8 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Fri, 4 Jul 2014 18:45:43 -0500 Subject: [PATCH 4/4] Testing Pods --- test/test_blob.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_blob.rb b/test/test_blob.rb index da13b96e..4de32c40 100644 --- a/test/test_blob.rb +++ b/test/test_blob.rb @@ -363,6 +363,9 @@ class TestBlob < Test::Unit::TestCase # NuGet Packages assert blob("packages/Modernizr.2.0.6/Content/Scripts/modernizr-2.0.6-development-only.js").vendored? + + # Cocoapods + assert blob('Pods/blah').vendored? # Test fixtures assert blob("test/fixtures/random.rkt").vendored?