rawgento_db 0.2.1 → 0.2.2

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: 87e6754345222fe3b02dfbd3b731100e390ffcab
4
- data.tar.gz: cb4b3f40f287bb30715358a1b98e525adb5f5072
3
+ metadata.gz: 073908a56050732610c441d52960bd179f77c1a8
4
+ data.tar.gz: be709d25495f35be48031cdabce676cfbf86e6de
5
5
  SHA512:
6
- metadata.gz: 2ee470c82d5aaf074a9c916af2a5a562bb184dca48fe4a34eb5dc00aa7d72c228c30aee8071042301f6ad3ac0b1f1c5af2a8fa36105e3920a0ad921acc84fdaa
7
- data.tar.gz: 199ac5db1a4a4e730ec93883e978b986be38fbab3fed8f18fbc34ae2660cb96aa373410d2e7542805dd0be629d7dee4fb56602a9826afca126c46504e0dd8010
6
+ metadata.gz: 43130d83d1f8aa1d42835d2fbf5f610ebe2476af0c63d743bc585c34efe3d77abb17834eccf25900eac4c80cc673ed4a8f835450ce62178af24bacf6c2dad2d6
7
+ data.tar.gz: 9fd2ec49f9b16eb4794120d18297ff02cdfe91d84a11299364f69930e2ab311a48e0b6e128a4f1c151ad263bd66ed8a71720724aef8bd55e3be4d3fed7578472
@@ -41,7 +41,7 @@ module RawgentoDB
41
41
  def self.update_stock product_id, stock_addition, settings=RawgentoDB.settings
42
42
  results = client(settings).query(
43
43
  "UPDATE cataloginventory_stock_item SET qty = qty + %f "\
44
- "WHERE product_id = %d", [stock_addition, product_id])
44
+ "WHERE product_id = %d" % [stock_addition, product_id])
45
45
  end
46
46
 
47
47
  def self.set_available_on_stock product_id, settings=RawgentoDB.settings
@@ -1,3 +1,3 @@
1
1
  module RawgentoDB
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.1
4
+ version: 0.2.2
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-10 00:00:00.000000000 Z
11
+ date: 2016-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rawgento_models