logstash-input-s3 2.0.3 → 2.0.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: 14667d62937095305f003a16bfacb6561fd04dc6
4
- data.tar.gz: 0841de8c625a8f0fe63fa59b24d899f0c3633de7
3
+ metadata.gz: a30cb98b40cb658c16482f161a27031ce50453ad
4
+ data.tar.gz: f95ce0f161fde2a06b95f18a2d185cf1c5ffed11
5
5
  SHA512:
6
- metadata.gz: 26f96a7d9a3d5ea1cb13de57e85a2a454b7aef41fc182b561136cd4e95aef5a57b097e69506c4fa6dc4cf92d0f51b7bec6c10a62cf81d6281bd2590e972848e6
7
- data.tar.gz: 171d4dd60907d9839dc2fda8ee1ab68400291e415bfcdba9da40f409ed775b17cac193fabe0f706368b0806e8f3a770a91068f6a9cf02086e27eb1c228d1cb66
6
+ metadata.gz: d8672724756d0b4df4a020a16878feddd732f197aaef02eab047a7f3073313dbf924e82209297784c84378ff3989ac5b64e9e9fae17311c5c7762fcb5f2338f9
7
+ data.tar.gz: 2663cd0de221723215b7fb49029bb2ab3aae00aed1824d69eb3db02ca01d1e2e3a9003b174278ea2da00aa1c3814f81f4c36d5ab09711bdf3a9ed14cc3b42e10
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 2.0.4
2
+ - Fix for Error: No Such Key problem when deleting
1
3
  ## 2.0.3
2
4
  - Do not raise an exception if the sincedb file is empty, instead return the current time #66
3
5
  ## 2.0.0
@@ -320,11 +320,11 @@ class LogStash::Inputs::S3 < LogStash::Inputs::Base
320
320
 
321
321
  if download_remote_file(object, filename)
322
322
  if process_local_log(queue, filename)
323
+ lastmod = object.last_modified
323
324
  backup_to_bucket(object, key)
324
325
  backup_to_dir(filename)
325
326
  delete_file_from_bucket(object)
326
327
  FileUtils.remove_entry_secure(filename, true)
327
- lastmod = object.last_modified
328
328
  sincedb.write(lastmod)
329
329
  end
330
330
  else
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-s3'
4
- s.version = '2.0.3'
4
+ s.version = '2.0.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Stream events from files from a S3 bucket."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-18 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core
@@ -120,7 +120,14 @@ executables: []
120
120
  extensions: []
121
121
  extra_rdoc_files: []
122
122
  files:
123
+ - CHANGELOG.md
124
+ - CONTRIBUTORS
125
+ - Gemfile
126
+ - LICENSE
127
+ - NOTICE.TXT
128
+ - README.md
123
129
  - lib/logstash/inputs/s3.rb
130
+ - logstash-input-s3.gemspec
124
131
  - spec/fixtures/cloudfront.log
125
132
  - spec/fixtures/compressed.log.gz
126
133
  - spec/fixtures/invalid_utf8.log
@@ -130,13 +137,6 @@ files:
130
137
  - spec/inputs/sincedb_spec.rb
131
138
  - spec/integration/s3_spec.rb
132
139
  - spec/support/helpers.rb
133
- - logstash-input-s3.gemspec
134
- - README.md
135
- - CHANGELOG.md
136
- - CONTRIBUTORS
137
- - Gemfile
138
- - LICENSE
139
- - NOTICE.TXT
140
140
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
141
141
  licenses:
142
142
  - Apache License (2.0)
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.1.9
162
+ rubygems_version: 2.4.8
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Stream events from files from a S3 bucket.