velocity_audited 6.0.3 → 6.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b39436e9380cd8f81939d01bd864c669d65bb033ef97d7c265165160e52809c
4
- data.tar.gz: 761804b094627fcb2b13e991ec8eb66288f1761d3d9ba4b134811d3ed399b3b8
3
+ metadata.gz: e058582ca733876bad833335b319e2da7351a1a712ec4d4702c16a85973190e2
4
+ data.tar.gz: 3bb43b22af1c2cb17cd9fe23c927d25e8a084c5aadded00d937c8f2c75e24733
5
5
  SHA512:
6
- metadata.gz: ebd15ee11f7c91d2beb3c61db75d6a6c8a3795c8615423d9c9ad9ed9294d321ad5439427adba2a45238318d4e79fa1183a5401250d62ed945b36ee25f03091b6
7
- data.tar.gz: 0621c54999850e9a6cd4cbe12642cc1e99ea0e367119aba2a503009f290ea5cc99374dab67d34e2e8c9007a4f51ee660c5429c6607ecc3917fa5bb3260f16bdf
6
+ metadata.gz: c5a0f851ecd39cd7090d16afb241176f7d01252febf0fc11ad0951f08858491d475c9805d4fc8915d33a1612499af294ebfe0ce1209809602eafba3e8534c22e
7
+ data.tar.gz: 71e71db5ffa01a88a23df2787be6ca5d062a67e1090deb28b256fb88ce6160efc4e39f63cb9ac7e408a47cc384d88668306d8103bde445cb178e1305c1090a1f
@@ -309,7 +309,7 @@ module VelocityAudited
309
309
 
310
310
  def write_audit(attrs)
311
311
  self.audit_comment = nil
312
- attrs[:db_audit] = true
312
+ attrs[:log_type] = "db_audit"
313
313
  attrs[:record_id] = id
314
314
  attrs[:model] = self.class.base_class.name
315
315
  attrs = add_metadata(attrs)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VelocityAudited
4
- VERSION = "6.0.3"
4
+ VERSION = "6.0.4"
5
5
  end
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: velocity_audited
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3
4
+ version: 6.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Keepers
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2022-01-11 00:00:00.000000000 Z
17
+ date: 2022-01-18 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: activerecord
@@ -233,6 +233,9 @@ files:
233
233
  - test/install_generator_test.rb
234
234
  - test/test_helper.rb
235
235
  - test/upgrade_generator_test.rb
236
+ - velocity_audited-6.0.1.gem
237
+ - velocity_audited-6.0.2.gem
238
+ - velocity_audited-6.0.3.gem
236
239
  homepage: https://github.com/Velocity-Engineering/audited
237
240
  licenses:
238
241
  - MIT