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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fc2d0a6fc46d985a71dafd7801b6bc03e768c7182d453f81422c5cf3d5c80b6
4
- data.tar.gz: acae27faa875b5601fb1fb968aa434b665aed5bbe0ccd5771dbfc228c1818270
3
+ metadata.gz: 521370dfeff9958e9e0010280b662abf19bd03475e34b11bba88e200242d16d9
4
+ data.tar.gz: 86da4e95d9b3fba8365f9d51e22f3fb391bd59fa78f43885d1ecdd631823bbb1
5
5
  SHA512:
6
- metadata.gz: 3dd700c19ffdaf86e7ee79f9762edd813fcb28fd3a4db6f360b5750b1ccc6b4b71e0e9cc12c1532fbac139b215b7a444985bd98f7601600bf0951277e60e679e
7
- data.tar.gz: 3d43308dd44ef11699f7ed7111867e8e9ee7d1d0aaa9f746f5c998ca45b803f4218b8937bac99dac1f8ca4c971daf1c28597b8779e08b490e51b17875f85da61
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = '0.22.4'.freeze
2
+ VERSION = '0.22.8'.freeze
3
3
  end
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
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: 2020-07-22 00:00:00.000000000 Z
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.1.2
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: