xsys 0.18 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/xsys/api.rb +5 -1
- data/lib/xsys/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: def1870a666b2a83b6b8a0c5ef8dcccf3fba337f
|
4
|
+
data.tar.gz: 361cf3a74092b62c080df7fd5c7c4816dcad6a14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc5398a7c8014aa0a27898c0d2581f124cf4bc603d355dfa7c69f4bfb88d207d9d87f85a826099854f5267fdb51ba51a1008287dda67a480cb265b8222d5e1f9
|
7
|
+
data.tar.gz: 980da7aafdafe5321f882c4ea33dd52be136321a931ad434aac74552ebc6825402cecace210b5d5c3327c6298cde28eedec2cb4d34338a1709428a9ac04576af
|
data/CHANGELOG.md
CHANGED
data/lib/xsys/api.rb
CHANGED
@@ -157,7 +157,11 @@ module Xsys
|
|
157
157
|
response = post_request('/stock_reserves', attrs)
|
158
158
|
|
159
159
|
if response[:status_code] == 200
|
160
|
-
|
160
|
+
if response[:body] == 'null'
|
161
|
+
false
|
162
|
+
else
|
163
|
+
Model::StockReserve.new(response[:body])
|
164
|
+
end
|
161
165
|
else
|
162
166
|
false
|
163
167
|
end
|
data/lib/xsys/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xsys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|