anyway_config 2.5.3 → 2.5.4

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: d6fee4af14bfa83eab99562506f1dbeaf3826f3da3f204f3f117787aa5b04b9c
4
- data.tar.gz: 16f081b27030e63ef69ad58a3fae0029fe6c983c2056574b73ef86d9dbb249a5
3
+ metadata.gz: ecd889b5a9f662d00312e10d8bb01c25f35cfe56aa1f4e361fee46ead43af918
4
+ data.tar.gz: 5c3921ddef8bbef598806a55f8f8beb9bf7b27b49df296bf1dc168370a4c159f
5
5
  SHA512:
6
- metadata.gz: 0c07338e57bdac6d238e848901c91aabf38011dd7dc4a9c0d39be8a582c5814da411e310f9f7f58d75de06ef2458eb92255bd4889f6f7e0d98b14416cfbcbe35
7
- data.tar.gz: a51191c4933cac6c78530e7b0f1f3b8c43a5dc8414a1758544ab7f1ebba708e01e99789d0383df365bb0ba9eb71e7137b16a3efc564329f4cd1e2e5bbb70e73a
6
+ metadata.gz: 5e9911f756c77a8110b031a8afef85819915742fe541f9bbfcd58011c6cb4f05f65928da4bed158f82a52fa9ad41c76420d3ad3f9885d2c4c7bd3aeb6307b849
7
+ data.tar.gz: a6aa11ab9a3681983df6ce936680511fc9cc86658287ff7a3ff5691201d83e85cbac9b18155a04cb8bbccd81f41fdd0cabe203504c11a5baab2afc0b831a470e
data/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## master
4
4
 
5
- ## 2.5.4 (2023-09-12)
5
+ ## 2.5.4 (2023-10-15)
6
+
7
+ - Fix tracing with empty config keys. ([@palkan][])
8
+
9
+ ## 2.5.3 (2023-09-12)
6
10
 
7
11
  - Do not activate Rails secrets loaders in 7.1+. ([@palkan][])
8
12
 
@@ -179,7 +179,7 @@ module Anyway
179
179
  val = yield
180
180
  if val.is_a?(Hash)
181
181
  Tracing.current_trace.merge_values(val, type: type, **opts)
182
- else
182
+ elsif !path.empty?
183
183
  Tracing.current_trace.record_value(val, *path, type: type, **opts)
184
184
  end
185
185
  val
@@ -179,7 +179,7 @@ module Anyway
179
179
  val = yield
180
180
  if val.is_a?(Hash)
181
181
  Tracing.current_trace.merge_values(val, type: type, **opts)
182
- else
182
+ elsif !path.empty?
183
183
  Tracing.current_trace.record_value(val, *path, type: type, **opts)
184
184
  end
185
185
  val
@@ -179,7 +179,7 @@ module Anyway
179
179
  val = yield
180
180
  if val.is_a?(Hash)
181
181
  Tracing.current_trace.merge_values(val, type: type, **opts)
182
- else
182
+ elsif !path.empty?
183
183
  Tracing.current_trace.record_value(val, *path, type: type, **opts)
184
184
  end
185
185
  val
@@ -179,7 +179,7 @@ module Anyway
179
179
  val = yield
180
180
  if val.is_a?(Hash)
181
181
  Tracing.current_trace.merge_values(val, type:, **opts)
182
- else
182
+ elsif !path.empty?
183
183
  Tracing.current_trace.record_value(val, *path, type:, **opts)
184
184
  end
185
185
  val
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anyway # :nodoc:
4
- VERSION = "2.5.3"
4
+ VERSION = "2.5.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyway_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-12 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-next-core