gemspec: fix email address
[local-openid.git] / local-openid.gemspec
blobc78a3b3d2490dfa62cd9f40c6ca0d9e849ee1076
1 ENV["VERSION"] or abort "VERSION= must be specified"
2 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
4 Gem::Specification.new do |s|
5   s.name = %q{local-openid}
6   s.version = ENV["VERSION"]
8   s.authors = ["Eric Wong"]
9   s.date = Time.now.utc.strftime('%Y-%m-%d')
10   s.description = File.read("README").split(/\n\n/)[1]
11   s.email = %q{local.openid@librelist.com}
12   s.executables = %w(local-openid)
14   s.extra_rdoc_files = File.readlines('.document').map! do |x|
15     x.chomp!
16     if File.directory?(x)
17       manifest.grep(%r{\A#{x}/})
18     elsif File.file?(x)
19       x
20     else
21       nil
22     end
23   end.flatten.compact
25   s.files = manifest
26   s.homepage = %q{http://bogomips.org/local-openid/}
27   s.summary = %q{Single User, Ephemeral OpenID Provider}
28   s.rdoc_options = [ "-a", "-t", "local-openid - #{s.summary}" ]
29   s.require_paths = %w(lib)
30   s.rubyforge_project = %q{qrp}
31   s.add_dependency(%q<sinatra>, ["~> 1.0.0"])
32   s.add_dependency(%q<ruby-openid>, ["~> 2.1.7"])
33   # s.licenses = %w(AGPLv3) # accessor not compatible with older RubyGems
34 end