3 load "./GIT-VERSION-GEN"
9 Hoe.spec 'mogilefs-client' do
10 self.rubyforge_name = 'seattlerb'
11 developer 'Eric Wong', 'normalperson@yhbt.net'
12 # developer 'drbrain@segment7.net', 'Eric Hodel'
13 self.readme_file = "README"
14 self.history_file = "History"
15 self.url = "http://bogomips.org/mogilefs-client"
16 self.description = self.paragraphs_of("README", 1)
17 self.summary = "MogileFS client library for Ruby"
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)