Skip to content

Commit

Permalink
cleanup gem lib files to only include ruby
Browse files Browse the repository at this point in the history
- only include ruby files from the `lib` directory into the gem
- no need to run `install_jars` after vendor in the .travis.yml

Fixes logstash-plugins#86
  • Loading branch information
talevy authored and ph committed Aug 11, 2016
1 parent 9cbc09f commit d766e95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 5.0.3
- Internal: Gem cleanup

## 5.0.2
- Declare plugin as threadsafe

Expand Down
4 changes: 2 additions & 2 deletions logstash-output-kafka.gemspec
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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)/})
Expand Down

0 comments on commit d766e95

Please sign in to comment.