config_reader 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2737e810595affa2baee1814d8d0291e25be7748f40eb215634b52401677c533
4
- data.tar.gz: c55a5f5a2bce2d866cdc93c8a1fc6b4e004d7fc693d4d26b1cb7c2fb96e11038
3
+ metadata.gz: cae8d3f402a58472016b70dd56fc8e5f97f099c77809edf8a6145cfe80425139
4
+ data.tar.gz: 87b86f1f97bc4586aa20768f7216b235fc42ed463bc568f5775c87e756b32c55
5
5
  SHA512:
6
- metadata.gz: bb4d11127268cd8dd236cb51c2237f9b6f8ee77174491ed406e788072a5ac92376eb91e7d7f4f20596f5378870426727c95eb8f38c31a079d14b6880c93953c4
7
- data.tar.gz: 14c4bff99f6ed3ca2e75186dc019e7380af414143edcb588e494b2069083125e9371d3b704597368a590c269b1e279cfe3bc7cdd8a9a53f9b5745dc58a1fbef7
6
+ metadata.gz: a64b08e7e67f9313d2c44b179769b84594c3dc5e48f22b0551787d352274724f38ca8db544ba16904fad67d0c6358026c65edda44fef181981031cf952391226
7
+ data.tar.gz: 38d8e881518b32c0e997d2f859127deb40bafc5dc3478c34fb6927f46cf63d80dc2fd4240cf9dc4b66fb02f950ebe6329d67625842792bec7f44020878525452
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.1 2024-12-13
4
+
5
+ Don't merge! in deep_merge
6
+
3
7
  ## 3.0.0 2024-12-12
4
8
 
5
9
  Update to latest Sekrets (1.14.0)
@@ -1,3 +1,3 @@
1
1
  class ConfigReader
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
data/lib/config_reader.rb CHANGED
@@ -31,7 +31,7 @@ class ConfigReader
31
31
  end
32
32
 
33
33
  def deep_merge(hash, other_hash)
34
- hash.merge!(other_hash) do |_key, this_val, other_val|
34
+ hash.merge(other_hash) do |_key, this_val, other_val|
35
35
  if this_val.is_a?(Hash) && other_val.is_a?(Hash)
36
36
  deep_merge(this_val, other_val)
37
37
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config_reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Moen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-12 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: abbrev