gillbus 0.15.5 → 0.15.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gillbus/structs/commission.rb +3 -0
- data/lib/gillbus/version.rb +1 -1
- data/test/find_order_test.rb +4 -0
- data/test/responses/findOrder.xml +3 -0
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8248d6b3eb42e3af2d09664b17ab58998b79250
|
4
|
+
data.tar.gz: bc4641a7b1f6f2e9a678035e89c8a1e7a9ff675e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7213e64c6373f9c60325cb0e79e673fcb9da937741f187408ff82905902d5d4f2ccbd3e32482b363f8fb48b1e5e1a46312bbf1308dc06fad3cf600cf0497d9d2
|
7
|
+
data.tar.gz: b649268f25492d305e0269f3dfc948a54964e51af2037023895fed3b868c8a759dadba5b7c8523d6f410d9ab31bc1cab4adaf4018b442a6ae410ad92e35e6d47
|
data/lib/gillbus/version.rb
CHANGED
data/test/find_order_test.rb
CHANGED
@@ -21,4 +21,8 @@ class FindOrderTest < Minitest::Test
|
|
21
21
|
def test_return_causes
|
22
22
|
assert_equal(Money.new(20_38, 'UAH'), find_order.tickets.first.return_causes.first.approximate_amount)
|
23
23
|
end
|
24
|
+
|
25
|
+
def test_comission_vat_value
|
26
|
+
assert_equal("18", find_order.tickets.last.commissions.first.vat_value)
|
27
|
+
end
|
24
28
|
end
|
@@ -265,6 +265,7 @@
|
|
265
265
|
<DESCRIPTION>Страховой сбор</DESCRIPTION>
|
266
266
|
<VALUE>0.06</VALUE>
|
267
267
|
<VAT>0.01</VAT>
|
268
|
+
<VAT_VALUE>18</VAT_VALUE>
|
268
269
|
<CURRENCY>UAH</CURRENCY>
|
269
270
|
<RATE>0</RATE>
|
270
271
|
<VALUE_IN_CURRENCY>0.05</VALUE_IN_CURRENCY>
|
@@ -276,6 +277,7 @@
|
|
276
277
|
<DESCRIPTION>Сервисный сбор</DESCRIPTION>
|
277
278
|
<VALUE>20</VALUE>
|
278
279
|
<VAT>3.33</VAT>
|
280
|
+
<VAT_VALUE>0</VAT_VALUE>
|
279
281
|
<CURRENCY>UAH</CURRENCY>
|
280
282
|
<RATE>0</RATE>
|
281
283
|
<VALUE_IN_CURRENCY>16.67</VALUE_IN_CURRENCY>
|
@@ -287,6 +289,7 @@
|
|
287
289
|
<DESCRIPTION>Сумма других сборов</DESCRIPTION>
|
288
290
|
<VALUE>0.06</VALUE>
|
289
291
|
<VAT>0.01</VAT>
|
292
|
+
<VAT_VALUE>0</VAT_VALUE>
|
290
293
|
<CURRENCY>UAH</CURRENCY>
|
291
294
|
<RATE>0</RATE>
|
292
295
|
<VALUE_IN_CURRENCY>0.05</VALUE_IN_CURRENCY>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gillbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey "codesnik" Trofimenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_xml
|
@@ -312,4 +312,3 @@ test_files:
|
|
312
312
|
- test/session_login_test.rb
|
313
313
|
- test/test_helper.rb
|
314
314
|
- test/tickets_booking_test.rb
|
315
|
-
has_rdoc:
|