-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathworker_killer.gemspec
More file actions
37 lines (26 loc) · 1.18 KB
/
worker_killer.gemspec
File metadata and controls
37 lines (26 loc) · 1.18 KB
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
$:.push File.expand_path('lib', __dir__)
# Maintain your gem's version:
require 'worker_killer/version'
Gem::Specification.new 'worker_killer' do |spec|
spec.version = ENV['BUILDVERSION'].to_i > 0 ? "#{WorkerKiller::VERSION}.#{ENV['BUILDVERSION'].to_i}" : WorkerKiller::VERSION
spec.authors = ['Samoilenko Yuri']
spec.email = ['kinnalru@gmail.com']
spec.summary = 'Kill any workers by memory and request counts or take custom reaction'
spec.description = spec.summary
spec.homepage = 'https://github.com/RnD-Soft/worker_killer'
spec.license = 'MIT'
spec.files = Dir['{lib}/**/*', 'AUTHORS', 'README.md', 'LICENSE"'].reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.test_files = Dir['**/*'].select do |f|
f.match(%r{^(test|spec|features)/})
end
spec.require_paths = ['lib']
spec.add_dependency 'get_process_mem'
spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.1'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov-console'
end