fluent-plugin-mutate_filter 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 7d0517ddeae000508f12d85beee6701f9affe4667f49ce4a618949836471885d
4
- data.tar.gz: c239f8b83fdf848fb6cd1155e8c419e8096757fdf1eb3a6276cbc631a30b0a25
3
+ metadata.gz: b62e71fa0e42bfdddfff9ee0a75b88ce83e5f008e957e9d28ba699c0b6484c79
4
+ data.tar.gz: 38f74b3983f1ff7cf747d2b5cfa285f9e872f598bbbce009b0befa40e5453d23
5
5
  SHA512:
6
- metadata.gz: ad221f7cacb7a57fe4edbbb3f3c4a8b3bfddc7de81d3956e231ff21003240f6e1137667f94cee02b13630ec48b1e6cc655170f288504174f4302c05b45fa28d4
7
- data.tar.gz: 55e77cd251abaa3886a4aa97acbf5521cd293d2ace9be6485b81645f29545b37dcd867663b93c88a98e04e1442dbcb9e9396ad763e3f872b6e0281404c9eca65
6
+ metadata.gz: cff2b2dc326bb7206d50aed7ba06996f933c65cc7b92f209d1aa8d6af9e6ff4e53531cde98c873fc1620d6e95399ee368b12048041cbd4ae4edcbc8f21e340b5
7
+ data.tar.gz: 69dc0965b3a89f8a6498809931858771cb49c3dc2954b8aab15911619992b8bb2cb5407b6fb72487c9ca0a66c79ba006c2f7ed0e0aee417cf0161c1f98604b2f
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-mutate_filter"
6
- spec.version = "1.0.0"
6
+ spec.version = "1.0.1"
7
7
  spec.authors = ["Jonathan Serafini"]
8
8
  spec.email = ["jonathan@serafini.ca"]
9
9
 
@@ -439,8 +439,8 @@ module Fluent
439
439
  next
440
440
  end
441
441
 
442
- if value.start_with?('{') and value.ends_with?('}') \
443
- or value.start_with?('[') and value.ends_with?(']')
442
+ if value.start_with?('{') and value.end_with?('}') \
443
+ or value.start_with?('[') and value.end_with?(']')
444
444
  value = JSON.load(value)
445
445
  event.set(field, value)
446
446
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mutate_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini