aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/pathname.rb
AgeCommit message (Collapse)Author
2011-03-12Pathname.ensure_writableMax Howell
Yields after chmoding (if necessary), once block is complete restores permissions.
2010-11-07Allow underscore in github version numbers.Adam Vandenberg
2010-11-05More .DS_Store ignoringMichael Dippery
* Don't link .DS_Store files * Don't list .DS_Store files in `brew info` Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30fix warnings: ambiguous first argJamie Macey
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-28Handle dashed tags at github.arlolra
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-12Pathname./ because it looks a lot better than +Max Howell
2010-08-27Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#versionlukas
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm. Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-15Move method back to Pathname.Adam Vandenberg
2010-08-08Move Pathname.starts_with? into PathnameAdam Vandenberg
2010-07-25Add Pathname.resolved_pathAdam Vandenberg
2010-07-08Move method from ObserverPathnameExtension to extend/PathnameAdam Vandenberg
* This method is generally useful, even without the Observer extensions.
2010-07-06Add debian style names to version checker.Adam Vandenberg
2010-07-04Pathname - fix RC version detection.Adam Vandenberg
2010-07-04Update Pathname version checks.Adam Vandenberg
* allow capital 'RC' * allow 'stable' suffix
2010-03-30More hashing refactoring to work with byte chunksJake Good
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27fix github version parser with multidigit numberJoshua Peek
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-23More effective use of incremental MD5 to eliminate loading entire tarball ↵Jake Good
into memory Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-08Change the return value of Pathname.install.Adam Vandenberg
The change to Pathname to support renaming changed the return value. This commit puts it back, so the associated unit test passes again.
2010-03-07Fixes Pathname.install(:foo => :bar) to work when File.exist?(:bar)Max Howell
2010-03-07Allow Pathname.install to take a Hash.Adam Vandenberg
The keys of the hash are original file names, the values are new file names. Originals are renamed, and then installed under the new name.
2010-03-01Move license block to separate LICENSE file.Adam Vandenberg
2010-02-27Pathname.subdirs and Pathname.cd{}Max Howell
2010-02-18Fix Pathname.install for relative symlinksMax Howell
If you have a bunch of symlinks and they all point at one file and you use Pathname.install on them all the error checking would fail if the file was moved before the symlinks because the symlinks would then point at a non existent file.
2010-02-18Fix GitHub tarball version detectionMax Howell
2010-01-06Use full path to duMax Howell
Fixes Homebrew/homebrew#354
2009-12-30Pathname.md5 methodMax Howell
2009-12-17Also match -source tarballs.Adam Vandenberg
2009-10-15Some subdirs and renames to aid homebrew n00bsMax Howell
The classes better reflect their contents. I'm sure this change may be contentious, but I am a sucker for trying to create source bases that are easy to get to grips with and easy to navigate. brewkit.rb is now a deprecated file.