solidus-returnly 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 39b8fd033df27480e2d9fa681102ac02dd42b035
4
- data.tar.gz: 66880c0dfd5d329836092b2b26251c0587b2f5bf
3
+ metadata.gz: 56f2b7c03fb59b4fb1f229ca1c9824d957edc6a2
4
+ data.tar.gz: cf3b33c27bdd470a760543664fc4da4cec015fc6
5
5
  SHA512:
6
- metadata.gz: 76fd4732e016433c1cdbc4f6acc3cecd7aefb663e6e415a01d47561ee9eade30b226d5c9be57680f454f8947bd9ebd855671c3e9c122386bb98960e0077736b8
7
- data.tar.gz: 97956645e04018c59dbdb037d9d91de90454c323941d6909427bc98aa98b2c9a1604a7e88c66f37fe91689b5fe6a1f1d6f1d7fb0133fe25804d29082db48ecb1
6
+ metadata.gz: c71b20d2958ef1b9a2fe8fb6aaf681d6a0aa074b30da7a862e59b4c53e5d9171f4bb8798059d8ecdebd8af0358d526ccbf27801f38decfdde7130a8713b3f0a5
7
+ data.tar.gz: cec89b1f3fba2e61007df085ce75d18847a7d89f50d6fe58868c3ee10556483cb66f08466cd4e90b7dc1e52c9114606769478147f326bfa1505ab439201c06df
@@ -52,7 +52,7 @@ module Solidus
52
52
  def returnable_inventory_units
53
53
  @_inventory_units ||= order.inventory_units.includes(:line_item)
54
54
  .where(line_item_id: requested_line_items)
55
- .where('state is not "returned"')
55
+ .where('state != ?', 'returned')
56
56
  end
57
57
 
58
58
  def returnable_line_items
@@ -1,5 +1,5 @@
1
1
  module Solidus
2
2
  module Returnly
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus-returnly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Returnly Technologies, Inc