update gemspec for couchapp

This commit is contained in:
Chris Anderson 2008-09-16 11:45:45 -04:00
parent 7f818c2cf1
commit b2c0b9fb80
2 changed files with 14 additions and 2 deletions

View file

@ -36,7 +36,6 @@ namespace :github do # thanks merb!
next if skip_fields.include?(name) || value.nil? || value == "" || (value.respond_to?(:empty?) && value.empty?)
if name == "dependencies"
value.each do |d|
puts d.to_s
dep, *ver = d.to_s.split(" ")
result << " s.add_dependency #{dep.inspect}, [#{ /\(([^\,]*)/ . match(ver.join(" "))[1].inspect}]\n"
end