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: 3c373f0f396b8163b1cf904cc46edd625a7e3c7d601d19bbdd9a97571c2e9c7d
4
- data.tar.gz: 746c7efd90c0e592170215cb579799f88cf504be2b1b6715fbf78627253f29d9
3
+ metadata.gz: 6d7b997fa4e1cc7c2e12e20c3fd936e7f39b9d81dc37fb7fe91b1e53730d519a
4
+ data.tar.gz: 85639d5088582e97e9fb890c8f00450da6094a04f0d89fc772b6d2c2d72d661e
5
5
  SHA512:
6
- metadata.gz: f6f1a8b1753badfb40a01c19fc3a4ad9ff15c3c2ada8ba92b440381475e0c14a7c24813f776d3d2c509ef68eb82bc1312db0cf28a447ef0e0cd1f0892f12ae86
7
- data.tar.gz: 98312581ca38d13018e1bad01cf0a008bc0131a9226fdce04d16bb46c612b22b6f8d5d6c446625d93a655ef0414d5f1a5300cbc89fc1c919325adb71ac5227f8
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[field_value(product, 'Inv_Product.Category')] == val }
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[field_value(product, 'Inv_Product.Category')] == val }
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huginn_acumen_product_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Spizziri