comee_core 0.2.29 → 0.2.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72047b0c2028bfecffd282e07eb296dafee045265adee6f6a91ad16fa6421b2c
4
- data.tar.gz: 53092cc94dc081712712e302fe5b0c6c012b70e1f9f012f055366b91aff0a204
3
+ metadata.gz: cf5a2a77f951b704d1e1a58d18a83403bede97439aed4f6474a4a2207787e4b7
4
+ data.tar.gz: a7fda80c9b56559e26eb47ca2fd1964e7f2fd91e5ce1d2af06227cb15a6ba8d8
5
5
  SHA512:
6
- metadata.gz: 6e051f08525c5d799c2827717d15d7c4cd4d89bd59b04174519b31bd1e92e35c7a401d9cf4f40c269c1c0e062700a02293554f1334e7871ae0105039cb4f6c61
7
- data.tar.gz: d1b69af97b0d2cde39015378ffc809422a05a068540d1048c8fe452e89918147b5af627e3e546f22cdf21d83e6cbea7db546cc0c462fe128a3acb79d84c4461f
6
+ metadata.gz: bd1a95c624f08cd3a1e9082ff5bdf3c90270ae73e9e5cf52268426ed49d549117e98b4f08705aa23c5c3d1e0659ab5eedccc720c0686615dc609318745ba5e84
7
+ data.tar.gz: 371ffbc08068a72f4ad329bd1c72c97facf224b3bcfd78d71c5194234886d4e99c4a896ff9c90a657796bde4e263184aeca5925ab86a3bc4a8a3d4b7e2d4641c
@@ -10,7 +10,7 @@ module Comee
10
10
 
11
11
  mappings = field_mapping.map(&:with_indifferent_access)
12
12
  order_fields = %w[order_number order_date delivery_address invoice_address]
13
- item_fields = %w[product_code product_name unit_code quantity price delivery_date]
13
+ item_fields = %w[customer_item_no customer_item_description unit_code quantity price delivery_date]
14
14
  order_dest = mappings.select { |mapping| mapping[:level] == "order" }.map { |m| m[:destination] }
15
15
  item_dest = mappings.select { |mapping| mapping[:level] == "item" }.map { |m| m[:destination] }
16
16
  order_diff = order_fields - order_dest
@@ -1,5 +1,5 @@
1
1
  module Comee
2
2
  module Core
3
- VERSION = "0.2.29".freeze
3
+ VERSION = "0.2.30".freeze
4
4
  end
5
5
  end
@@ -8,8 +8,8 @@ FactoryBot.define do
8
8
  {source: "order_date", destination: "order_date", level: :order},
9
9
  {source: "delivery_address", destination: "delivery_address", level: :order},
10
10
  {source: "invoice_address", destination: "invoice_address", level: :order},
11
- {source: "product_code", destination: "product_code", level: :item},
12
- {source: "product_name", destination: "product_name", level: :item},
11
+ {source: "product_code", destination: "customer_item_no", level: :item},
12
+ {source: "product_name", destination: "customer_item_description", level: :item},
13
13
  {source: "unit_code", destination: "unit_code", level: :item},
14
14
  {source: "quantity", destination: "quantity", level: :item},
15
15
  {source: "price", destination: "price", level: :item},
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comee_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.29
4
+ version: 0.2.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -511,7 +511,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
511
511
  - !ruby/object:Gem::Version
512
512
  version: '0'
513
513
  requirements: []
514
- rubygems_version: 3.5.3
514
+ rubygems_version: 3.5.6
515
515
  signing_key:
516
516
  specification_version: 4
517
517
  summary: An engine for the COMee ERP.