effective_logging 1.10.11 → 1.10.12

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: fbbfbe91d61687d687bec5a337dc552ffbf03487
4
- data.tar.gz: 6f5e24fd9cef93e38076cea14f5f713ff1cf6874
3
+ metadata.gz: e44e648111bd329c41c368d546025c4fae85c097
4
+ data.tar.gz: 0312d50ae325695af9e6f821e49eef046b1ed91b
5
5
  SHA512:
6
- metadata.gz: 1848b493da8d7b38b0725908fd820d3c26a0c15d0a7ed4d03957b413e0cd59f666592f77bb13cdca6daa44d46ea0ab51662e6def9d1af33b61415635929a6e30
7
- data.tar.gz: f2cd75738f9dbf511a7a11c5bdce5f4fe9697071b356914bfc4e9838be7cc5b83ab3bfe1d82f21dad5fa4ea08414cb54e5c40e8b7d92a8f0f3615598da118ce9
6
+ metadata.gz: b389444b196501c2fc83bb773e8fa3bf098cd9c1fe171638439b74f33edf68fd099ef4994cd7425495c3b1f8782401479e9fbc723948550974605f6af346bbc2
7
+ data.tar.gz: 8911111100724737c1ef6f24ab8bd6a1013de42e2a7b352633695f5308ef93172574fb8cf43358f58baca612c89680e1455f5822413b2b9cc3b5545c6ca0e0b0
@@ -20,7 +20,7 @@ module ActsAsLoggable
20
20
  @acts_as_loggable_new_record = new_record?
21
21
 
22
22
  unless @acts_as_loggable_new_record
23
- @acts_as_loggable_update_record = EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).execute!
23
+ @acts_as_loggable_update_record = ::EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).execute!
24
24
  end
25
25
 
26
26
  block.call
@@ -29,15 +29,15 @@ module ActsAsLoggable
29
29
 
30
30
  before_destroy do
31
31
  @acts_as_loggable_destroy_record = true
32
- EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).destroyed!
32
+ ::EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).destroyed!
33
33
  true
34
34
  end
35
35
 
36
36
  after_commit do
37
37
  if @acts_as_loggable_new_record
38
- EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).created!
38
+ ::EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).created!
39
39
  elsif !@acts_as_loggable_destroy_record && @acts_as_loggable_update_record
40
- EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).updated!
40
+ ::EffectiveLogging::ActiveRecordLogger.new(self, log_changes_options).updated!
41
41
  end
42
42
 
43
43
  true
@@ -1,3 +1,3 @@
1
1
  module EffectiveLogging
2
- VERSION = '1.10.11'.freeze
2
+ VERSION = '1.10.12'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.11
4
+ version: 1.10.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-02 00:00:00.000000000 Z
11
+ date: 2017-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails