File: get_process_mem.gemspec

package info (click to toggle)
ruby-get-process-mem 0.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 172 kB
  • sloc: ruby: 196; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 1,065 bytes parent folder | download
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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'get_process_mem/version'

Gem::Specification.new do |gem|
  gem.name          = "get_process_mem"
  gem.version       = GetProcessMem::VERSION
  gem.authors       = ["Richard Schneeman"]
  gem.email         = ["richard.schneeman+rubygems@gmail.com"]
  gem.description   = %q{ Get memory usage of a process in Ruby }
  gem.summary       = %q{ Use GetProcessMem to find out the amount of RAM used by any process }
  gem.homepage      = "https://github.com/schneems/get_process_mem"
  gem.license       = "MIT"

  gem.files         = `git ls-files`.split($/)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]

  gem.add_dependency "ffi", "~> 1.0"

  gem.add_development_dependency "sys-proctable", "~> 1.2"
  gem.add_development_dependency "rake", "~> 12"
  gem.add_development_dependency "test-unit", "~> 3"
end