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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 743c2db1f23ad2581f299b455f9765a32cd9ecf5310716f0d3c19bb5421b0318
4
- data.tar.gz: 79795a4d01f990d296d04259d7689df92fd98712d00f32acd4a5d6b8a71c9f25
3
+ metadata.gz: ad7c8f2df432c96d6db7b3fa5f22c7ac8b7721f3a9af98c2d152dcaa1268113c
4
+ data.tar.gz: 98f43cf7910d991e11da7ba8324c79be2f4180a714d71cd2e45d1a944247cc6a
5
5
  SHA512:
6
- metadata.gz: 6af554a0c96eba3f4fac02085046999d655c2aa820b9afbb447f264f5d11f0924f812f77d36a2e8531f03e15d5e9d8388904c196eff8621bf4d81b7200ba5e8d
7
- data.tar.gz: d079616959b8ebe0d23914bf8ab5db7a834e32baded0f79a4adc196f1f96eb89169bf7d2493dc3cfade8c1a24f06cfc51aad29924f7fe7b151cc7a2c2d737746
6
+ metadata.gz: 84a3ee81304cc97f0db758eec19715a4eb6185a45870c0d67d8dac6ba525e8c0fa08da8391ac7a75a37bd05851bcb881dcbbf57fefd24238a8a6eb70de1f0508
7
+ data.tar.gz: 20e82cbca661fa23e241aa7f3479d7cc0074971d2148fd7e2ba19ebbdb27b972c577ccc7458f28c4870ba4b298508504ea73ae21d406f412087016c16ea82236
@@ -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
- return if field_changes.blank?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Logga
4
- VERSION = "1.6.1"
4
+ VERSION = "1.6.2"
5
5
  end
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.1
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-27 00:00:00.000000000 Z
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