-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathsidekiq-prometheus-exporter.gemspec
35 lines (29 loc) · 1.28 KB
/
sidekiq-prometheus-exporter.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
28
29
30
31
32
33
34
35
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sidekiq/prometheus/exporter/version'
Gem::Specification.new do |spec|
spec.name = 'sidekiq-prometheus-exporter'
spec.version = Sidekiq::Prometheus::Exporter::VERSION
spec.authors = ['Sergey Fedorov']
spec.email = %w([email protected])
spec.summary = 'Prometheus exporter for the Sidekiq'
spec.description = 'All the basic metrics prepared for Prometheus'
spec.homepage = 'https://github.com/Strech/sidekiq-prometheus-exporter'
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['rubygems_mfa_required'] = 'true'
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
end
spec.files = `git ls-files -z`.split("\x0").reject do |file|
file.match(%r{^(.github|docker|examples|gemfiles|helm|test|spec|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |file| File.basename(file) }
spec.require_paths = %w(lib)
spec.required_ruby_version = '>= 2.3'
spec.add_dependency 'rack', '>= 1.6.0'
spec.add_dependency 'sidekiq', '>= 4.1.0'
end