e_plat 1.0.0.pre.rc.1 → 1.0.0.pre.rc.3

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: d531510e597dfd91db43836cb0ca14b43e25a8a0ccc5a600fff5ba78ffd4d8dd
4
- data.tar.gz: b9ea3309d8155184540da4a0eeb0d8a265084ed03d3665e3249b5c220d5c443f
3
+ metadata.gz: e4536b6c98d19d158d7cd4a7da8bc723b7fefab2213a76dd8bd88217d8ad8f30
4
+ data.tar.gz: 13391e3f683ac05378723564b58d72dcc5016b61b38cef9ab44d42b44319ab7d
5
5
  SHA512:
6
- metadata.gz: 474b277d811d3e4785270a55abc99aa02be610089f90b0c2cd32b6097262815aa0ed675aac797bcb33829bbea1154fbbe060b745d6c4d9e062a15e9cd73e3ab4
7
- data.tar.gz: 909e0c7d97acdf2afc68244f9fbeb7ec7d652a2b1114810c21b19052d64d250d0a256472c3b6ec88f7faa57babad1651c32a99fab47d8d6e155bc2ce538bc3ec
6
+ metadata.gz: d7e5382b733e1ad0561d10c560b9bc49f6ff2de2bf9156d92869d5769288943de63d34a0ce6ee1023c3f4abc9a040bbe11d07cf355431dd444f0208f4fe4edb3
7
+ data.tar.gz: 7444dd3afecfa2d1012ff29024855715afbb062bf9713d865f98891009b31a90bd8ef4a9156378c9ec2c6f55f1bececb1af2d07d7df0575aa28f602a535763aa
data/README.md CHANGED
@@ -467,6 +467,7 @@ helper methods: <br>
467
467
  | product_id | integer | * | order[consignments][0][shipping][0][line_items][#{i}][product_id] | nil |
468
468
  | properties | array | * | nil | nil |
469
469
  | quantity | integer | * | order[consignments][0][shipping][0][line_items][#{i}][quantity] | nil |
470
+ | current_quantity | integer | * | order[consignments][0][shipping][0][line_items][#{i}][quantity] | nil |
470
471
  | requires_shipping | boolean | * | nil | nil |
471
472
  | sku | string | * | order[consignments][0][shipping][0][line_items][#{i}][sku] | nil |
472
473
  | taxable | boolean | * | nil | nil |
@@ -70,6 +70,13 @@ module EPlat
70
70
  virtual_collection: true
71
71
  }
72
72
  },
73
+ {
74
+ alias_attribute: {
75
+ native_key: "[consignments][0][shipping][0][line_items][#{i}][quantity]",
76
+ e_plat_key: "current_quantity",
77
+ virtual_collection: true
78
+ }
79
+ },
73
80
  {
74
81
  alias_attribute: {
75
82
  native_key: "[consignments][0][shipping][0][line_items][#{i}][sku]",
@@ -18,6 +18,7 @@ module EPlat
18
18
  integer :product_id
19
19
  array :properties
20
20
  integer :quantity
21
+ integer :current_quantity
21
22
  boolean :requires_shipping
22
23
  string :sku
23
24
  boolean :taxable
@@ -1,3 +1,3 @@
1
1
  module EPlat
2
- VERSION = "1.0.0-rc.1"
2
+ VERSION = "1.0.0-rc.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e_plat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc.1
4
+ version: 1.0.0.pre.rc.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - oliwoodsuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-17 00:00:00.000000000 Z
11
+ date: 2025-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -34,9 +34,6 @@ dependencies:
34
34
  name: rails
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '7.0'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: '7.0'
@@ -44,9 +41,6 @@ dependencies:
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '7.0'
50
44
  - - ">="
51
45
  - !ruby/object:Gem::Version
52
46
  version: '7.0'
@@ -230,26 +224,6 @@ dependencies:
230
224
  - - ">="
231
225
  - !ruby/object:Gem::Version
232
226
  version: '2'
233
- - !ruby/object:Gem::Dependency
234
- name: ruby-lsp
235
- requirement: !ruby/object:Gem::Requirement
236
- requirements:
237
- - - "~>"
238
- - !ruby/object:Gem::Version
239
- version: '0.16'
240
- - - ">="
241
- - !ruby/object:Gem::Version
242
- version: 0.1.0
243
- type: :development
244
- prerelease: false
245
- version_requirements: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '0.16'
250
- - - ">="
251
- - !ruby/object:Gem::Version
252
- version: 0.1.0
253
227
  description:
254
228
  email:
255
229
  - 55204545+oliwoodsuk@users.noreply.github.com
@@ -432,11 +406,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
432
406
  version: 3.0.0
433
407
  required_rubygems_version: !ruby/object:Gem::Requirement
434
408
  requirements:
435
- - - ">"
409
+ - - ">="
436
410
  - !ruby/object:Gem::Version
437
- version: 1.3.1
411
+ version: '0'
438
412
  requirements: []
439
- rubygems_version: 3.4.1
413
+ rubygems_version: 3.5.16
440
414
  signing_key:
441
415
  specification_version: 4
442
416
  summary: Creates a single interface for integrating with ecommerce platform APIs.