2015-06-10 11:31:31 +00:00
Gem :: Specification . new do | s |
s . name = 'logstash-output-jdbc'
2017-11-08 14:09:09 +00:00
s . version = '5.3.0'
2016-05-17 15:21:37 +00:00
s . licenses = [ 'Apache License (2.0)' ]
s . summary = 'This plugin allows you to output to SQL, via JDBC'
2016-05-03 16:09:21 +00:00
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 'logstash-output-jdbc'. This gem is not a stand-alone program "
2016-05-17 15:21:37 +00:00
s . authors = [ 'the_angry_angel' ]
s . email = 'karl+github@theangryangel.co.uk'
s . homepage = 'https://github.com/theangryangel/logstash-output-jdbc'
s . require_paths = [ 'lib' ]
2015-06-10 11:31:31 +00:00
2016-05-13 21:12:57 +00:00
# Java only
s . platform = 'java'
2015-06-10 11:31:31 +00:00
# Files
2016-05-17 15:21:37 +00:00
s . files = Dir . glob ( '{lib,spec}/**/*.rb' ) + Dir . glob ( 'vendor/**/*' ) + %w( LICENSE.txt README.md )
2015-11-17 10:32:16 +00:00
2016-05-17 15:21:37 +00:00
# Tests
2015-06-10 11:31:31 +00:00
s . test_files = s . files . grep ( %r{ ^(test|spec|features)/ } )
# Special flag to let us know this is actually a logstash plugin
2016-05-17 15:21:37 +00:00
s . metadata = { 'logstash_plugin' = > 'true' , 'logstash_group' = > 'output' }
2015-06-10 11:31:31 +00:00
# Gem dependencies
2017-01-25 19:34:56 +00:00
s . add_runtime_dependency 'logstash-core-plugin-api' , '~> 2'
2015-11-14 20:04:16 +00:00
s . add_runtime_dependency 'stud'
2016-05-17 15:21:37 +00:00
s . add_runtime_dependency 'logstash-codec-plain'
2016-05-13 21:12:57 +00:00
2017-11-08 13:45:29 +00:00
s . requirements << " jar 'com.zaxxer:HikariCP', '2.7.2' "
2017-11-08 14:09:09 +00:00
s . requirements << " jar 'org.apache.logging.log4j:log4j-slf4j-impl', '2.6.2' "
2016-05-13 21:12:57 +00:00
2016-05-17 15:21:37 +00:00
s . add_development_dependency 'jar-dependencies'
2016-05-13 21:12:57 +00:00
s . add_development_dependency 'ruby-maven' , '~> 3.3'
2017-11-08 14:09:09 +00:00
s . add_development_dependency " logstash-devutils " , " ~> 1.3 " , " >= 1.3.1 "
2016-05-17 15:21:37 +00:00
2017-11-26 13:02:52 +00:00
s . add_development_dependency 'rubocop' , '~> 0.51.0'
2015-06-10 11:31:31 +00:00
end