logstash-input-couchdb_changes 3.1.0 → 3.1.1

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: 5e92054f4d3f216540befdcd740b28f7ec22dff8
4
- data.tar.gz: eb4430e71ac3e1cbab09ea3ed89e106f0377c723
3
+ metadata.gz: 0153e41c5e8055b052c7e9df86cb80ce90e3d1da
4
+ data.tar.gz: 919a3ab0f89655e581c54ced25387868cadd2278
5
5
  SHA512:
6
- metadata.gz: 4a911bbfdcc68b45505e3bee5783056375e487dfcd61f316f964bb0dd29fc2731f388df530b905c7fccd5c77a8ba9820fa971c6b5923f5029f6bf285d7280feb
7
- data.tar.gz: 832c9d2d9a795903b59ad8a77e7292c124ea21af2539ee451037cce210825ea12df485f6130c9cc979eb14abb5918f72b3de7750ed6380a428be0d2e80cabf55
6
+ metadata.gz: a71d15df742fade2d8e4f81d39a86b47b7db686cb9e884b8c97a2a47531808f908be5b5d43af789fa5e962f55403c9117b7daa7560795c9da12f3707e9eaf5d0
7
+ data.tar.gz: 761760ca08110af46d709230d17bf627b674b4a19932c3c587315b494bfb8b136676321f6048d4b6db222fcc420c1d9bb322252f298d08df5ec2413ea6c84d59
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.1.1
2
+ - Use the new Logstash 5.0 Event api to get the values #37
3
+
1
4
  ## 3.1.0
2
5
  - Fail fast on permission denied accessing the sequence file
3
6
  - Introduced new config 'keep_id'
@@ -177,7 +177,7 @@ class LogStash::Inputs::CouchDBChanges < LogStash::Inputs::Base
177
177
  @logger.debug("event", :event => event.to_hash_with_metadata) if @logger.debug?
178
178
  decorate(event)
179
179
  queue << event
180
- @sequence = event['@metadata']['seq']
180
+ @sequence = event.get("[@metadata][seq]")
181
181
  @sequencedb.write(@sequence.to_s)
182
182
  end
183
183
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-couchdb_changes'
4
- s.version = '3.1.0'
4
+ s.version = '3.1.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This input captures the _changes stream from a CouchDB instance"
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/logstash-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-couchdb_changes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-13 00:00:00.000000000 Z
11
+ date: 2017-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement