Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

59 lines (52 sloc) 2.275 kB
# -*- encoding: utf-8 -*-
# Read version from header file
version_header ='../ext/ruby_prof/version.h', __FILE__))
#match = version_header.match(/RUBY_PROF_VERSION\s*"(\.+)"/)
match = version_header.match(/RUBY_PROF_VERSION\s*"([^"]+)"/)
raise(RuntimeError, "Could not determine RUBY_PROF_VERSION") if not match
RUBY_PROF_VERSION = "#{match[1]}" do |spec| = "ruby-prof"
spec.homepage = ""
spec.summary = "Fast Ruby profiler"
spec.description = <<-EOF
ruby-prof is a fast code profiler for Ruby. It is a C extension and
therefore is many times faster than the standard Ruby profiler. It
supports both flat and graph profiles. For each method, graph profiles
show how long the method ran, which methods called it and which
methods it called. RubyProf generate both text and html and can output
it to standard out or to a file.
spec.version = RUBY_PROF_VERSION = "Shugo Maeda, Charlie Savage, Roger Pack, Stefan Kaes" = ",,,"
spec.platform = Gem::Platform::RUBY
spec.require_path = "lib"
spec.bindir = "bin"
spec.executables = ["ruby-prof"]
spec.extensions = ["ext/ruby_prof/extconf.rb"]
spec.files = Dir['CHANGES',
spec.test_files = Dir["test/test_*.rb"]
spec.required_ruby_version = '>= 1.8.7' =
spec.homepage = ''
spec.add_development_dependency 'rake-compiler'
Jump to Line
Something went wrong with that request. Please try again.