Initial commit of 1.5. Untested. Lunchtime is over

This commit is contained in:
Karl Southern 2015-06-10 12:31:31 +01:00
parent d06b7649cf
commit c790a645f2
5 changed files with 36 additions and 2 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.gem
Gemfile.lock
Gemfile.bak
.bundle
vendor

2
Gemfile Normal file
View File

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gemspec

View File

@ -2,9 +2,11 @@
JDBC output plugin for Logstash.
This plugin is provided as an external plugin and is not part of the Logstash project.
Currently untested with logstash 1.5+. Support is planned.
## Warning
The master branch is for 1.5, is currently incomplete and should NOT be used (yet).
Please see the v1.4 branch for v1.4 of Logstash.
This has not yet been extensively tested with all JDBC drivers and may not yet work for you.
## Installation

1
Rakefile Normal file
View File

@ -0,0 +1 @@
require "logstash/devutils/rake"

View File

@ -0,0 +1,24 @@
Gem::Specification.new do |s|
s.name = 'logstash-output-jdbc'
s.version = "0.1.0"
s.licenses = [ "Apache License (2.0)" ]
s.summary = "This plugin allows you to output to SQL, via JDBC"
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
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" ]
# Files
s.files = `git ls-files`.split($\)
# 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" => "output" }
# Gem dependencies
s.add_runtime_dependency "logstash-core", ">= 1.4.0", "< 2.0.0"
s.add_runtime_dependency "logstash-codec-plain"
s.add_development_dependency "logstash-devutils"
end