Sha256: 8e12ce3dac88c0ab2da5502848ddd1fbd9f5c928f710c75f2e2d9c7f288e3ca4

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

ENV["VERSION"] or abort "VERSION= must be specified"
manifest = File.readlines('.manifest').map! { |x| x.chomp! }

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 = 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.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"])
  s.extensions = %w(ext/clogger_ext/extconf.rb)

  # s.license = "LGPLv3" # disabled for compatibility with older RubyGems
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clogger-0.1.0 clogger.gemspec