gillbus 0.15.0 → 0.15.1
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 +5 -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: fe1263fe8ca9c9ba681c5bc5d3428f7b947f5cde
|
4
|
+
data.tar.gz: 7ac7b91b7e0c208a80861df9c2946649e43a9fb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47291475c2d0d198eafe999ed1f52d288ccab922865416cbe0689db930897dfd6f72d9ebf99617c67d15033c73543e2d5ac8c4864351acf3962fbb7f164b1f38
|
7
|
+
data.tar.gz: 50c2e2b0ab1908350a28db529df81d133a7dcd004d8cdff9df6bea17a574432e043b098337cb53fc9746dfbc9f9867b8535d0506210e37ec39ac00c772bd86c4
|
data/lib/gillbus/structs/trip.rb
CHANGED
data/lib/gillbus/version.rb
CHANGED
@@ -31,6 +31,7 @@
|
|
31
31
|
<INTERNATIONAL>false</INTERNATIONAL>
|
32
32
|
<JOIN_BOOK_BUY>false</JOIN_BOOK_BUY>
|
33
33
|
<TRIP_MODE>1</TRIP_MODE>
|
34
|
+
<CUSTOM_STATUS>0</CUSTOM_STATUS>
|
34
35
|
<IMAGE_URL>null</IMAGE_URL>
|
35
36
|
<START_POINT_TYPE>null</START_POINT_TYPE>
|
36
37
|
<FAKE_TIME_IN_ROAD>true</FAKE_TIME_IN_ROAD>
|
@@ -159,6 +160,7 @@
|
|
159
160
|
<JOIN_BOOK_BUY>false</JOIN_BOOK_BUY>
|
160
161
|
<RECOMMENDED>false</RECOMMENDED>
|
161
162
|
<TRIP_MODE>1</TRIP_MODE>
|
163
|
+
<CUSTOM_STATUS>0</CUSTOM_STATUS>
|
162
164
|
<IMAGE_URL>null</IMAGE_URL>
|
163
165
|
<START_POINT_TYPE>null</START_POINT_TYPE>
|
164
166
|
<VEHICLE_DESCRIPTION>null</VEHICLE_DESCRIPTION>
|
data/test/search_trips_test.rb
CHANGED
@@ -76,6 +76,11 @@ class SearchTripsResponseTest < Minitest::Test
|
|
76
76
|
assert_equal 2, response.trips.size
|
77
77
|
end
|
78
78
|
|
79
|
+
def test_custom_status
|
80
|
+
response = get_successful_search_trips
|
81
|
+
assert_equal 0, response.trips.first.custom_status
|
82
|
+
end
|
83
|
+
|
79
84
|
def test_fields_parsing
|
80
85
|
response = get_successful_search_trips
|
81
86
|
assert_equal Date.new(2014,8,23), response.trips.first.start_date
|
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.
|
4
|
+
version: 0.15.1
|
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-08-
|
12
|
+
date: 2017-08-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_xml
|