e_plat 0.9.5 → 0.9.7

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: be649894d10289f2e819cf9ceae86f35234e552b6c457ba3e356ec064d70a3bd
4
- data.tar.gz: 8dbb27b6fa5d3467db671b327363556042cf5c8752299a09543a036347ad3b3d
3
+ metadata.gz: fe14d9cdc689dc86a194c7e414d951f354a6ae56887d22824e34e6061dd5cf0c
4
+ data.tar.gz: e3d0c8b3fe528135903e4ca2ab5c11e673ad4c694650f645884c8829eaacb506
5
5
  SHA512:
6
- metadata.gz: 151af389bf7b8afa5fa8ba9c838904f3ca9af0f03811fb1da7cfdb50a0115253ae25a19fb157042a58cc61bc2ece75c07d0aabb5d435002b5a20389751a1bdbe
7
- data.tar.gz: 04b97b60a1ea1b42f839c00f413431b934ec6697c4ee1652bc502c2f83da2ad520b52d9e3b98c8dda1c8b754a8c7b2b242cce3ba9f2d4f2295680c4b1e7fc80b
6
+ metadata.gz: 1649fe90b953fca03adf633cb07605e30b8f2909ea55024763ca6e93341573a006b6deff7ed919580d39761b0016f669aec4590f075c4f3402134ddbe557efdd
7
+ data.tar.gz: 7b34e5a90be548d499c99cb5a940448ad947c54f82c4c48958b1c89d82ead66c6192d68ce5e5a6d7c61f34d0d89726802c5f923c497321f774d0fb89188f487f
@@ -10,7 +10,7 @@ module EPlat
10
10
  {}
11
11
  when :bigcommerce
12
12
  {
13
- "include" => "variants,images,options"
13
+ "include" => "variants,images,options,custom_fields"
14
14
  }
15
15
  when :woocommerce
16
16
  {}
@@ -147,10 +147,8 @@ module EPlat
147
147
  "gid://shopify/ProductVariant/#{id}"
148
148
  when "image"
149
149
  "gid://shopify/ProductImage/#{id}"
150
- when "order"
151
- "gid://shopify/Order/#{id}"
152
150
  else
153
- raise EPlat::Errors.new("Unsupported element name")
151
+ id
154
152
  end
155
153
  end
156
154
 
@@ -203,10 +203,8 @@ module EPlat
203
203
  "gid://shopify/ProductVariant/#{id}"
204
204
  when "image"
205
205
  "gid://shopify/ProductImage/#{id}"
206
- when "order"
207
- "gid://shopify/Order/#{id}"
208
206
  else
209
- raise EPlat::Errors.new("Unsupported element name")
207
+ id
210
208
  end
211
209
  end
212
210
 
@@ -1,3 +1,3 @@
1
1
  module EPlat
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.7"
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: 0.9.5
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - oliwoodsuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-26 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler