clogger.git  about / heads / tags
configurable request logging for Rack
blob 7804e9e6f1552928a0e04b9127d3bc6217738bd1 1389 bytes (raw)
$ git show v0.3.2:clogger.gemspec	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
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 = ["cloggers"]
  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

git clone https://yhbt.net/clogger.git