ruby_smart-simple_logger 1.5.1 → 1.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: 9e26fb30c5d3eea56ec537c9ba5a0cba83cf3c93b9ea251c8260fc95c403d80a
4
- data.tar.gz: 137db583b36249df9b65e708a4341ba6e8edc3ae128eddb7d4a7c6f15bdf34a4
3
+ metadata.gz: 24fc41cd1546a608cc5f7e77aed469d8661cf71d10230b27343427c34007b0a7
4
+ data.tar.gz: 00f4a18fc2b02db13cc18552607b05c47ec6c5861b3eb61a733ff6b167fc3fb9
5
5
  SHA512:
6
- metadata.gz: de53c20b067bb27ecb7840fe3576e0f0a9aba787b83f599e9644429df74bcff9da4699e8086170bcb306f7b00d4527884cab83628bd971a88fe68a0bb16b9246
7
- data.tar.gz: f8891751aff164988b69dc37b48d092e5c962ad3755c00d9c3c4010d3519c0fc1db7ed1084ede994d82dead8be2f0a3de47d3fbde9fdded359be81fa45f1b33d
6
+ metadata.gz: 3b3ee071e62714542b209e5314c2947ee78ffdacd669a694de610cba63fc54a1be801806debded1b4cf738a2aad19a86960e781d7c2f50b0497f14636293aa36
7
+ data.tar.gz: 8af1877eb9843796aa2131143ca58cb02ee9b2ceb013a227b3293a145b10319a5ab887c534644e0512fe0ed430dab2cf601257a207e66bf38ba2acfd40341018
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # RubySmart::SimpleLogger - CHANGELOG
2
2
 
3
+ ## [1.5.2] - 2024-09-12
4
+ * **[fix]** swap 'verbose' logging for `model` scene _(now uses FALSE by default)_
5
+
3
6
  ## [1.5.1] - 2024-09-12
4
7
  * **[fix]** `RubySmart::SimpleLogger::KlassLogger` not forwarding kwargs
5
8
 
@@ -10,7 +10,7 @@ module RubySmart
10
10
  module VERSION
11
11
  MAJOR = 1
12
12
  MINOR = 5
13
- TINY = 1
13
+ TINY = 2
14
14
  PRE = nil
15
15
 
16
16
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -361,7 +361,7 @@ module RubySmart
361
361
  case status
362
362
  when :success
363
363
  # show verbose logging for updated records
364
- if opts[:verbose] != false && !model.previously_new_record?
364
+ if opts[:verbose] && !model.previously_new_record?
365
365
  self.success("#{mdl_string} (#{model.previous_changes.inspect})", tag: "#{model.class.name.upcase}|UPDATED", **opts)
366
366
  else
367
367
  self.success(mdl_string, tag: "#{model.class.name.upcase}|#{(model.previously_new_record? ? 'CREATED' : 'UPDATED')}", **opts)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_smart-simple_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Gonsior