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 32 33 34 35 36
|
# We don't want to define any constants if the gem extension isn't loaded, so not requiring the version file.
Gem::Specification.new do |spec|
spec.name = "debug_inspector"
spec.version = "1.1.0"
spec.authors = ["John Mair (banisterfiend)"]
spec.email = ["jrmair@gmail.com"]
spec.summary = %q{A Ruby wrapper for the MRI 2.0 debug_inspector API}
spec.description = <<-TXT
Adds methods to RubyVM::DebugInspector to allow for inspection of backtrace frames.
The debug_inspector C extension and API were designed and built by Koichi Sasada, this project is just a gemification of his work.
This library makes use of the debug inspector API which was added to MRI 2.0.0.
Only works on MRI 2 and 3. Requiring it on unsupported Rubies will result in a no-op.
Recommended for use only in debugging situations. Do not use this in production apps.
TXT
spec.homepage = "https://github.com/banister/debug_inspector"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/banister/debug_inspector"
spec.metadata["changelog_uri"] = "https://github.com/banister/debug_inspector/releases"
spec.files = Dir.glob('**/*').reject { |f| f.match(%r{^(test|bin)/}) }
spec.files -= Dir.glob('debian/**/*')
spec.require_paths = ["lib"]
if RUBY_ENGINE == "ruby"
spec.extensions = ["ext/debug_inspector/extconf.rb"]
end
end
|