huginn_acumen_product_agent 1.2.5 → 1.2.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d7b997fa4e1cc7c2e12e20c3fd936e7f39b9d81dc37fb7fe91b1e53730d519a
|
4
|
+
data.tar.gz: 85639d5088582e97e9fb890c8f00450da6094a04f0d89fc772b6d2c2d72d661e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2fb786a161c0c5d4a3bb20b72d15c3133115b5ef03da1f1027562370c61444067a1b19c93c355e6b3b20aa690171520a5e6962187292859e2f43948a8949bb3
|
7
|
+
data.tar.gz: db800535fd7fd56f57fe1d571a25f0832a6e7bed08b057977ef50e3b38cc2c6bba9e51aa72f6caee722b3c007d9baf26b6f38918d5cdcad7eabac7f922c69ef4
|
@@ -382,7 +382,7 @@ module AcumenProductQueryConcern
|
|
382
382
|
next
|
383
383
|
else
|
384
384
|
physical_formats.each do |val|
|
385
|
-
match = product['model'].select { |v| v[
|
385
|
+
match = product['model'].select { |v| v['acumenAttributes']['category'] == val }
|
386
386
|
|
387
387
|
if match && match.length > 0
|
388
388
|
match[0]['isDefault'] = true
|
@@ -391,7 +391,7 @@ module AcumenProductQueryConcern
|
|
391
391
|
end
|
392
392
|
|
393
393
|
digital_formats.each do |val|
|
394
|
-
match = product['model'].select { |v| v[
|
394
|
+
match = product['model'].select { |v| v['acumenAttributes']['category'] == val }
|
395
395
|
|
396
396
|
if match && match.length > 0
|
397
397
|
match[0]['isDefault'] = true
|