-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpuma-metrics.gemspec
More file actions
26 lines (19 loc) · 875 Bytes
/
puma-metrics.gemspec
File metadata and controls
26 lines (19 loc) · 875 Bytes
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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'puma/metrics/version'
Gem::Specification.new do |spec|
spec.authors = ['Harm-Jan Blok']
spec.description = 'Puma plugin to export puma stats as prometheus metrics'
spec.homepage = 'https://github.com/harmjanblok/puma-metrics'
spec.license = 'MIT'
spec.name = 'puma-metrics'
spec.require_paths = ['lib']
spec.summary = spec.description
spec.version = Puma::Metrics::VERSION
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.metadata['rubygems_mfa_required'] = 'true'
spec.required_ruby_version = '>= 3.0'
spec.add_dependency 'prometheus-client', '>= 0.10'
spec.add_dependency 'puma', '>= 6.6.0', '!= 7.0.0'
end