fluent-plugin-elastic-log 0.5.1 → 0.5.2

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
  SHA256:
3
- metadata.gz: a09b3853194e612ab30572268a5fd930995f02fbc7a7f1430e3809222df3f093
4
- data.tar.gz: be9066ab3630764364e51772a5ea8a71dee68d5e0cd6da4d332198f00ec804bc
3
+ metadata.gz: 3e16830d4cb485b78076e82a3eb54345f17c9d04858b4c54577ef6c9bfb505a2
4
+ data.tar.gz: ccf19e1fc0ddb3631b921d35fef3d9d946c8d71f26b3f67083857407f664b9f3
5
5
  SHA512:
6
- metadata.gz: 720cf4ed71f63792a55dec5e0fccdb601a14ee8119eb4c3264f8827c9625b3f9bb7142eaffc6db8b5d8c0214596ca2ceec47014f7e491ae882781ec9d2e98487
7
- data.tar.gz: c5ca8575b0050568388685bf74222080799952394f884f0e568a996c05a5c190db697ad73529e8909dae81aabd8c11b519bef144fe4f5e41403bfa64393562a8
6
+ metadata.gz: e71ee031d93657978f1098641c7ca39ca3e34f2be9e6d4dc29526f6a961a31b4be3096871144dc425495588ae20b7aa17b7bfa46624cb42c2d485f75a68f30bd
7
+ data.tar.gz: cf43d3ec80f36df15f28fcd89d53f443fea7b03d7607e3ff2b74d06320078560e7ebbd0464781f9b5b023211fa4d2060104b6904559398d24d70f6692ebd7d2e
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'fluent-plugin-elastic-log'
8
- spec.version = '0.5.1'
8
+ spec.version = '0.5.2'
9
9
  spec.authors = ['Thomas Tych']
10
10
  spec.email = ['thomas.tych@gmail.com']
11
11
 
@@ -74,7 +74,8 @@ module Fluent
74
74
 
75
75
  req_body.each_line.each_slice(2).with_object(Set.new) do |(cmd_line, _data_line), acc|
76
76
  cmd = JSON.parse(cmd_line)
77
- acc << aggregate_index(cmd['index'])
77
+ index = cmd['index']
78
+ [index].flatten.each { |index_i| acc << aggregate_index(index_i) }
78
79
  end
79
80
  end
80
81
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elastic-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Tych
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-27 00:00:00.000000000 Z
11
+ date: 2023-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bump