item_builder_mwh 0.1.35 → 0.1.36

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: e6e3082e38984413f2942fed08a34c618c7e339370ec2588d9ea77f10d87bd73
4
- data.tar.gz: f9fb2aaaac8d9f04fa96bf4789c36deace83b951a48dec0c5699120f583c4e0a
3
+ metadata.gz: 3044b951b57b920f3eea27b69237a999a8ce4528b12893658fb9c62f7814beab
4
+ data.tar.gz: 95108a90ba22977428d32d6bc27771574bbdf5767d46da4f3b9ec737c18f28b0
5
5
  SHA512:
6
- metadata.gz: 91b379fbfa791e74b353c47551c4b9ed2082a2134396298a189370fcbdb75f8be0dba771ba6bd52e1f95620ad9c3f7d47b18fd5d11cb0aba009f334f3d827612
7
- data.tar.gz: 227e620bcc4b847bdf0ffd3626e82192c0356d098585634a893fb5626b5b7a68ce5c550b27438d84927535fb5882699767a1659ab8059a53ca60f86d3821f3f8
6
+ metadata.gz: 3186f7dc5c8c923d5154a710dbb338892eb70d8c78e64599d094311455cb6e9e638c1af981300d4d1d4b4eccf71982c21a35c0c6a7bcd4a2e27cdaab7e1a7231
7
+ data.tar.gz: f8e0cd37864a1922ced00b119f4d132543187511dec8f3d0062a5616ea4ce2c871037a06e4b11fd2aa70d7a61b2f2c577c3bc92a19fc3f12cee036ce8a11bc78
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class ItemBuilderMwh
4
- VERSION = '0.1.35'
4
+ VERSION = '0.1.36'
5
5
  end
@@ -89,7 +89,7 @@ class ItemBuilderMwh
89
89
  def existing_alloc_stocks
90
90
  @existing_alloc_stocks ||= VariantListingStockAllocation.where(
91
91
  variant_association_id: vl_ids
92
- ).where('ADDTIME(end_at, "07:00") >= NOW()')
92
+ ).where('end_at >= NOW()')
93
93
  end
94
94
 
95
95
  def vl_ids
@@ -155,9 +155,7 @@ class ItemBuilderMwh
155
155
  end
156
156
 
157
157
  def lazada_quantity
158
- @lazada_quantity ||= ItemBuilderMwh::LazadaQuantityService.new(
159
- listings: listings, skus: skus
160
- ).perform
158
+ @lazada_quantity ||= nil
161
159
  end
162
160
 
163
161
  def order_host
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: item_builder_mwh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Ivander
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2021-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler