about summary refs log tree commit homepage
path: root/clogger.gemspec
blob: ebc0baf35ec2c5b75c516452817c80f8a8dbe8c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
manifest = File.exist?('.manifest') ?
  IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")

Gem::Specification.new do |s|
  s.name = %q{clogger}
  s.version = (ENV['VERSION'] || '2.1.0').dup
  s.homepage = 'https://bogomips.org/clogger/'
  s.authors = ["cloggers"]
  s.summary = 'configurable request logging for Rack'
  s.description = File.read('README').split("\n\n")[1]
  s.email = %q{clogger-public@bogomips.org}
  s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
    File.exist?(f)
  end
  s.files = manifest
  s.test_files = %w(test/test_clogger.rb test/test_clogger_to_path.rb)

  # HeaderHash wasn't case-insensitive in old versions
  s.add_dependency(%q<rack>, ['>= 1.0', '< 3.0'])
  s.add_development_dependency('test-unit', '~> 3.0')
  s.extensions = %w(ext/clogger_ext/extconf.rb)
  s.licenses = %w(LGPL-2.1+)
end