2020-07-28 11:31:52 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
name = File.basename(__FILE__, ".gemspec")
|
|
|
|
version = ["lib", Array.new(name.count("-")+1, "..").join("/")].find do |dir|
|
|
|
|
break File.foreach(File.join(__dir__, dir, "#{name.tr('-', '/')}.rb")) do |line|
|
|
|
|
/^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
|
|
|
|
end rescue nil
|
2018-07-31 08:56:17 -04:00
|
|
|
end
|
2018-07-23 05:56:49 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
2020-07-28 11:31:52 -04:00
|
|
|
spec.name = name
|
|
|
|
spec.version = version
|
2018-07-23 05:56:49 -04:00
|
|
|
spec.authors = ["Keiju ISHITSUKA"]
|
|
|
|
spec.email = ["keiju@ruby-lang.org"]
|
|
|
|
|
|
|
|
spec.summary = %q{Outputs a source level execution trace of a Ruby program.}
|
|
|
|
spec.description = %q{Outputs a source level execution trace of a Ruby program.}
|
|
|
|
spec.homepage = "https://github.com/ruby/tracer"
|
2020-08-18 07:15:59 -04:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2018-07-23 05:56:49 -04:00
|
|
|
|
2020-12-22 07:43:30 -05:00
|
|
|
spec.files = ["Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/tracer.rb", "tracer.gemspec"]
|
2018-07-23 05:56:49 -04:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
end
|