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 +4 -4
- data/lib/hash_miner/hash.rb +1 -1
- data/lib/hash_miner/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: 3880db2912ffc04192e8229d82182242e328393ef861aefca6afa13e18a6bf69
|
4
|
+
data.tar.gz: c986c1425ec37db4c490ea0bb067c48021ba005592cc6fd3ee268b1eb08a9fbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d6a1e3238607814b75ace25a4944945fa4efde24f4db3e816e7393d4416e4f77f637b3e784e9285e16e75c773d305fe9bbd5ab527979073256d6ad194cc54c
|
7
|
+
data.tar.gz: 3acbbff3da20f5817b9e0ce4883753a89bbb6b27e2f7e464b43fbaa214b76a14bf7b544712196331233ec020b136166335f2e57e3bc6834d2b10c0beae39c1b0
|
data/lib/hash_miner/hash.rb
CHANGED
@@ -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:
|
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
|
data/lib/hash_miner/version.rb
CHANGED
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.
|
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-
|
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:
|