logstash-output-qingstor 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 311b8d52d7f5c1ec8a8df02290a300564a54937b
4
- data.tar.gz: 5ab7bbaaebbfece310b696b0a78a8fcd4d99bf95
3
+ metadata.gz: 4148a5fc3a5984437ed841345923a4d97184d301
4
+ data.tar.gz: c0cccd6b5775441c87a92b7ca7fe00fba4fa3544
5
5
  SHA512:
6
- metadata.gz: 417cb1fe4f01e8f3ade96cf1b3cdb4e5840b8c11e72859d223c4cedab72ed011576e153362c8ecf8e3829f31a2cb492ae20e75a8ef97a2c77ba3292e3f3779a4
7
- data.tar.gz: 83073c3bd2af3c3518080654fc596514d080664242a866811cf286944a93b95231b0124b430620d3c0c9a45004614a6c8eb04e97abc56addfccd2035c5e10a58
6
+ metadata.gz: a69dd280bc7ba81e82b389d31210270696080b61146f161f4545b2d999dad846a6efc2880d75834f10ba18bbb1d0e6b2902326ff1cb355e4b87ad227ead150ac
7
+ data.tar.gz: fa90f2a985de74c2f82a36b884658ccb2643541e9aaabfccce2e5e5022bb958167cbb3312768ab62e2371ce28c23dada4646d522942a1f9e043bab40aaee7db8
@@ -193,7 +193,7 @@ class LogStash::Outputs::Qingstor < LogStash::Outputs::Base
193
193
 
194
194
  @logger.debug('uploading current workspace')
195
195
  @file_repository.each_files do |file|
196
- upload_file(file) if @rotation.rotate?(file)
196
+ upload_file(file) if file.size > 0
197
197
  end
198
198
 
199
199
  @file_repository.shutdown
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-qingstor'
3
- s.version = '0.2.3'
3
+ s.version = '0.2.4'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'logstash output plugin for qingstor'
6
6
  s.description = 'Collect the outputs of logstash and store into Qingstor'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-qingstor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Zhao