logga 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logga/active_record.rb +1 -4
- data/lib/logga/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad7c8f2df432c96d6db7b3fa5f22c7ac8b7721f3a9af98c2d152dcaa1268113c
|
4
|
+
data.tar.gz: 98f43cf7910d991e11da7ba8324c79be2f4180a714d71cd2e45d1a944247cc6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a3ee81304cc97f0db758eec19715a4eb6185a45870c0d67d8dac6ba525e8c0fa08da8391ac7a75a37bd05851bcb881dcbbf57fefd24238a8a6eb70de1f0508
|
7
|
+
data.tar.gz: 20e82cbca661fa23e241aa7f3479d7cc0074971d2148fd7e2ba19ebbdb27b972c577ccc7458f28c4870ba4b298508504ea73ae21d406f412087016c16ea82236
|
data/lib/logga/active_record.rb
CHANGED
@@ -53,10 +53,7 @@ module Logga
|
|
53
53
|
return if should_not_log?
|
54
54
|
|
55
55
|
field_changes = previous_changes.reject { |k, _| reject_change?(k) }
|
56
|
-
|
57
|
-
|
58
|
-
body = field_changes_to_message(field_changes)
|
59
|
-
create_log_entry(author_data.merge(body: body)) if body.present?
|
56
|
+
log_field_changes(field_changes)
|
60
57
|
end
|
61
58
|
|
62
59
|
private
|
data/lib/logga/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boxt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: boxt_ruby_style_guide
|