pretty_logger 1.4.0 → 1.4.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: e2ae9a51880dc6ebb9500c2affdd64c28c874025c1f9ad1361dc48217e1b34a9
4
- data.tar.gz: 27bced28aad91c65a9265a7e5c3d8a280c939b621c41a7bf84b3bf307650f079
3
+ metadata.gz: d576e9dc2c81a5f6c33f54687f5056d19e89435d81111a8257218a9037c0e6c3
4
+ data.tar.gz: 427bda9427583eee90548fee767fc63ce32c74a7f685553384b14318f0967eeb
5
5
  SHA512:
6
- metadata.gz: 942d017acc10359adfc6f317e752a80f85e1aa90d4f01685a58cf40e328e5b67aab2cd2a3eb24e26d5d8a9dc1164db52ffd89e0df44307bf8a50c3966ef0503e
7
- data.tar.gz: 1596dce1df092a1d481f65578c06746ab00918dbc2b39b6c389eaefb0a59ab17b354c4e44d7f75db419befa13891e41d54fa3eef2f25d318d9bcf217e053ba15
6
+ metadata.gz: c8ff7dd8371fb1b00f69a0f3d914c22bec116f1127c73c8554f0af9519aaa2c81ccaa7790fba135afcdf45c4a981d88fa2cfeeb5359244dea378dddb7dde0c69
7
+ data.tar.gz: 79a2bddbe9aa46b88725d233f5a91a5fa9c8df27624126fc9d22e50c56bb4a9c6799a94af735aa7b30b20a6516444687ba0932d1903c383d9a0c761b50275cff
@@ -10,7 +10,7 @@ class PrettyLogger::RequestLogger
10
10
  def log_request(extra_text=nil)
11
11
  info([
12
12
  "#{pretty_user} #{request.method.upcase} #{request.path} #{extra_text}\e[0m",
13
- params.blank? ? nil : truncate(pretty_message(params.to_unsafe_h.deep_symbolize_keys)),
13
+ params.blank? ? nil : truncate(pretty_message(params.as_json.deep_symbolize_keys)),
14
14
  ].compact.join("\n"))
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module PrettyLogger
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rocco Nicholls