1 # -*- encoding: binary -*-
3 ENV["VERSION"] or abort "VERSION= must be specified"
4 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
6 Gem::Specification.new do |s|
8 s.version = ENV["VERSION"]
10 s.authors = ["upr hackers"]
11 s.date = Time.now.utc.strftime('%Y-%m-%d')
12 s.description = File.read("README").split(/\n\n/)[1]
13 s.email = %q{upr@librelist.com}
14 s.executables = %w(upr-drb)
16 s.extra_rdoc_files = File.readlines('.document').map! do |x|
19 manifest.grep(%r{\A#{x}/})
28 s.homepage = %q{http://upr.bogomips.org/}
29 s.summary = %q{Upload Progress for Rack}
30 s.rdoc_options = [ "-Na", "-t", "upr - #{s.summary}" ]
31 s.require_paths = %w(lib)
32 s.rubyforge_project = %q{rainbows}
34 s.add_dependency(%q<moneta>)
36 # Folks on intranets sharing humongous files can use Unicorn, too
37 # s.add_dependency(%q<rainbows>)
39 # s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older Rubygems