hash_miner 1.1.0 → 1.1.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: 914562162950918230de98d58303185f43568f78dfca068bc2f7209f4f96ae2b
4
- data.tar.gz: 80e88d5b6d61b41e7aafb12fddf796c9eba40667895fc0cb8e62610e0160e04b
3
+ metadata.gz: 3880db2912ffc04192e8229d82182242e328393ef861aefca6afa13e18a6bf69
4
+ data.tar.gz: c986c1425ec37db4c490ea0bb067c48021ba005592cc6fd3ee268b1eb08a9fbb
5
5
  SHA512:
6
- metadata.gz: 52d4ae8b09bc42cccb5b3fd98180a100074292a98d4b0a0437d62f776e436b69b93c487f15524323995452c1a96b9a214e071bb9735dddfcfff0da251c6b2ed1
7
- data.tar.gz: c5af637056ca8c4950846fc497ecac8f34270425f176a2850da0002cebeddbc09c71ed601d381f4e5feb5012bfad84d27db116ce8ab11a3b9413da4e335291f9
6
+ metadata.gz: a4d6a1e3238607814b75ace25a4944945fa4efde24f4db3e816e7393d4416e4f77f637b3e784e9285e16e75c773d305fe9bbd5ab527979073256d6ad194cc54c
7
+ data.tar.gz: 3acbbff3da20f5817b9e0ce4883753a89bbb6b27e2f7e464b43fbaa214b76a14bf7b544712196331233ec020b136166335f2e57e3bc6834d2b10c0beae39c1b0
@@ -252,7 +252,7 @@ class Hash
252
252
  deep_find_logic(hash: v, key: key)
253
253
  elsif v.is_a?(Array)
254
254
  [v.filter_map do |item|
255
- deep_find_logic(hash: i, key: key) if item.is_a?(Hash) && item.deep_contains?(key: key)
255
+ deep_find_logic(hash: item, key: key) if item.is_a?(Hash) && item.deep_contains?(key: key)
256
256
  end]
257
257
  end
258
258
  end.flatten
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HashMiner
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hash_miner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - alexo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-15 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Additional Hash methods to help navigate the tricky world of nested Hashes.
14
14
  email: