forked from logstash-plugins/logstash-filter-example
-
Notifications
You must be signed in to change notification settings - Fork 2
/
logstash-filter-jwt-decoder.gemspec
26 lines (22 loc) · 1.16 KB
/
logstash-filter-jwt-decoder.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
Gem::Specification.new do |s|
s.name = 'logstash-filter-jwt-decoder'
s.version = '1.0.0'
s.licenses = ['Apache License (2.0)']
s.summary = "This plugin allows you to extract any data encoded in a JWT Token that you received in your log."
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
s.authors = ["Ivan de Queiroz"]
s.email = 'iqueiroz.go@gmail.com'
s.homepage = "https://github.com/iqueiroz/logstash-filter-jwt-decoder"
s.require_paths = ["lib"]
# Files
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
# Tests
s.test_files = s.files.grep(%r{^(test|spec|features)/})
# Special flag to let us know this is actually a logstash plugin
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }
# Gem dependencies
s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
s.add_runtime_dependency 'jwt'
s.add_runtime_dependency 'jsonpath'
s.add_development_dependency 'logstash-devutils'
end