# -*- Ruby -*- # -*- encoding: utf-8 -*- require 'rake' require 'rubygems' unless Object.const_defined?(:Gem) PACKAGE_VERSION = open('ext/version.h') do |f| f.grep(/^#define TRACE_VERSION/).first[/"(.+)"/,1] end spec = Gem::Specification.new do |spec| spec.authors = ['R. Bernstein'] spec.name = 'rb-trace' spec.homepage = 'https://github.com/rocky/rb-trace/wiki' spec.summary = 'Trace hook extensions' spec.description = <<-EOF rb-trace adds a trace_hook object, translates hooks bitmasks to Ruby sets and vice versa, and extends set_trace_func() to allow ignore specified frames or functions. EOF spec.version = PACKAGE_VERSION spec.extensions = ['ext/extconf.rb'] spec.email = 'rockyb@rubyforge.org' spec.platform = Gem::Platform::RUBY spec.files = `git ls-files`.split("\n") spec.add_dependency('rb-threadframe', '>= 0.39.9') # spec.required_ruby_version = '~> 1.9.2frame' spec.date = Time.now # spec.rubyforge_project = 'rocky-hacks' # rdoc spec.has_rdoc = true # spec.extra_rdoc_files = ['README', 'threadframe.rd'] end