notifiably_audited 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/audited.gemspec +1 -1
- data/lib/notifiably_audited.rb +15 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTY0YTNmZTUxMzRiMmI0OGZhZGFkMDdkYjMyODUxMzAyMGUxYmFmMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODFjOTkwZjMzMzliYWY0MDJhM2ZmNjZkYzYzNTI5ZTg5YTExMmNkOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODM0ZWFiMWFjMjM0YmZjMWQ0ZDU3YWVhYWY2ZDc3ZmI4NzJlMWEzMDVmMGRh
|
10
|
+
MGM4ZWU3MWIxZDMzMmM2NmUzNjMxNzU5ZGFkNmFlZjBjMTZmODdjNzIxMjY0
|
11
|
+
NTVjZTFiYzRmNDRkOGQ5ODc3YjY3OTI0NDZkY2EwY2VlZmFjMmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODc5OTFmMmE1YzNlZDhiY2FhN2Y0MWI4ZjM2ZDE4M2UzNWMzOTM3YzgzZDk4
|
14
|
+
MGE1NGJkZDY1NmQ0NmY1NzQ3ZTllMmQ2NTJhY2MwZDhmYzIzZWFlNmYwZDdm
|
15
|
+
NTYxMjNhNWQxYjIyNzk2NDdjNmFjMWVhYjE5NDViNGY3NGI1OTQ=
|
data/audited.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'notifiably_audited'
|
5
|
-
gem.version = '0.0.
|
5
|
+
gem.version = '0.0.5'
|
6
6
|
|
7
7
|
gem.authors = ['Brandon Keepers', 'Kenneth Kalmer', 'Daniel Morrison', 'Brian Ryckbost', 'Steve Richert', 'Ryan Glover']
|
8
8
|
gem.email = 'info@collectiveidea.com'
|
data/lib/notifiably_audited.rb
CHANGED
@@ -1,2 +1,15 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
module Audited
|
2
|
+
VERSION = '3.0.0'
|
3
|
+
|
4
|
+
class << self
|
5
|
+
attr_accessor :ignored_attributes, :current_user_method, :audit_class
|
6
|
+
|
7
|
+
def store
|
8
|
+
Thread.current[:audited_store] ||= {}
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
@ignored_attributes = %w(lock_version created_at updated_at created_on updated_on)
|
13
|
+
|
14
|
+
@current_user_method = :current_user
|
15
|
+
end
|