diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-26 08:14:21 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-26 08:48:42 +0000 |
commit | ddbc6236c1cbda79ff0606166137fa2c37b7e2b0 (patch) | |
tree | 73b66edd00c13433c75f8f5379cd23be70b84ded /local-openid.gemspec | |
parent | 5af502c81cf738fba2beeb83c30b4741b854415c (diff) | |
download | local-openid-ddbc6236c1cbda79ff0606166137fa2c37b7e2b0.tar.gz |
fixup packaging
Switch to the same system used by some of my other projects, which includes Atom feeds and Freshmeat/RAA updating.
Diffstat (limited to 'local-openid.gemspec')
-rw-r--r-- | local-openid.gemspec | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/local-openid.gemspec b/local-openid.gemspec new file mode 100644 index 0000000..ac16906 --- /dev/null +++ b/local-openid.gemspec @@ -0,0 +1,34 @@ +ENV["VERSION"] or abort "VERSION= must be specified" +manifest = File.readlines('.manifest').map! { |x| x.chomp! } + +Gem::Specification.new do |s| + s.name = %q{local-openid} + s.version = ENV["VERSION"] + + s.authors = ["Eric Wong"] + s.date = Time.now.utc.strftime('%Y-%m-%d') + s.description = File.read("README").split(/\n\n/)[1] + s.email = %q{local-openid@librelist.com} + s.executables = %w(local-openid) + + s.extra_rdoc_files = File.readlines('.document').map! do |x| + x.chomp! + if File.directory?(x) + manifest.grep(%r{\A#{x}/}) + elsif File.file?(x) + x + else + nil + end + end.flatten.compact + + s.files = manifest + s.homepage = %q{http://bogomips.org/local-openid/} + s.summary = %q{Single User, Ephemeral OpenID Provider} + s.rdoc_options = [ "-a", "-t", "local-openid - #{s.summary}" ] + s.require_paths = %w(lib) + s.rubyforge_project = %q{qrp} + s.add_dependency(%q<sinatra>, ["~> 1.0.0"]) + s.add_dependency(%q<ruby-openid>, ["~> 2.1.7"]) + # s.licenses = %w(AGPLv3) # accessor not compatible with older RubyGems +end |