hermes-rb 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +3 -0
- data/Gemfile.lock +9 -9
- data/lib/hermes/logger/params_filter.rb +1 -1
- data/lib/hermes/rb/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: 5b5ec616c41ef3873871546b7943b35a4fc48a0b27503140469a62b4267cf338
|
4
|
+
data.tar.gz: b387a1d8c2fb8af348c3b35ca5b1642a305eb2fc8a6f7eb4850b90e23f60b873
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c17d4b5ada3daf1af7e0b17c1c7443d2810797341631090c488a8f397881507cc99504a5f25a93e7e5e65c64db795153e1ea471bbd0e5123a5ef7922e503d04
|
7
|
+
data.tar.gz: b28b39d8e03b717c4f7b33f20a92efd452c56fa0749716a5b64f6b2b5d7bf8123c62432ac47f96849a4c72e80867a2b79b9c81f4431abfdef5021dd17da43359
|
data/Changelog.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
## Master
|
4
4
|
|
5
|
+
## 0.3.1
|
6
|
+
- Fix filtering params for logs for nil values in sensitive attributes
|
7
|
+
|
5
8
|
## 0.3.0
|
6
9
|
- Reorganize Hutch config - instead of setting config values when connecting to Hutch when using publisher, do it right after the initialization.
|
7
10
|
- Make params filter customizable for the logger
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hermes-rb (0.3.
|
4
|
+
hermes-rb (0.3.1)
|
5
5
|
activerecord (>= 5)
|
6
6
|
activesupport (>= 5)
|
7
7
|
dry-container (~> 0)
|
@@ -12,12 +12,12 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activemodel (6.1.
|
16
|
-
activesupport (= 6.1.
|
17
|
-
activerecord (6.1.
|
18
|
-
activemodel (= 6.1.
|
19
|
-
activesupport (= 6.1.
|
20
|
-
activesupport (6.1.
|
15
|
+
activemodel (6.1.3)
|
16
|
+
activesupport (= 6.1.3)
|
17
|
+
activerecord (6.1.3)
|
18
|
+
activemodel (= 6.1.3)
|
19
|
+
activesupport (= 6.1.3)
|
20
|
+
activesupport (6.1.3)
|
21
21
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
22
22
|
i18n (>= 1.6, < 2)
|
23
23
|
minitest (>= 5.1)
|
@@ -30,7 +30,7 @@ GEM
|
|
30
30
|
json
|
31
31
|
concurrent-ruby (1.1.8)
|
32
32
|
diff-lcs (1.4.4)
|
33
|
-
dry-configurable (0.12.
|
33
|
+
dry-configurable (0.12.1)
|
34
34
|
concurrent-ruby (~> 1.0)
|
35
35
|
dry-core (~> 0.5, >= 0.5.0)
|
36
36
|
dry-container (0.7.2)
|
@@ -46,7 +46,7 @@ GEM
|
|
46
46
|
dry-core (~> 0.5, >= 0.5)
|
47
47
|
dry-types (~> 1.5)
|
48
48
|
ice_nine (~> 0.11)
|
49
|
-
dry-types (1.5.
|
49
|
+
dry-types (1.5.1)
|
50
50
|
concurrent-ruby (~> 1.0)
|
51
51
|
dry-container (~> 0.3)
|
52
52
|
dry-core (~> 0.5, >= 0.5)
|
@@ -16,7 +16,7 @@ module Hermes
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def call(attribute, value)
|
19
|
-
if sensitive_keywords.any? { |sensitive_attribute| attribute.to_s.match(sensitive_attribute) }
|
19
|
+
if sensitive_keywords.any? { |sensitive_attribute| attribute.to_s.match(sensitive_attribute) } && value.respond_to?(:to_str)
|
20
20
|
value.gsub!(value, stripped_value)
|
21
21
|
end
|
22
22
|
end
|
data/lib/hermes/rb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hermes-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karol Galanciak
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|