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: cbbaada6a472a496a5b69bbb69766ec066f910d2
4
- data.tar.gz: 59e53c151ece271fbae835edb3b9c90f80175f2e
3
+ metadata.gz: 62e93111fec7e3b2edd4597f19eda832a993bfb7
4
+ data.tar.gz: 2b2937db55aeb22269f3849aca4505897409fb76
5
5
  SHA512:
6
- metadata.gz: eaafb1d33f2dfbe6f772f4d6a7d693b2de6483c976a0ed5c68c2d8de1a3ad68f533d721f29878e243c324f5141bfaa83e731a7409f5f106ee3f7322491828b5a
7
- data.tar.gz: 11fc37df574bed803a88ced09763997059c53999cd78c49d5fad16c979362e2fdcc251d679fcae916828754e5de64bd16a4e3683b2cde9d4e1aa1eca25a33ee4
6
+ metadata.gz: 5103a9202ae98cc68f78b8c0637edeb6a60334c116d536662b2bc19987e24f887d5273283415a8a4c9324e1e22464b567fddee445c7e9e74be9fe20ddcc12a41
7
+ data.tar.gz: d4e161d8f716f1382ff1ac796a8adb311c98bff4e2738962af3ab2dad29510e9593f6bc74dfbd1ffa4cfb76b610797e21869d1a33cafa8bdeb9528df2eb380f8
@@ -1,3 +1,3 @@
1
1
  module B2bCenterApi
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -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.8
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-06-26 00:00:00.000000000 Z
11
+ date: 2015-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler