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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf5a2a77f951b704d1e1a58d18a83403bede97439aed4f6474a4a2207787e4b7
|
4
|
+
data.tar.gz: a7fda80c9b56559e26eb47ca2fd1964e7f2fd91e5ce1d2af06227cb15a6ba8d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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[
|
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
|
data/lib/comee/core/version.rb
CHANGED
@@ -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: "
|
12
|
-
{source: "product_name", destination: "
|
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.
|
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-
|
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.
|
514
|
+
rubygems_version: 3.5.6
|
515
515
|
signing_key:
|
516
516
|
specification_version: 4
|
517
517
|
summary: An engine for the COMee ERP.
|