forked from hotschedules/fluent-plugin-gelf-hs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfluent-plugin-gelf-hs.gemspec
26 lines (22 loc) · 1.16 KB
/
fluent-plugin-gelf-hs.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "fluent-plugin-gelf-hs"
s.version = ENV.key?('RUBYGEM_VERSION') ? ENV['RUBYGEM_VERSION'] : '1.0.3'
s.authors = ["Alex Yamauchi", "Eric Searcy"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/bodhi-space/fluent-plugin-gelf-hs"
s.summary = "Buffered fluentd output plugin to GELF (Graylog2)"
# When building gems, there is always a stupid warning message thrown
# if the summary and description are identical.
s.description = s.summary + '.'
s.licenses = ["Apache-2.0"]
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_runtime_dependency "fluentd"
s.add_runtime_dependency "gelf", ">= 2.0.0"
s.signing_key = File.expand_path( ENV.key?('RUBYGEM_SIGNING_KEY') ? ENV['RUBYGEM_SIGNING_KEY'] : '~/certs/[email protected]' ) if $0 =~ /\bgem[\.0-9]*\z/
s.cert_chain = %w[certs/[email protected]]
end