hermes-rb 0.3.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc074c27cdac75e904004b2bd84d3d633f669251f5476065a9691979df5334da
4
- data.tar.gz: 0255b07f12767b699b9bffb006ef00f8fc782f72c394bc5ab0622089441cf43b
3
+ metadata.gz: 5b5ec616c41ef3873871546b7943b35a4fc48a0b27503140469a62b4267cf338
4
+ data.tar.gz: b387a1d8c2fb8af348c3b35ca5b1642a305eb2fc8a6f7eb4850b90e23f60b873
5
5
  SHA512:
6
- metadata.gz: 07d4527111544947adfb5222634df4b8a6f02169e612174a1de52723eeafc51a30daf3515b341f532244bf87e106cb204b6f7b5142f043e8aa24917a8e6374bc
7
- data.tar.gz: 9d2f1c37b34b417c1fc9340590546f38608d67af7d1efb77d8a8853ea9827e0b6a19b43cfaad465867be52032bffe1446a2ef9280253d12896d124fbde6e0502
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.0)
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.2.1)
16
- activesupport (= 6.1.2.1)
17
- activerecord (6.1.2.1)
18
- activemodel (= 6.1.2.1)
19
- activesupport (= 6.1.2.1)
20
- activesupport (6.1.2.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.0)
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.0)
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
@@ -1,5 +1,5 @@
1
1
  module Hermes
2
2
  module Rb
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
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.0
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-15 00:00:00.000000000 Z
11
+ date: 2021-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct