Sha256: 2fa065a7a257e696b3e1f6bbf3e5d76efcc133695ba697dcdf884fdebfe5d1cd

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rack/logstasher/version"

Gem::Specification.new do |spec|
  spec.name          = "rack-logstasher"
  spec.version       = Rack::Logstasher::VERSION
  spec.authors       = ["GOV.UK Dev"]
  spec.email         = ["govuk-dev@digital.cabinet-office.gov.uk"]
  spec.description   = "Rack middleware to log requests in logstash json event format.  Like the logstasher gem, but for rack apps."
  spec.summary       = "Rack middleware to log requests in logstash json event format"
  spec.homepage      = "https://github.com/alphagov/rack-logstasher"
  spec.license       = "MIT"

  spec.required_ruby_version = ">= 2.7"

  spec.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = %w[lib]

  spec.add_dependency "logstash-event", "~> 1.2"
  spec.add_dependency "rack", ">= 2", "< 4"

  spec.add_development_dependency "rack-test", "~> 2"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec", "~> 3"
  spec.add_development_dependency "rubocop-govuk", "4.9.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-logstasher-2.0.0 rack-logstasher.gemspec