-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathlogger.gemspec
28 lines (23 loc) · 1.11 KB
/
logger.gemspec
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
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 = ["[email protected]", "[email protected]"]
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.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5.0"
spec.metadata["changelog_uri"] = spec.homepage + "/releases"
end