From cee939b527e82237f89eb8eece62610854ac888a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 7 Sep 2009 15:49:55 -0700 Subject: Switch to hand-rolled packaging/distro scripts Several bikeshed reasons brought me to this point: * I like the README.html layout more than any default index.html even if it's using README content. Having links on the side helps navigation IMHO. * publish_docs preserves timestamps to improve cache hit rate * git is used to maintain the manifest at packaging/release-time so my changesets have less noise in them * git is used to generate history files (from tag messages), this is a more DRY approach to me. * I don't like the ".txt" suffix being translated to "_txt.html" in URLs. I don't like the ".txt" suffix in general. * I don't like Manifest.txt showing up in my RDoc --- clogger.gemspec | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 clogger.gemspec (limited to 'clogger.gemspec') diff --git a/clogger.gemspec b/clogger.gemspec new file mode 100644 index 0000000..0876b0a --- /dev/null +++ b/clogger.gemspec @@ -0,0 +1,30 @@ +ENV["VERSION"] or abort "VERSION= must be specified" + +Gem::Specification.new do |s| + s.name = %q{clogger} + s.version = ENV["VERSION"] + + if s.respond_to? :required_rubygems_version= + s.required_rubygems_version = Gem::Requirement.new(">= 0") + end + s.homepage = 'http://clogger.rubyforge.org/' + s.authors = ["Eric Wong"] + s.date = Time.now.utc.strftime('%Y-%m-%d') + s.description = %q{ +Clogger is Rack middleware for logging HTTP requests. The log format +is customizable so you can specify exactly which fields to log. +}.strip + s.email = %q{clogger@librelist.com} + s.extra_rdoc_files = %w(README History) + s.files = File.readlines('.manifest').map! { |x| x.chomp! } + s.rdoc_options = [ "-Na", + "-t", "Clogger - configurable request logging for Rack" + ] + s.require_paths = %w(lib ext) + s.rubyforge_project = %q{clogger} + s.summary = %q{configurable request logging for Rack} + s.test_files = %w(test/test_clogger.rb) + + # HeaderHash wasn't case-insensitive in old versions + s.add_dependency(%q, ["> 0.9"]) +end -- cgit v1.2.3-24-ge0c7