1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/logger.gemspec
Samuel Giddins 227eae79ac
[ruby/logger] Say that logger requires ruby >= 2.3
Since it uses `&.`, it can't be used on older rubies
https://github.com/ruby/logger/commit/b872f90ab9
2019-07-15 14:43:07 +09:00

29 lines
1 KiB
Ruby

begin
require_relative "lib/logger"
rescue LoadError
# for Ruby core repository
require_relative "logger"
end
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"
spec.files = ["Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/logger.rb", "logger.gemspec"]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.3.0
spec.add_development_dependency "bundler", ">= 0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "minitest", "~> 5.0"
end