Skip to content

Commit bba1ccb

Browse files
committed
Update to work with Java event code
Update Travis and Changelog accordingly Fixes #6
1 parent 69785e6 commit bba1ccb

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
sudo: false
22
language: ruby
33
cache: bundler
4+
jvm: oraclejdk8
45
rvm:
5-
- jruby-1.7.23
6-
script:
6+
- jruby-1.7.25
7+
script:
78
- bundle exec rspec spec

CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
# 3.0.0
2+
- Breaking: Updated plugin to use new Java Event APIs
3+
- Make TravisCI use JRuby 1.7.25
14
# 2.0.4
25
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
36
# 2.0.3
47
- New dependency requirements for logstash-core for the 5.0 release
58
## 2.0.0
6-
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
9+
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
710
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
811
- Dependency on logstash-core update to 2.0
9-

lib/logstash/outputs/solr_http.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def register
5252

5353
public
5454
def receive(event)
55-
55+
5656
buffer_receive(event)
5757
end #def receive
5858

logstash-output-solr_http.gemspec

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-output-solr_http'
4-
s.version = '2.0.4'
4+
s.version = '3.0.0'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "This output lets you index&store your logs in Solr."
77
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"
@@ -20,12 +20,11 @@ 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 'stud'
2626
s.add_runtime_dependency 'rsolr'
2727
s.add_runtime_dependency 'uuidtools'
2828

2929
s.add_development_dependency 'logstash-devutils'
3030
end
31-

0 commit comments

Comments
 (0)