moderate_parameters 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/moderate_parameters.rb +3 -0
- data/lib/moderate_parameters/logger.rb +1 -1
- data/lib/moderate_parameters/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: 212641e2b030265bdf66f0b3f5cf495efe4a1c0a91a809ba90c344e9cc8b0446
|
4
|
+
data.tar.gz: ee9de7cdc1f13d1c99126a709d7eac1b7b02a70db48ed0bd1c384d09706d8e5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce1f3e8fb71bb3726e18a86a87eef4a95aff1bb2b5b2c5990afca78d4c8dc0cfdeeffea9767d6f96219a48246d86655fc0ee6dd25ca3affe1f0e3659c7b693cc
|
7
|
+
data.tar.gz: 7ccee91beb1087f115a1400e5cf361be5e67482d04e91305de065b8389c52a0af3d4a9f5f5479b07406412d9ef1b37dc400c6465f2211b1552f01a13f518d899
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
<p align="center">
|
2
|
+
<img src="https://user-images.githubusercontent.com/4054771/56985278-db1f9280-6b3c-11e9-8719-f48e2ab4885d.png" alt="Moderate Parameters" background>
|
3
|
+
</p>
|
4
|
+
|
2
5
|
|
3
6
|
By [Hint.io](https://hint.io)
|
4
7
|
|
data/lib/moderate_parameters.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
$moderate_parameters_logger =
|
3
|
+
$moderate_parameters_logger = ModerateParameters.logger
|
4
4
|
|
5
5
|
ActiveSupport::Notifications.subscribe('moderate_parameters') do |_, _, _, _, payload|
|
6
6
|
$moderate_parameters_logger.info "#{payload[:controller]}##{payload[:action]} #{payload[:message]}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moderate_parameters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Boe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|