blob: d8ffba01fc05dd911028e8cbbda923f9952c641a [file] [edit]
begin
require_relative "lib/logger/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "logger"
spec.version = Logger::VERSION
spec.authors = ["Naotoshi Seo", "SHIBATA Hiroshi"]
spec.email = ["sonots@gmail.com", "hsbt@ruby-lang.org"]
spec.summary = %q{Provides a simple logging utility for outputting messages.}
spec.description = %q{Provides a simple logging utility for outputting messages.}
spec.homepage = "https://github.com/ruby/logger"
spec.licenses = ["Ruby", "BSD-2-Clause"]
# 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.
pattern = %W[
:(glob,top)* :/exe :/ext :/lib
:^/.git* :^/Gemfile* :^/Rakefile*
:(literal,top,exclude)#{File.basename(__FILE__)}
]
spec.files = IO.popen(%w[git ls-files -z] + pattern, chdir: __dir__, &:read).split("\0")
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5.0"
spec.metadata["changelog_uri"] = spec.homepage + "/releases"
end