b2b_center_api 0.0.8 → 0.0.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62e93111fec7e3b2edd4597f19eda832a993bfb7
|
4
|
+
data.tar.gz: 2b2937db55aeb22269f3849aca4505897409fb76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5103a9202ae98cc68f78b8c0637edeb6a60334c116d536662b2bc19987e24f887d5273283415a8a4c9324e1e22464b567fddee445c7e9e74be9fe20ddcc12a41
|
7
|
+
data.tar.gz: d4e161d8f716f1382ff1ac796a8adb311c98bff4e2738962af3ab2dad29510e9593f6bc74dfbd1ffa4cfb76b610797e21869d1a33cafa8bdeb9528df2eb380f8
|
@@ -27,7 +27,7 @@ module B2bCenterApi
|
|
27
27
|
t.firm_id = firm_id
|
28
28
|
t.offer_num = offer_num
|
29
29
|
t.files = B2bFile.from_part_response(r[:offer])
|
30
|
-
t.lots = r[:lots].map(&:to_i) unless r[:lots].nil?
|
30
|
+
t.lots = Array(r[:lots]).map(&:to_i) unless r[:lots].nil?
|
31
31
|
t.haggling_file_name = convert(r[:haggling_file_name], :string)
|
32
32
|
t
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: b2b_center_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Archakov Aleksandr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|