rawgento_db 0.2.4 → 0.2.5

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
  SHA1:
3
- metadata.gz: a17786844559ddc64883e7f4f9f5e03bd8da4f7c
4
- data.tar.gz: 86953338a4ee2fee2305e797f8fe189e2a105636
3
+ metadata.gz: f995b7425325b490d4eb72b7c265c646fe656e3b
4
+ data.tar.gz: a16433bc22a446e68bab2b844a1ceab674b87ca2
5
5
  SHA512:
6
- metadata.gz: f32172387b5f072a38f40684eece3656cf199885bdd54c8366d749993b14e72bec0013b29d388ce81cbd5b3a180602eac5e36c7c2f7bc81997cd2489c2f3328f
7
- data.tar.gz: 9663c1b3b0f64d72962a2251653a2f11326168e1562dfd98d81fa84558d8d1c791752c5d5e77190d5d5d31c1008fa4209e1f7ecbf343c4aac1a7634bbc690f20
6
+ metadata.gz: 1aea8c9993095b4bd600c11f3bf14d5aaa8433c66e93d4d6b761199d289ca6cf05c05ce7e4231836890130f6fc272c7ea6dc59bf00b8fd1c3ad3d95dcfae34b6
7
+ data.tar.gz: df1613dd026c18a6ed07d0e08a777e64b462b5eb9fd946fb897fd5ee9ea62eb55c1ec1cbf8e31f2c694e9927774abb4e9b01b954fb385f691c95d14f48d943a1
@@ -31,7 +31,7 @@ module RawgentoDB
31
31
  results = client(settings).query(
32
32
  "SELECT product_id, qty, notify_stock_qty "\
33
33
  "FROM cataloginventory_stock_item "\
34
- "WHERE notify_stock_qty > qty;")
34
+ "WHERE notify_stock_qty > qty OR notify_stock_qty IS NULL;")
35
35
  results.map do |row|
36
36
  [row['product_id'], row['name'],
37
37
  row['notify_stock_qty'], row['qty']]
@@ -1,3 +1,3 @@
1
1
  module RawgentoDB
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rawgento_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Wolfsteller
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-22 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rawgento_models