Rakefile: kill raa_update task
[upr.git] / upr.gemspec
blobf6bed03945a7cf1f24aaad039714ce8cff8524ce
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|
7   s.name = %q{upr}
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|
17     x.chomp!
18     if File.directory?(x)
19       manifest.grep(%r{\A#{x}/})
20     elsif File.file?(x)
21       x
22     else
23       nil
24     end
25   end.flatten.compact
27   s.files = manifest
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>, '~>0.7')
35   s.add_dependency(%q<rack>)
37   # Folks on intranets sharing humongous files can use Unicorn, too
38   # s.add_dependency(%q<rainbows>)
40   # s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older Rubygems
41 end