Skip to content

Commit 023673c

Browse files
committed
update to new event api
1 parent 97c6e3b commit 023673c

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
---
12
sudo: false
23
language: ruby
34
cache: bundler
45
rvm:
5-
- jruby-1.7.23
6-
script:
7-
- bundle exec rspec spec
6+
- jruby-1.7.25
7+
script:
8+
- bundle exec rspec spec
9+
jdk: oraclejdk8
10+
before_install:
11+
- git clone -b feature/event_interface https://github.com/elastic/logstash

Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
source 'https://rubygems.org'
2-
gemspec
2+
gemspec
3+
gem "logstash-core", :path => "./logstash/logstash-core"
4+
gem "logstash-core-plugin-api", :path => "./logstash/logstash-core-plugin-api"
5+
gem "logstash-core-event-java", :path => "./logstash/logstash-core-event-java"
6+
gem "logstash-devutils", :github => "elastic/logstash-devutils", :branch => "feature/plugin-api-2_0"
7+
gem "logstash-codec-json", :github => "logstash-plugins/logstash-codec-json", :branch => "feature/plugin-api-2_0"

logstash-output-tcp.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
2020
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
2121

2222
# Gem dependencies
23-
s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
23+
s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
2424

2525
s.add_runtime_dependency 'logstash-codec-json'
2626
s.add_runtime_dependency 'stud'

0 commit comments

Comments
 (0)