gillbus 0.14.2 → 0.14.3
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 +1 -0
- data/test/responses/searchTrips-segments-roundtrip.xml +1 -0
- data/test/responses/searchTrips-segments.xml +1 -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: c1f9c1f664641532022e161da84efda95e922158
|
4
|
+
data.tar.gz: 766f12829e5cd9c73da4c68ae71dc37460cc07c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37cbb7cc1895c820d3ca9aced318b7c5fbb862e6e5b7a0473b7767f0a9360e310e6b7d188f4ee07f1a9bfc1657d285b397da52ad37619b88cb30e191a53a1df6
|
7
|
+
data.tar.gz: ac9a90945e9dabe5a62c0b483476a98a504c22c84549f8e9c588c4050fc617ef698bf8c7bb5bb1f28ed9197fd85593dd450b1c819f9d03ee94b2ce7bf0d941e0
|
data/lib/gillbus/structs/trip.rb
CHANGED
data/lib/gillbus/version.rb
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
<TRIP_MODE>1</TRIP_MODE>
|
34
34
|
<IMAGE_URL>null</IMAGE_URL>
|
35
35
|
<START_POINT_TYPE>null</START_POINT_TYPE>
|
36
|
+
<FAKE_TIME_IN_ROAD>true</FAKE_TIME_IN_ROAD>
|
36
37
|
<VEHICLE_DESCRIPTION>null</VEHICLE_DESCRIPTION>
|
37
38
|
<VEHICLE_FEATURES>null</VEHICLE_FEATURES>
|
38
39
|
<TOTAL_COST>1410.0</TOTAL_COST>
|
@@ -40,6 +40,7 @@
|
|
40
40
|
<SPECIAL_CONDITIONS/>
|
41
41
|
<IMAGE_URL>null</IMAGE_URL>
|
42
42
|
<START_POINT_TYPE>null</START_POINT_TYPE>
|
43
|
+
<FAKE_TIME_IN_ROAD>false</FAKE_TIME_IN_ROAD>
|
43
44
|
<VEHICLE_DESCRIPTION>null</VEHICLE_DESCRIPTION>
|
44
45
|
<VEHICLE_FEATURES>null</VEHICLE_FEATURES>
|
45
46
|
<TOTAL_COST>41295.89</TOTAL_COST>
|
data/test/search_trips_test.rb
CHANGED
@@ -79,6 +79,7 @@ class SearchTripsResponseTest < Minitest::Test
|
|
79
79
|
assert_equal Money.new(1410_00, "RUB"), response.trips.first.tariffs.first.cost
|
80
80
|
assert_equal 'Europe/Moscow', response.trips.first.start_timezone
|
81
81
|
assert_equal 'Europe/Moscow', response.trips.first.end_timezone
|
82
|
+
assert_equal true, response.trips.first.fake_time_in_road
|
82
83
|
end
|
83
84
|
|
84
85
|
def test_faking_response
|
@@ -96,6 +97,7 @@ class SearchTripsResponseTest < Minitest::Test
|
|
96
97
|
assert_equal 2, response.trips.size
|
97
98
|
assert_equal 'Europe/Kiev', response.trips.first.start_timezone
|
98
99
|
assert_equal 'Europe/Kiev', response.trips.first.end_timezone
|
100
|
+
assert_equal true, response.trips.first.fake_time_in_road
|
99
101
|
assert_equal 2, response.trips.first.segments.size
|
100
102
|
end
|
101
103
|
|
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.3
|
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-
|
12
|
+
date: 2017-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_xml
|