gillbus 0.22.4 → 0.22.8
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/segment.rb +12 -0
- data/lib/gillbus/structs/trip.rb +12 -0
- data/lib/gillbus/tickets_booking.rb +2 -0
- data/lib/gillbus/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 521370dfeff9958e9e0010280b662abf19bd03475e34b11bba88e200242d16d9
|
4
|
+
data.tar.gz: 86da4e95d9b3fba8365f9d51e22f3fb391bd59fa78f43885d1ecdd631823bbb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 828722af1e43fd899886cee68303f3dece0b158b14261a724a756205ca85b31c84b4b952bcdf63728e91cd5e842ba7d5bd323066cb9b340f3be9c3a60e551c85
|
7
|
+
data.tar.gz: 5137b1cec581400dfb87d93828e59742278eb224f695d5ab8f957d435838f362e2c74d6f2f1baf3c01a371bcddbaa866158b4261b47f37b3fbdbc5b46b9e1635
|
@@ -82,6 +82,9 @@ class Gillbus
|
|
82
82
|
# => "316265100057314"
|
83
83
|
field :carrier_egrul_egis
|
84
84
|
|
85
|
+
# => "2514411332"
|
86
|
+
field :carrier_ogrn
|
87
|
+
|
85
88
|
# => "09:10"
|
86
89
|
field :time_in_road, :time
|
87
90
|
|
@@ -145,6 +148,15 @@ class Gillbus
|
|
145
148
|
# => "1100"
|
146
149
|
field :total_cost, :money
|
147
150
|
|
151
|
+
# => "1300"
|
152
|
+
field :original_amount, :money
|
153
|
+
|
154
|
+
# => "200"
|
155
|
+
field :discount_value, :money
|
156
|
+
|
157
|
+
# => "13.57"
|
158
|
+
field :discount_percentage
|
159
|
+
|
148
160
|
# => "RUB"
|
149
161
|
field :currency
|
150
162
|
|
data/lib/gillbus/structs/trip.rb
CHANGED
@@ -86,6 +86,9 @@ class Gillbus
|
|
86
86
|
# => "316265100057314"
|
87
87
|
field :carrier_egrul_egis
|
88
88
|
|
89
|
+
# => "2514411332"
|
90
|
+
field :carrier_ogrn
|
91
|
+
|
89
92
|
# => "09:10"
|
90
93
|
field :time_in_road, :time
|
91
94
|
|
@@ -158,6 +161,15 @@ class Gillbus
|
|
158
161
|
# => "1100"
|
159
162
|
field :total_cost, :money
|
160
163
|
|
164
|
+
# => "1300"
|
165
|
+
field :original_amount, :money
|
166
|
+
|
167
|
+
# => "200"
|
168
|
+
field :discount_value, :money
|
169
|
+
|
170
|
+
# => "13.57"
|
171
|
+
field :discount_percentage
|
172
|
+
|
161
173
|
# => "false"
|
162
174
|
field :fake_time_in_road, :bool
|
163
175
|
|
@@ -137,6 +137,7 @@ class Gillbus
|
|
137
137
|
# :seaman_passport 6 - паспорт моряка
|
138
138
|
# :birth_certificate 7 - свидетельство о рождении
|
139
139
|
# :ussr_passport 8 - паспорт формы СССР
|
140
|
+
# :tax_id 9 - CPF для WL Бразилии
|
140
141
|
attr_accessor :document_type
|
141
142
|
|
142
143
|
# passenger0passport... passengerNpassport (обязательный для авиаперевозки)
|
@@ -212,6 +213,7 @@ class Gillbus
|
|
212
213
|
seaman_passport: 6,
|
213
214
|
birth_certificate: 7,
|
214
215
|
ussr_passport: 8,
|
216
|
+
tax_id: 9,
|
215
217
|
}[value.try(:to_sym)]
|
216
218
|
end
|
217
219
|
end
|
data/lib/gillbus/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gillbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey "codesnik" Trofimenko
|
8
8
|
- Kirill Platonov
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-08-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: 0.51.0
|
154
|
-
description:
|
154
|
+
description:
|
155
155
|
email:
|
156
156
|
- aronaxis@gmail.com
|
157
157
|
- mail@kirillplatonov.com
|
@@ -299,7 +299,7 @@ homepage: http://gillbus.com/
|
|
299
299
|
licenses:
|
300
300
|
- MIT
|
301
301
|
metadata: {}
|
302
|
-
post_install_message:
|
302
|
+
post_install_message:
|
303
303
|
rdoc_options: []
|
304
304
|
require_paths:
|
305
305
|
- lib
|
@@ -314,8 +314,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
314
314
|
- !ruby/object:Gem::Version
|
315
315
|
version: '0'
|
316
316
|
requirements: []
|
317
|
-
rubygems_version: 3.
|
318
|
-
signing_key:
|
317
|
+
rubygems_version: 3.0.3
|
318
|
+
signing_key:
|
319
319
|
specification_version: 4
|
320
320
|
summary: Driver for Gillbus IDS API
|
321
321
|
test_files:
|