twiglet 3.9.0 → 3.9.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: 24bb01ca290d4e49c2a38e69a0566bcb0e06d38e5c1daa120abb90c2a88c1826
4
- data.tar.gz: 00e825a9ae2164604a36b54811bf659321bc5bb1bf96afc198399c890058004a
3
+ metadata.gz: e7e40c55a5e7824f229b8736b8c09168b7edd95d2c17fc7d88117892ed5839b4
4
+ data.tar.gz: 84524cfcbead9663eb2fc66668a5b5c54784e04e4a4f7c842f29dcaf12b8e033
5
5
  SHA512:
6
- metadata.gz: 8992a36124f946eb46fc63fd432d5ae1c5359101572a759eea3a70bb7d1b5d3ccadc9d76a075b42222906f6eb2a4c03de273b967a4e7bb8d977ec9f2a2095954
7
- data.tar.gz: bfd2479a25d3d2f5212721941bd2400ad6179080f65a913efa4256c7ca7304e8042efc9ca50f294e19d5157e4d640e2c03e97c45891320ea445ef32792eaaa88
6
+ metadata.gz: 4fa6bb1c729728b551c8af2d1f1ca36b8a4d2eb75b517d6feff0c24f7135edbb45cccce3b3472f01e22c053100417ddbff0257f7d2818d47c556254994ca18e9
7
+ data.tar.gz: 47190de2fd3cc21aa36db244783fe8e7b335c7c1f0cc10f288eb71d4dc10372b68304c63817e1e83922290dd513f4b609564d29b46e5bdb850e8c2a85334ea9f
@@ -47,12 +47,12 @@ module Twiglet
47
47
 
48
48
  context = @context_provider&.call || {}
49
49
 
50
- base_message
51
- .deep_merge(@default_properties.to_nested)
52
- .deep_merge(context.to_nested)
53
- .deep_merge(message.to_nested)
54
- .to_json
55
- .concat("\n")
50
+ JSON.generate(
51
+ base_message
52
+ .deep_merge(@default_properties.to_nested)
53
+ .deep_merge(context.to_nested)
54
+ .deep_merge(message.to_nested)
55
+ ).concat("\n")
56
56
  end
57
57
  end
58
58
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Twiglet
4
- VERSION = '3.9.0'
4
+ VERSION = '3.9.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twiglet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0
4
+ version: 3.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-18 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema