diff --git a/lib/linguist/generated.rb b/lib/linguist/generated.rb index 761288f0..2074e008 100644 --- a/lib/linguist/generated.rb +++ b/lib/linguist/generated.rb @@ -54,7 +54,7 @@ module Linguist name == 'Gemfile.lock' || minified_files? || compiled_coffeescript? || - xcode_project_file? || + xcode_file? || generated_parser? || generated_net_docfile? || generated_net_designer_file? || @@ -67,14 +67,14 @@ module Linguist generated_by_zephir? end - # Internal: Is the blob an XCode project file? + # Internal: Is the blob an Xcode file? # - # Generated if the file extension is an XCode project + # Generated if the file extension is an Xcode # file extension. # # Returns true of false. - def xcode_project_file? - ['.xib', '.nib', '.storyboard', '.pbxproj', '.xcworkspacedata', '.xcuserstate'].include?(extname) + def xcode_file? + ['.nib', '.pbxproj'].include?(extname) end # Internal: Is the blob minified files?