From 063f2fc53feba4dffe581fa7e7d0ddd2dd801a56 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sun, 15 Jan 2017 18:47:46 +0100 Subject: [PATCH] Add basic information to the gemspec --- rackstash.gemspec | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/rackstash.gemspec b/rackstash.gemspec index 7c76f3e..eaad717 100644 --- a/rackstash.gemspec +++ b/rackstash.gemspec @@ -13,18 +13,15 @@ Gem::Specification.new do |spec| spec.version = Rackstash::VERSION spec.authors = ["Holger Just"] - spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.} - spec.description = %q{TODO: Write a longer description or delete this line.} - spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.summary = 'Easy structured logging for Ruby applications' + spec.description = <<-TXT.gsub(/\s+|\n/, ' ').strip + A drop-in replacement for Ruby's Logger to allow flexible structured logging + for request-based applications built on e.g Rack, Rails or similar + frameworks. It works best with a log receiver like Logstash or Graylog. + TXT + spec.homepage = 'https://github.com/meineerde/rackstash' spec.license = "MIT" - # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' - # to allow pushing to a single host or delete this section to allow pushing to any host. - if spec.respond_to?(:metadata) - spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" - else - raise "RubyGems 2.0 or newer is required to protect against public gem pushes." - end spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "exe"