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
|
Gem::Specification.new do |spec|
spec.name = "lumberjack"
spec.version = File.read(File.join(__dir__, "VERSION")).strip
spec.authors = ["Brian Durand"]
spec.email = ["bbdurand@gmail.com"]
spec.summary = "Extension of Ruby’s standard Logger for advanced, structured logging. Includes log entry attributes, context isolation, customizable formatters, flexible output devices, and testing tools."
spec.homepage = "https://github.com/bdurand/lumberjack"
spec.license = "MIT"
spec.metadata = {
"homepage_uri" => spec.homepage,
"source_code_uri" => spec.homepage,
"changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md"
}
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
ignore_files = %w[
.
Appraisals
Gemfile
Gemfile.lock
Rakefile
gemfiles/
spec/
]
spec.files = Dir.glob("**/*")
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.7"
spec.add_runtime_dependency "logger"
spec.add_development_dependency "bundler"
end
|