7 Hoe.new 'mogilefs-client', MogileFS::VERSION do |p|
8 p.rubyforge_name = 'seattlerb'
9 p.author = [ 'Eric Wong', 'Eric Hodel' ]
10 p.email = 'normalperson@yhbt.net' # (Eric Wong)
11 # p.email = 'drbrain@segment7.net' # (Eric Hodel)
12 p.summary = p.paragraphs_of('README.txt', 1).first
13 p.description = p.paragraphs_of('README.txt', 9).first
14 p.url = p.paragraphs_of('README.txt', 5).first
15 p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
17 p.extra_dev_deps << ['ZenTest', '>= 3.6.1']
21 IO.popen('git ls-tree -r HEAD^0') do |fp|
22 fp.each_line do |line|
23 mode, type, sha1, path = line.chomp.split(/\s+/)
25 when '100644' then File.chmod(0644, path)
26 when '100755' then File.chmod(0755, path)