fluent-plugin-mutate_filter 1.0.1 → 1.0.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: b62e71fa0e42bfdddfff9ee0a75b88ce83e5f008e957e9d28ba699c0b6484c79
4
- data.tar.gz: 38f74b3983f1ff7cf747d2b5cfa285f9e872f598bbbce009b0befa40e5453d23
3
+ metadata.gz: db927fe75f56601c192cfa5fd529914924e5687657a378689f6f8592bf5086e3
4
+ data.tar.gz: 1ff7de058212f4a1fe40b7551aaba991bb639adc1f826ebdc1c2d9c32f330842
5
5
  SHA512:
6
- metadata.gz: cff2b2dc326bb7206d50aed7ba06996f933c65cc7b92f209d1aa8d6af9e6ff4e53531cde98c873fc1620d6e95399ee368b12048041cbd4ae4edcbc8f21e340b5
7
- data.tar.gz: 69dc0965b3a89f8a6498809931858771cb49c3dc2954b8aab15911619992b8bb2cb5407b6fb72487c9ca0a66c79ba006c2f7ed0e0aee417cf0161c1f98604b2f
6
+ metadata.gz: 22493004009aec2f36b024b9e6974420f2adf2afa22440ca94c824510beb8bf943d8c72b2f0aaa7725af303d25aa60654da0180262b67928ebe9eff8563f409f
7
+ data.tar.gz: 87685349ff798b6e423d125fd23709d0e195d11d00d55826de8094142fd2d293405f18c5db5735cde2a98bf3372a1ac552010407198b056e7ab8aadeb8a81a1b
@@ -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.1"
6
+ spec.version = "1.0.2"
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.end_with?('}') \
443
- or value.start_with?('[') and value.end_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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini