mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
Add basic information to the gemspec
This commit is contained in:
parent
750da262b7
commit
063f2fc53f
@ -13,18 +13,15 @@ Gem::Specification.new do |spec|
|
|||||||
spec.version = Rackstash::VERSION
|
spec.version = Rackstash::VERSION
|
||||||
spec.authors = ["Holger Just"]
|
spec.authors = ["Holger Just"]
|
||||||
|
|
||||||
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
|
spec.summary = 'Easy structured logging for Ruby applications'
|
||||||
spec.description = %q{TODO: Write a longer description or delete this line.}
|
spec.description = <<-TXT.gsub(/\s+|\n/, ' ').strip
|
||||||
spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
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"
|
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.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
||||||
spec.bindir = "exe"
|
spec.bindir = "exe"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user