gillbus 0.14.4 → 0.14.5
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/trip.rb +3 -0
- data/lib/gillbus/version.rb +1 -1
- data/test/responses/searchTrips-prod.xml +2 -0
- data/test/search_trips_test.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 477f589faa3b040818030d6f3f18ce44a9e78c45
|
4
|
+
data.tar.gz: 0f686c0c0794600d649f8013b5d7d7646490a34a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88984592039ffe39b0c92ef7d1c8c12f08c505916de5804757ef3d2927b401cf46505196c6d6d1c34180ce92dbe2cb816b6ec8ed296292851b7627bca5126391
|
7
|
+
data.tar.gz: e17e6896cba174b9dd0b39aafc2d046de11c21fe46879138690c9d8be1df6ee28a5573bca459a0c7aec6a4208f8a33d1544a202211ee8731d809038c0b5a4cfb
|
data/lib/gillbus/structs/trip.rb
CHANGED
data/lib/gillbus/version.rb
CHANGED
@@ -35,6 +35,7 @@
|
|
35
35
|
<START_POINT_TYPE>null</START_POINT_TYPE>
|
36
36
|
<FAKE_TIME_IN_ROAD>true</FAKE_TIME_IN_ROAD>
|
37
37
|
<VEHICLE_DESCRIPTION>null</VEHICLE_DESCRIPTION>
|
38
|
+
<RECOMMENDED>true</RECOMMENDED>
|
38
39
|
<VEHICLE_FEATURES>null</VEHICLE_FEATURES>
|
39
40
|
<TOTAL_COST>1410.0</TOTAL_COST>
|
40
41
|
<CURRENCY>RUB</CURRENCY>
|
@@ -130,6 +131,7 @@
|
|
130
131
|
<CAN_DISCOUNT>true</CAN_DISCOUNT>
|
131
132
|
<INTERNATIONAL>false</INTERNATIONAL>
|
132
133
|
<JOIN_BOOK_BUY>false</JOIN_BOOK_BUY>
|
134
|
+
<RECOMMENDED>false</RECOMMENDED>
|
133
135
|
<TRIP_MODE>1</TRIP_MODE>
|
134
136
|
<IMAGE_URL>null</IMAGE_URL>
|
135
137
|
<START_POINT_TYPE>null</START_POINT_TYPE>
|
data/test/search_trips_test.rb
CHANGED
@@ -81,6 +81,8 @@ class SearchTripsResponseTest < Minitest::Test
|
|
81
81
|
assert_equal 'Europe/Moscow', response.trips.first.end_timezone
|
82
82
|
assert_equal true, response.trips.first.fake_time_in_road
|
83
83
|
assert_equal ['Кофе', 'Wi-Fi'], response.trips.first.options
|
84
|
+
assert_equal false, response.trips[1].recommended
|
85
|
+
assert_equal true, response.trips.first.recommended
|
84
86
|
end
|
85
87
|
|
86
88
|
def test_faking_response
|
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.14.
|
4
|
+
version: 0.14.5
|
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-05-
|
12
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_xml
|