effective_logging 3.0.9 → 3.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/effective_logging/set_current_user.rb +1 -1
- data/lib/effective_logging/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ced9c07cb086b859429b90b1ccbac95ae8e201b775bcd583b3d289004289094d
|
4
|
+
data.tar.gz: 7411b720f373bc75ad92be98649481daefc15755d972835909e65d272d243b40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caef27d98294627b0a21fa7d6dee8ab0d08d86e8297eddcbfcc403724bbfb75ca79b317192ee96ef744704e88fd03a04b41a913289c7a6e1c92753a140640a38
|
7
|
+
data.tar.gz: 579cabf40e8107f4a44c23da05e87c7d6887c4e7604b265475a8a4ae6769f99ce421e3e358df70f1d56935e06724254ceebec651cf8a41f5935811d44ad5cff2
|
data/README.md
CHANGED
@@ -197,6 +197,12 @@ This logging includes the resource's base attributes, all autosaved associations
|
|
197
197
|
|
198
198
|
It will recurse through all accepts_nested_attributes has_many's and handle any number of child objects.
|
199
199
|
|
200
|
+
Add to your application controller:
|
201
|
+
|
202
|
+
```
|
203
|
+
around_action :set_effective_logging_current_user
|
204
|
+
```
|
205
|
+
|
200
206
|
Add to your model:
|
201
207
|
|
202
208
|
```ruby
|
@@ -371,4 +377,3 @@ MIT License. Copyright [Code and Effect Inc.](http://www.codeandeffect.com/)
|
|
371
377
|
4. Push to the branch (`git push origin my-new-feature`)
|
372
378
|
5. Bonus points for test coverage
|
373
379
|
6. Create new Pull Request
|
374
|
-
|
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: 3.0.
|
4
|
+
version: 3.0.10
|
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: 2020-08
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|