-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperf_event.gemspec
27 lines (24 loc) · 1.08 KB
/
perf_event.gemspec
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
# encoding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'perf_event/version'
Gem::Specification.new do |s|
s.name = "perf_event"
s.version = PerfEvent::VERSION
s.summary = "Ruby interface to libperf, a library that exposes the kernel performance counters subsystem to userspace code"
s.description = "Ruby interface to libperf, an API for interfacing with the perf system call in modern Linux kernels"
s.authors = ["Bear Metal"]
s.email = ["[email protected]"]
s.license = "MIT"
s.homepage = "https://github.com/bear-metal/perf_event"
s.date = Time.now.utc.strftime('%Y-%m-%d')
s.platform = Gem::Platform::RUBY
s.files = `git ls-files`.split($/)
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
s.extensions = "ext/perf_event/extconf.rb"
s.test_files = `git ls-files test`.split($/)
s.require_paths = ["lib"]
s.required_ruby_version = '>= 2.1.0'
s.add_development_dependency('rake-compiler', '~> 0.9', '>= 0.9.5')
s.add_development_dependency('minitest', '~> 5.8', '>= 5.8.3')
end