Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update logstash-core-plugin-api dependency and bump to 3.0.0 #11

Merged
merged 1 commit into from Sep 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions .travis.yml
@@ -1,7 +1,10 @@
---
sudo: false
language: ruby
cache: bundler
rvm:
- jruby-1.7.23
script:
- bundle exec rspec spec
- jruby-1.7.25
script:
- bundle exec rspec spec
jdk: oraclejdk8
before_install: []
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
# 3.0.0
- Breaking: depend on logstash-core-plugin-api between 1.60 and 2.99 and use new event api

# 2.0.4
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
# 2.0.3
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/inputs/sqlite.rb
Expand Up @@ -162,7 +162,7 @@ def run(queue)
# store each column as a field in the event.
row.each do |column, element|
next if column == :id
event[column.to_s] = element
event.set(column.to_s, element)
end
queue << event
@table_data[k][:place] = row[:id]
Expand Down
4 changes: 2 additions & 2 deletions logstash-input-sqlite.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|

s.name = 'logstash-input-sqlite'
s.version = '2.0.4'
s.version = '3.0.0'
s.licenses = ['Apache License (2.0)']
s.summary = "Read rows from an sqlite database."
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"
Expand All @@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }

# Gem dependencies
s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"

s.add_runtime_dependency 'sequel'
s.add_runtime_dependency 'jdbc-sqlite3'
Expand Down