active_record_auditor 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 9606c08372dcb62a49cead2336cf08d71b0c16ef
4
- data.tar.gz: 8e1ba9b60bb3ee6d750937e837dd9e8e4c33db44
3
+ metadata.gz: f22fa390d18bcaa6f1b721690143afb0ad285434
4
+ data.tar.gz: df2090a03e06fe87432afaa4cbe77b9bc22441fe
5
5
  SHA512:
6
- metadata.gz: e3e7719070e8998be2c738f4877578f3a065d6e718f205e730b639c4a790c4717bae3607d9d6bb34cc90dc06f06d12bdcd7ec29119bd678243bdc047b48171e7
7
- data.tar.gz: 024ba302aefe6e309a24584510bf5a2e74d35130609167bafbc9f2dc61a3e186f33a65c20d1f7c7e14427ec761d8a9a76e9cd777ac266423ba4fd89cf26ff2cb
6
+ metadata.gz: 9be77c5db34a4f92128baa9ac5b1b3e1f42c88ce4117da806b586be7983f68daa3bc1b8af398b4d1332d50e933ed91d396a63d4d44a1dea2b5b5e22dadae4f8a
7
+ data.tar.gz: 5a9c4a28319a134d66cba5fbcda5748fc5d2564727494e46ca0094a4f1159af234395743fc430e63820620d29e89ae685ca45cd03fe17d3b3670286c28fa6e40
@@ -20,7 +20,7 @@ module ActiveRecord
20
20
  def _create_record(attribute_names = self.attribute_names)
21
21
  transaction do
22
22
  super(attribute_names)
23
- connection.execute(new_record_sql) if should_audit?
23
+ connection.execute(audit_create_sql) if should_audit?
24
24
  end
25
25
  end
26
26
 
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordAuditor
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_auditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Wilson