File: debug_inspector.gemspec

package info (click to toggle)
ruby-debug-inspector 1.1.0%2Bgh-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 128 kB
  • sloc: ansic: 90; ruby: 68; sh: 4; makefile: 4
file content (36 lines) | stat: -rw-r--r-- 1,534 bytes parent folder | download | duplicates (2)
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