about summary refs log tree commit homepage
path: root/clogger.gemspec
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-07 15:49:55 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-07 16:00:07 -0700
commitcee939b527e82237f89eb8eece62610854ac888a (patch)
tree019f3874373ea19c4292df73d90c8df85cee634c /clogger.gemspec
parent00814d46e9e82fa24d38bd77172143df3757f020 (diff)
downloadclogger-cee939b527e82237f89eb8eece62610854ac888a.tar.gz
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
Diffstat (limited to 'clogger.gemspec')
-rw-r--r--clogger.gemspec30
1 files changed, 30 insertions, 0 deletions
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<rack>, ["> 0.9"])
+end