activitylog 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/activitylog.gemspec +1 -1
- data/lib/activity_log/activity_logger.rb +9 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzdiZTI1MDUzZGE3N2U0Y2M3ZWU1NDU4NThlZDMwNTBkMzlhMTQ0Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTc0Y2U3NjI2N2ViZmMyMDk4MGYyN2Y4NjViMGE0ZDk5ZDQ1NDhkZg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDUwYjJmZTAxN2Y3YjU1ZWRkNzg4YThkMjUyMDEzY2FmYmMzNjRhY2E3MjFk
|
10
|
+
YzlhNDAwYTRhNGEzN2E0ZGZmYjgxZjRhM2I3ZTQ4YTdkZDgwNzkzMGJkMmI3
|
11
|
+
MTA5MzdkMjQwYzg2YWFjMzUxMWJmYTBiNzNhZTgwMDdlZGFmYWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGZkNTlmYmVjODYxODAwZjI5Nzk3MmEwYWNlODk3MzU2MTk3ZjI5ZGM0NDI3
|
14
|
+
MmJkOGYxZGM1ZDUxNTBmYmNkMzQ1OWQ2OTljMTBkZjhkOWZiMDY4OGYxNzY0
|
15
|
+
MDgyY2FjMzE5MDYyMDRhNTA2NmJmNTRkZDIyZmVhNTJjMzcyNzA=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.1
|
data/activitylog.gemspec
CHANGED
@@ -34,8 +34,15 @@ module ActivityLogger
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def log_controller_activity(*args)
|
37
|
-
|
38
|
-
|
37
|
+
options = args.extract_options!.slice(:only, :except, :if, :unless)
|
38
|
+
|
39
|
+
send(:before_filter, options) do |controller|
|
40
|
+
controller.send(:record_controller_activity_log)
|
41
|
+
end
|
42
|
+
|
43
|
+
send(:after_filter, options) do |controller|
|
44
|
+
controller.send(:destroy_parent_activity_id)
|
45
|
+
end
|
39
46
|
end
|
40
47
|
end
|
41
48
|
end
|