torg_api 0.1.6 → 0.1.7

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: 86ff4ccf42cc49c7cfb59556dfec12bae7e2e927
4
- data.tar.gz: 3cc2c89b8528b45fd9b6e5d1262c0eb0934356a9
3
+ metadata.gz: b95400703bbb45027bfafd5adcce7dd7132b3e6f
4
+ data.tar.gz: 0fa77e3155468d5639379460d25f89ecdcad9275
5
5
  SHA512:
6
- metadata.gz: 72e4392aa84e199b96388c45372beaf952a24a8447ab038dc8d5d27e24ed19178a20efb0af11e428083334997ee95e1c0f989b6900e9aa6f11081ab415ef84b6
7
- data.tar.gz: 8de71d1d0523f1e8fe3fa258661b66601a48cc9189c8cfb5c09d9d9e4df1c7b2360bb3ea706b09c7b4e449079fa427fa6340574a445f161775153a75d210554d
6
+ metadata.gz: eb9dcd9671089535a4fe3b8d45a3e89144ce55f929f9fc41b3e10d2867d1d26e8dad20ace750cc2541370f0876d043187de78ef54556aa9df6bc3a93c442819c
7
+ data.tar.gz: f91537aa4d463900f7a3816f22233f3300afafe7c016b3ca336af32d1aabf01dfea74fbebffc0177e366038e5901c5a92b573de12a2986b450885ad1b5b14042
@@ -1,3 +1,4 @@
1
+
1
2
  module TorgApi
2
3
  module Api
3
4
  # Оферта участника
@@ -66,7 +67,8 @@ module TorgApi
66
67
  offer = responce.select { |value|
67
68
  value[:lot_id] == lot_id &&
68
69
  value[:num] == offer_num &&
69
- value[:offer_specifications][0][:offer_specification][:specification_id] == spec_id
70
+ value[:version] == 0 &&
71
+ value[:offer_specifications][0][:specification_id] == spec_id
70
72
  }
71
73
  offer
72
74
  end
@@ -1,3 +1,3 @@
1
1
  module TorgApi
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torg_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Archakov Aleksandr