eport 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/eport.rb +2 -1
- metadata +3 -3
data/lib/eport.rb
CHANGED
@@ -56,7 +56,8 @@ class Eport
|
|
56
56
|
end
|
57
57
|
|
58
58
|
ic = Iconv.new('UTF-8', 'WINDOWS-1251')
|
59
|
-
ic.iconv(req.confirm)
|
59
|
+
res = ic.iconv(req.confirm).split("RESULT\r\n")[1..-1].collect{|o| Hash[o.split("\r\n").collect{|o| o.split("=")}].symbolize_keys}
|
60
|
+
res.inject({}){|h,o| h = o if o[:id] == operation_id.to_s ;h}
|
60
61
|
end
|
61
62
|
|
62
63
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alexander Lomakin, Dmitry Andreev
|
@@ -14,7 +14,7 @@ autorequire: eport
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-14 00:00:00 +04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|