action_ip_filter 0.5.0 → 0.5.1
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/CHANGELOG.md +4 -0
- data/README.md +3 -1
- data/lib/action_ip_filter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89a56e3e93ef8dd25c9aae21185810b83cdf6c27662db6ba5749ee8ccc12976e
|
|
4
|
+
data.tar.gz: 674e5ce2970c6fe3e91469d856b6052a2eaa26e4a83ada61d5214f4ad49df7e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: badbaf5b413e15360b998db3aa662233219a5de020a588e06912aae2abc487fd45059aeb91445afe0a33c1b25b0886b0486ba7866346488d295835f78a42e2e5
|
|
7
|
+
data.tar.gz: 51194a577f7885a3a63e48acb10210bd3b4ad8b33d059449a3525d22b7ca25d5b8d6a8bdf0132bfb7163872b436ac9054459c2ba8b8c30409b6b5fbc65e70eff
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -259,12 +259,14 @@ end
|
|
|
259
259
|
|
|
260
260
|
## Logging
|
|
261
261
|
|
|
262
|
-
When `log_denials` is enabled
|
|
262
|
+
When `log_denials` is enabled, denied requests are logged as default:
|
|
263
263
|
|
|
264
264
|
```
|
|
265
265
|
[ActionIpFilter] Access denied for IP: 192.0.2.1 on MyController#index
|
|
266
266
|
```
|
|
267
267
|
|
|
268
|
+
See also: the `log_denial_message` configuration, which allows you to adjust both the log level and the message.
|
|
269
|
+
|
|
268
270
|
## Development
|
|
269
271
|
|
|
270
272
|
```bash
|