2018-08-07 08:32:29 -04:00
|
|
|
begin
|
|
|
|
require_relative "lib/logger"
|
|
|
|
rescue LoadError
|
2018-10-12 15:58:11 -04:00
|
|
|
# for Ruby core repository
|
2018-08-07 08:32:29 -04:00
|
|
|
require_relative "logger"
|
|
|
|
end
|
2018-06-02 09:57:48 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "logger"
|
|
|
|
spec.version = Logger::VERSION
|
|
|
|
spec.authors = ["SHIBATA Hiroshi"]
|
|
|
|
spec.email = ["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.license = "BSD-2-Clause"
|
|
|
|
|
2018-12-11 19:27:26 -05:00
|
|
|
spec.files = ["Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/logger.rb", "logger.gemspec"]
|
2018-06-02 09:57:48 -04:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
|
|
spec.require_paths = ["lib"]
|
2019-01-17 12:59:55 -05:00
|
|
|
|
|
|
|
spec.required_ruby_version = ">= 2.3.0
|
2018-06-02 09:57:48 -04:00
|
|
|
|
2018-12-13 04:45:08 -05:00
|
|
|
spec.add_development_dependency "bundler", ">= 0"
|
2018-06-02 09:57:48 -04:00
|
|
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
|
|
spec.add_development_dependency "minitest", "~> 5.0"
|
|
|
|
end
|