From 5b1b303ab3680e2c29b39b4b19e5b1ea6b4cc3c7 Mon Sep 17 00:00:00 2001 From: tiredpixel Date: Fri, 12 Apr 2013 19:34:36 +0100 Subject: [PATCH] Slashify Ruby files and directories. Perhaps this is a little pedantic, but without the initial / all such matches within the repository get ignored, and without the trailing slash files as well as directories of that name get ignored. e.g. Specifying `tmp` and `test/tmp` without slashes is redundant, as `tmp` already ignores `test/tmp`, as well as every other `tmp` and `tmp/`. --- Ruby.gitignore | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Ruby.gitignore b/Ruby.gitignore index 560d1a6a..935bbf5d 100644 --- a/Ruby.gitignore +++ b/Ruby.gitignore @@ -1,18 +1,18 @@ -*.gem -*.rbc -.bundle -.config -coverage -InstalledFiles -lib/bundler/man -pkg -rdoc -spec/reports -test/tmp -test/version_tmp -tmp +/*.gem +/*.rbc +/.bundle/ +/.config +/coverage/ +/InstalledFiles +/lib/bundler/man/ +/pkg/ +/rdoc/ +/spec/reports/ +/test/tmp/ +/test/version_tmp/ +/tmp/ # YARD artifacts -.yardoc -_yardoc -doc/ +/.yardoc/ +/_yardoc/ +/doc/