xsys 0.10.1 → 0.10.2

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
  SHA1:
3
- metadata.gz: 5069191784012b3792e962c3b38f661b85666f58
4
- data.tar.gz: da5715b1412d0df629bd0b13f84af74c1305ca46
3
+ metadata.gz: af9cfd48e60847b1146d06c8b5c6b32a2d912564
4
+ data.tar.gz: d52261e8cb3045e680e7757e22bcdd19d5a2d291
5
5
  SHA512:
6
- metadata.gz: 3b7cf3bfbd404cec930aa2e99a020e9d813a1f024de57dfd9d4139caba90c3db34ff43e2158b15788179e26a35d28242cee117cc2cfc1330851676eb490de683
7
- data.tar.gz: 0cdd8f736e99b3ff12fe3c7b93715ade347f269caee7156f03f4925c432635e4cfc6fd1829e369bcf529471e54dbf4f5f736a825e5bd14d8c7e2088dfffefa4b
6
+ metadata.gz: 1a6ba89b2b133cdfacf767fae56534c99190478be019fa620e3b6875685771881ccf58b5e4dd51384f4a519f2dc8989f46b4c82041504d9b060fa84292557acb
7
+ data.tar.gz: 7445ffdf43bf48aa809b99d964c0fb60e9d442b342fe6099be0cc8fbba1ca85b9ba1324fda95201acd65dc8d1e12d08d33ba9772a1762a6d50628fdee8b298c1
@@ -289,3 +289,7 @@
289
289
  ## v0.10.1
290
290
 
291
291
  * Added missing attributes for cost
292
+
293
+ ## v0.10.2
294
+
295
+ * Added missing attributes for product price
@@ -5,9 +5,9 @@ module Xsys
5
5
  [:id, :name, :sellable, :product_category_id,
6
6
  :product_provider_id, :vat_rate, :taxed_cost, :vat_cost, :total_cost,
7
7
  :pending_ordered_quantity, :stocks, :prices, :category, :provider,
8
- :last_total_cost, :cost_update_date, :cost_update_time,
9
- :last_cost_update_date, :last_cost_update_time, :online_stock,
10
- :product_size_code, :weight, :length, :width, :height, :packages_quantity,
8
+ :last_total_cost, :last_taxed_cost, :cost_update_date, :cost_update_time,
9
+ :last_cost_update_date, :last_cost_update_time, :price_update_date, :price_update_time,
10
+ :online_stock, :product_size_code, :weight, :length, :width, :height, :packages_quantity,
11
11
  :ean, :packages, :regular_price, :reduced_price, :credit_card_price, :brand, :model
12
12
  ]
13
13
  end
@@ -18,7 +18,7 @@ module Xsys
18
18
  time_fields = ['cost_update_time', 'last_cost_update_time', 'price_update_time']
19
19
  date_fields = ['cost_update_date', 'last_cost_update_date', 'price_update_date']
20
20
  decimal_fields = ['vat_rate', 'taxed_cost', 'vat_cost', 'total_cost', 'last_total_cost',
21
- 'regular_price', 'reduced_price', 'credit_card_price']
21
+ 'last_taxed_cost', 'regular_price', 'reduced_price', 'credit_card_price']
22
22
 
23
23
  attributes.each do |k, v|
24
24
  if k.to_s == 'category'
@@ -1,3 +1,3 @@
1
1
  module Xsys
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick