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 +4 -4
- data/docs/CHANGELOG.md +3 -0
- data/lib/ruby_smart/simple_logger/gem_version.rb +1 -1
- data/lib/ruby_smart/simple_logger/scenes.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24fc41cd1546a608cc5f7e77aed469d8661cf71d10230b27343427c34007b0a7
|
4
|
+
data.tar.gz: 00f4a18fc2b02db13cc18552607b05c47ec6c5861b3eb61a733ff6b167fc3fb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b3ee071e62714542b209e5314c2947ee78ffdacd669a694de610cba63fc54a1be801806debded1b4cf738a2aad19a86960e781d7c2f50b0497f14636293aa36
|
7
|
+
data.tar.gz: 8af1877eb9843796aa2131143ca58cb02ee9b2ceb013a227b3293a145b10319a5ab887c534644e0512fe0ed430dab2cf601257a207e66bf38ba2acfd40341018
|
data/docs/CHANGELOG.md
CHANGED
@@ -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]
|
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)
|