-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpresto-metrics.gemspec
More file actions
35 lines (28 loc) · 1.31 KB
/
Copy pathpresto-metrics.gemspec
File metadata and controls
35 lines (28 loc) · 1.31 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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'presto/metrics/version'
Gem::Specification.new do |spec|
spec.name = "presto-metrics"
spec.version = Presto::Metrics::VERSION
spec.authors = ["Taro L. Saito"]
spec.email = ["leo@xerial.org"]
spec.summary = "A library for collecting metrics of Presto, a distributed SQL engine"
spec.description = "Monitoring Presto coordinator and worker processes through JMX REST API (/v1/jmx/mbean)"
spec.homepage = "https://github.com/xerial/presto-metrics"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.2.0"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec"
spec.add_development_dependency "presto-client", '~> 0.5.6'
spec.add_development_dependency "httpclient"
spec.add_development_dependency "standard", ["~> 1.16.0"]
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4")
spec.add_dependency("base64")
end
spec.add_runtime_dependency "httparty"
end