# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = 'fluent-plugin-prometheus-pull' spec.version = '0.2.0' spec.authors = ['Thomas Tych'] spec.email = ['thomas.tych@gmail.com'] spec.summary = 'Fluentd plugin to pull prometheus metrics.' spec.description = 'Fluentd plugin that provides an input to pull prometheus metrics and a parser of prometheus metrics data.' spec.homepage = 'https://gitlab.com/ttych/fluent-plugin-prometheus-pull.git' spec.license = 'Apache-2.0' spec.required_ruby_version = '>= 2.4.0' spec.metadata['rubygems_mfa_required'] = 'true' spec.files = Dir.chdir(__dir__) do `git ls-files -z`.split("\x0").reject do |f| (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) end end spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bump', '~> 0.10.0' spec.add_development_dependency 'bundler', '~> 2.3' spec.add_development_dependency 'byebug', '~> 11.1', '>= 11.1.3' spec.add_development_dependency 'rake', '~> 13.0.6' spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.4' spec.add_development_dependency 'rubocop', '~> 1.44', '>= 1.44.1' spec.add_development_dependency 'rubocop-rake', '~> 0.6.0' spec.add_development_dependency 'test-unit', '~> 3.5.3' spec.add_runtime_dependency 'fluentd', ['>= 0.14.10', '< 2'] end