logstash-input-gcs 2.0.8 → 2.0.9

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: 9124e72c2e763b976e1e2a248f4483ad7a44857e
4
- data.tar.gz: 83f5c87c96c9b17ae93332466e401daacc09c1a1
3
+ metadata.gz: 56095b85b6f062a0d8307db8e08e74324e6842dc
4
+ data.tar.gz: 307408b0a65a9911085b04b4786500697508e1c8
5
5
  SHA512:
6
- metadata.gz: 191b747b118d1541958e98a4a28b14ed2760793d77a50a2a4d13630d86ce48f453e737bdcfff762138e2a07887f64fea209f0f23ff6867efc7eb1c7bd72c42e6
7
- data.tar.gz: cbc6b55fdb1d6eab47e0f4558ca35ba4945334ee717b7d22c997524dc88555709fe3af424afcaea5cc29ac355aeed62197ef71d8b9d271d81654ee75cfcab493
6
+ metadata.gz: d29990787ae22e41a1c457ebe3ed3c725fcec86ac2c8185b94e0d75f3fb9dfdc7fe1eb37ce0fbecd910baa5da27821816e783fcb0e93d3a695723a423899b314
7
+ data.tar.gz: 2f329fede4a84b285c2a3606374c3f89d732da46294f222edb493876be5a24e30c79fc9224e002386dad5edb2fa0802aa716adf8af092b3603f839cc48ad68ec
data/Gemfile CHANGED
@@ -1,3 +1,2 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
3
- gem
2
+ gemspec
@@ -292,7 +292,7 @@ class LogStash::Inputs::GCS < LogStash::Inputs::Base
292
292
  end
293
293
 
294
294
  def newer?(date)
295
- puts "Check if newer #{date} #{read}"
295
+ puts "Check if newer #{date.strftime("%Y-%m-%d %H:%M:%S.%L %Z")} #{read.strftime("%Y-%m-%d %H:%M:%S.%L %Z")}"
296
296
  date > read
297
297
  end
298
298
 
@@ -308,7 +308,7 @@ class LogStash::Inputs::GCS < LogStash::Inputs::Base
308
308
 
309
309
  def write(since = nil)
310
310
  since = Time.now() if since.nil?
311
- ::File.open(@sincedb_path, 'w') { |file| file.write(since.to_s) }
311
+ ::File.open(@sincedb_path, 'w') { |file| file.write(since.strftime("%Y-%m-%d %H:%M:%S.%L %Z")) }
312
312
  end
313
313
  end
314
314
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-gcs'
3
- s.version = '2.0.8'
3
+ s.version = '2.0.9'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "This example input streams a string at a definable interval."
6
6
  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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-gcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic