simple_audit_trail 1.1.2 → 1.1.3
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 +4 -4
- data/app/models/simple_audit_trail/audit.rb +1 -1
- data/lib/simple_audit_trail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f72b6a68e77016adec128922d5897e76622ddd6
|
|
4
|
+
data.tar.gz: e540c74830e5411b10772110aae43611e5354bb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ab5e458c8007e4b00464804266db0c987f06f35da7184315b0009d304444ac14c4c6a045dae7154d4a20b307090208388f4a209fd1f27a3fa951494ea29adf0
|
|
7
|
+
data.tar.gz: 899fd54cfa1daee68b4bb795bd202a80eb6ba84d496e2fa06a1b3b69e5df6c75c06c4e789b7f038270d1e11e50fda98fa10c79a0a3a745708038aa10e94825ed
|
|
@@ -9,7 +9,7 @@ module SimpleAuditTrail
|
|
|
9
9
|
|
|
10
10
|
def set_location_fields
|
|
11
11
|
self.trace ||= caller.select do |entry|
|
|
12
|
-
!(entry =~ /#{__FILE__}/) && (entry[0] != "/" || entry =~ /#{Rails.root}/)
|
|
12
|
+
!(entry =~ /#{__FILE__}/) && (entry[0] != "/" || entry =~ /#{Rails.root}\/[^b]/)
|
|
13
13
|
end.join("\n")
|
|
14
14
|
match = trace.match(/(\w+)_controller.rb.*`(\w+)'/)
|
|
15
15
|
c, a = match && match[1..-1]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_audit_trail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Maujean
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|