-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathlogger.gemspec
31 lines (26 loc) · 1.17 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
29
30
31
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