sk_api_schema 0.9.1 → 0.9.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.
data/CHANGELOG.md CHANGED
@@ -5,6 +5,8 @@ Also sign up to our [Developer Newsletter](http://www.salesking.eu/dev/newslette
5
5
 
6
6
  ##2014-01
7
7
 
8
+ * line_item price_single is required,
9
+ * line item empty tax,discount now return null instead of 0
8
10
  * filter documents by products (product_ids)
9
11
 
10
12
  ##2013-12
@@ -37,8 +37,9 @@
37
37
  "format": "text"
38
38
  },
39
39
  "price_single":{
40
- "description": "Net price of a single item",
41
- "type":"number"
40
+ "description": "Net price of a single item. If a product id is given, price_single is taken from the product if not set.",
41
+ "type":"number",
42
+ "required" : true
42
43
  },
43
44
  "cost":{
44
45
  "description": "Cost price for a single item. Used to calculate the gross margin",
@@ -1,7 +1,7 @@
1
1
  module SK
2
2
  module Api
3
3
  class Schema
4
- VERSION='0.9.1'
4
+ VERSION='0.9.2'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sk_api_schema
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 63
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 1
10
- version: 0.9.1
9
+ - 2
10
+ version: 0.9.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Leciejewski