From 608b2d9bd7c8e3d777370c175e36832774cd7845 Mon Sep 17 00:00:00 2001 From: cyli Date: Sun, 13 Dec 2015 15:01:00 -0800 Subject: [PATCH] Pin logstash core version to <2.0.0 for JDK6, because we need JrJackson <0.3.5 --- README.md | 4 ++++ logstash-output-slack.gemspec | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41ab1f0..5e3e9d1 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ output { ``` ### Changelog: +- [v0.1.4](https://github.com/cyli/logstash-output-slack/releases/tag/v0.1.4): + - Fix gemspec requirements to support newer versions of logstash core ([#14](https://github.com/cyli/logstash-output-slack/pull/14)) +- [v0.1.3](https://github.com/cyli/logstash-output-slack/releases/tag/v0.1.3): + - No change - bug in releasing - [v0.1.2](https://github.com/cyli/logstash-output-slack/releases/tag/v0.1.2): - Added support for attachments - [v0.1.1](https://github.com/cyli/logstash-output-slack/releases/tag/v0.1.1): diff --git a/logstash-output-slack.gemspec b/logstash-output-slack.gemspec index 19a0324..269ee5b 100644 --- a/logstash-output-slack.gemspec +++ b/logstash-output-slack.gemspec @@ -26,7 +26,8 @@ Gem::Specification.new do |s| if RUBY_PLATFORM == 'java' s.platform = RUBY_PLATFORM if java.lang.System.get_property('java.version') < "1.7" # JDK6 - core_upper_bound = "<= 2.0.0.snapshot3" + core_upper_bound = "< 2.0.0" + s.add_runtime_dependency "jrjackson", "< 0.3.5" end end