From d766e95fb84751108423da5978ab1f2d149b8780 Mon Sep 17 00:00:00 2001 From: Tal Levy Date: Wed, 10 Aug 2016 14:44:04 -0700 Subject: [PATCH] cleanup gem lib files to only include ruby - only include ruby files from the `lib` directory into the gem - no need to run `install_jars` after vendor in the .travis.yml Fixes #86 --- .travis.yml | 1 - CHANGELOG.md | 3 +++ logstash-output-kafka.gemspec | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2c68b0..e0e7c6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,4 @@ env: before_install: ./kafka_test_setup.sh before_script: - bundle exec rake vendor - - bundle exec rake install_jars script: bundle exec rspec && bundle exec rspec --tag integration diff --git a/CHANGELOG.md b/CHANGELOG.md index 627c002..f2d07b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 5.0.3 + - Internal: Gem cleanup + ## 5.0.2 - Declare plugin as threadsafe diff --git a/logstash-output-kafka.gemspec b/logstash-output-kafka.gemspec index 99f8043..782baa4 100644 --- a/logstash-output-kafka.gemspec +++ b/logstash-output-kafka.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'logstash-output-kafka' - s.version = '5.0.2' + s.version = '5.0.3' s.licenses = ['Apache License (2.0)'] s.summary = 'Output events to a Kafka topic. This uses the Kafka Producer API to write messages to a topic on the broker' 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" @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] # Files - s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT'] + s.files = Dir['lib/**/*.rb','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT'] # Tests s.test_files = s.files.grep(%r{^(test|spec|features)/})