gillbus 0.15.6 → 0.15.7

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: f8248d6b3eb42e3af2d09664b17ab58998b79250
4
- data.tar.gz: bc4641a7b1f6f2e9a678035e89c8a1e7a9ff675e
3
+ metadata.gz: 987e0c139eb7d412f86b57ab7f5fb852e13357c9
4
+ data.tar.gz: 2fe58e2274bc45fd9f311226a6036d952d51c283
5
5
  SHA512:
6
- metadata.gz: 7213e64c6373f9c60325cb0e79e673fcb9da937741f187408ff82905902d5d4f2ccbd3e32482b363f8fb48b1e5e1a46312bbf1308dc06fad3cf600cf0497d9d2
7
- data.tar.gz: b649268f25492d305e0269f3dfc948a54964e51af2037023895fed3b868c8a759dadba5b7c8523d6f410d9ab31bc1cab4adaf4018b442a6ae410ad92e35e6d47
6
+ metadata.gz: a44c7deb6a42d6e1d54a6b3d46ee31d28a2c925864dddcc3da3dbbc5ccc33070948f8b0ad1ee51973dc118edcd990ed15ccb2dc946ea6ada480226fd0e201bdc
7
+ data.tar.gz: 563f28480613d33b3bf2dce7a6bd2898ff344ee67e0ca014a72bf91d03363549f53d5e508993de660da7db403b4d7c4a451d5ed65b77a43ae72f3071a2ad80f6
@@ -121,6 +121,10 @@ class Gillbus
121
121
  # => 0.0
122
122
  field :foreign_tariff_vat, :decimal
123
123
 
124
+ # The VAT rate
125
+ # => 0.0
126
+ field :vat_value
127
+
124
128
  field :note
125
129
 
126
130
  # Ticket barcode
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = "0.15.6"
2
+ VERSION = "0.15.7"
3
3
  end
@@ -25,4 +25,8 @@ class FindOrderTest < Minitest::Test
25
25
  def test_comission_vat_value
26
26
  assert_equal("18", find_order.tickets.last.commissions.first.vat_value)
27
27
  end
28
+
29
+ def test_vat_value
30
+ assert_equal("0", find_order.tickets.first.vat_value)
31
+ end
28
32
  end
@@ -36,6 +36,7 @@
36
36
  <TYPE_TARIFF_DESCRIPTION>Базовый тариф стоимости проезда одного пассажира в одном направлении.</TYPE_TARIFF_DESCRIPTION>
37
37
  <TARIFF>0.31</TARIFF>
38
38
  <TARIFF_VAT>0.09</TARIFF_VAT>
39
+ <VAT_VALUE>0</VAT_VALUE>
39
40
  <FOREIGN_TARIFF>0</FOREIGN_TARIFF>
40
41
  <FOREIGN_TARIFF_VAT>0</FOREIGN_TARIFF_VAT>
41
42
  <NOTE/>
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.6
4
+ version: 0.15.7
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-04 00:00:00.000000000 Z
12
+ date: 2017-10-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_xml