Jake Good
8ce7abce73
More hashing refactoring to work with byte chunks
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-30 09:24:12 -07:00
Joshua Peek
04855ddd48
fix github version parser with multidigit number
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27 14:01:19 -07:00
Jake Good
9fbc26a39f
More effective use of incremental MD5 to eliminate loading entire tarball into memory
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-23 21:23:25 -07:00
Adam Vandenberg
1e7a71bfef
Change the return value of Pathname.install.
...
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-08 23:42:01 -08:00
Max Howell
99df82c568
Fixes Pathname.install(:foo => :bar) to work when File.exist?(:bar)
2010-03-07 11:24:22 -08:00
Adam Vandenberg
3927972a2a
Allow Pathname.install to take a Hash.
...
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-07 11:24:22 -08:00
Adam Vandenberg
a9b19f0255
Move license block to separate LICENSE file.
2010-03-01 11:41:24 -08:00
Max Howell
991bae91a9
Pathname.subdirs and Pathname.cd{}
2010-02-27 12:29:45 +00:00
Max Howell
8cdb504b14
Fix Pathname.install for relative symlinks
...
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-18 17:16:02 +00:00
Max Howell
e0999078dc
Fix GitHub tarball version detection
2010-02-18 11:59:29 +00:00
Max Howell
89479912ec
Use full path to du
...
Fixes Homebrew/homebrew#354
2010-01-06 21:02:36 +00:00
Max Howell
6bd1741d7d
Pathname.md5 method
2009-12-30 20:49:16 +00:00
Adam Vandenberg
a3f448a3e2
Also match -source tarballs.
2009-12-17 19:19:33 +00:00
Max Howell
543a113712
Some subdirs and renames to aid homebrew n00bs
...
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.
2009-10-15 16:51:53 +01:00