From a576b8d3c885ba44c4d0e026dcc3aaf0090ee498 Mon Sep 17 00:00:00 2001 From: Eloy Duran Date: Wed, 9 Nov 2011 12:37:24 +0100 Subject: [PATCH 1/2] Recognize CocoaPods documents as Ruby source files. Examples: * https://github.com/alloy/cocoapods/blob/master/examples/MacRubySample/Podfile * https://github.com/alloy/cocoapods-specs/blob/master/SSToolkit/0.1.2/SSToolkit.podspec Also sorted filenames in languages.yml. --- lib/linguist/languages.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 2430d9a2..a7de46f3 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -817,6 +817,7 @@ Ruby: - .gemspec - .god - .irbrc + - .podspec - .rake - .rb - .rbuild @@ -827,10 +828,11 @@ Ruby: - .watchr filenames: - Capfile - - Rakefile - - Thorfile - Gemfile - Guardfile + - Podfile + - Rakefile + - Thorfile - Vagrantfile Rust: From d70e8272d80d27b220dbf5b7128bd7ef597093ac Mon Sep 17 00:00:00 2001 From: Eloy Duran Date: Wed, 9 Nov 2011 12:45:51 +0100 Subject: [PATCH 2/2] Add note to README about errors when the CharlockHolmes gem isn't installed correctly. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c091ba21..4aecd47c 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ To run the tests: *Since this code is specific to GitHub, is not published as a official rubygem.* +If you are seeing errors like `StandardError: could not find any magic files!`, it means the CharlockHolmes gem didn’t install correctly. See the [installing section](https://github.com/brianmario/charlock_holmes/blob/master/README.md) of the CharlockHolmes README for more information. + ## Contributing 1. Fork it.