huginn_acumen_product_agent 1.4.0 → 1.5.0

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: 73be297fed0a6ced22645adc0a259180dc4980dd70c746f4057b8572e1ee7863
4
- data.tar.gz: b04844533621d1e320ec95b39c6458aa8a846dbb765c4e00c84be958696aaef9
3
+ metadata.gz: 0ad21ecb6e4948cfc5ce3e2ee77e5538a64ba3dfb7335ff393e676cad02a1ca2
4
+ data.tar.gz: 19b6969752c7f30a562cb957aaada0e97c19e616d0e5c2e8cc078d2b79a6101c
5
5
  SHA512:
6
- metadata.gz: 9cc986209beb97de37544ec3c563d5f7a5de88e9597afbd7b95cf2cada6c409ce084492d706b6db92e2382bbb12a60e9ec0d064a51aa4009145ba6f4e11739ca
7
- data.tar.gz: 443ab6792a17decfe5da76d424bfda9f84b4c8d30daa45fdebbdb20c880b093babdfbac4dc7eacd56d501ffff2394d165cf541c1ac66afc5e39c1a52fa536735
6
+ metadata.gz: 42e77906d862630e4cd5b8eb08de74fdadd904bb6b7955a910e53f985f19639fc04b3fc5f39e4039a5d7a7b473c1a1158176e2b5d0097849182b3e9fcf5abac8
7
+ data.tar.gz: 280c0e72c100b17369b2bf18c578b8b4b50844efa72ea328918bbeebbc2fd2db0e60c3181ea6ea6fe2731d938827730a86507113b0d8f5606f0bd261b709e082
@@ -93,6 +93,8 @@ class AcumenClient
93
93
  <column_name>Inv_Product.Info_Alpha_1</column_name>
94
94
  <column_name>Inv_Product.Info_Boolean_1</column_name>>
95
95
  <column_name>Inv_Product.Category</column_name>
96
+ <column_name>Inv_Product.Next_Release</column_name>
97
+ <column_name>Inv_Product.BO_Reason</column_name>
96
98
  </requested_output>
97
99
  </acusoapRequest>
98
100
  XML
@@ -106,6 +106,7 @@ module AcumenProductQueryConcern
106
106
  'Inv_Product.SubTitle' => 'disambiguatingDescription',
107
107
  'Inv_Product.ISBN_UPC' => 'isbn',
108
108
  'Inv_Product.Pub_Date' => 'datePublished',
109
+ 'Inv_Product.Next_Release' => 'releaseDate',
109
110
  })
110
111
  variant['@type'] = 'ProductModel'
111
112
  variant['isDefault'] = false
@@ -117,11 +118,13 @@ module AcumenProductQueryConcern
117
118
  variant['offers'] = [{
118
119
  '@type' => 'Offer',
119
120
  'price' => field_value(p, 'Inv_Product.Price_1'),
121
+ 'availability' => field_value(p, 'Inv_Product.BO_Reason')
120
122
  }]
121
123
  if field_value(p, 'Inv_Product.Price_2')
122
124
  variant['offers'].push({
123
125
  '@type' => 'Offer',
124
126
  'price' => field_value(p, 'Inv_Product.Price_2'),
127
+ 'availability' => field_value(p, 'Inv_Product.BO_Reason')
125
128
  })
126
129
  end
127
130
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huginn_acumen_product_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Spizziri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-12 00:00:00.000000000 Z
11
+ date: 2020-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler