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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86ff42495ca0ac91395ca7d2f44e1109fd95a90b
4
- data.tar.gz: ae27c073ed4ef845cee4f0099e5d16bad8f016b9
3
+ metadata.gz: fe1263fe8ca9c9ba681c5bc5d3428f7b947f5cde
4
+ data.tar.gz: 7ac7b91b7e0c208a80861df9c2946649e43a9fb8
5
5
  SHA512:
6
- metadata.gz: e25cf62b5632ad96b9bdca312474c26a7b04427b4b9f45a5ceb318e2484f76961e9f76862be71559edf68f03a0c4d7462d368dbb12b214a2714dd750294e12ed
7
- data.tar.gz: 2b3cb677803aa430333282840918bef9326f16c8f2f7631f9af969cfabc7cccec5de634e78e60cb7a9ee1ab499a32c2226d4c0716d20769ea2c6cb66b25a49b3
6
+ metadata.gz: 47291475c2d0d198eafe999ed1f52d288ccab922865416cbe0689db930897dfd6f72d9ebf99617c67d15033c73543e2d5ac8c4864351acf3962fbb7f164b1f38
7
+ data.tar.gz: 50c2e2b0ab1908350a28db529df81d133a7dcd004d8cdff9df6bea17a574432e043b098337cb53fc9746dfbc9f9867b8535d0506210e37ec39ac00c772bd86c4
@@ -116,6 +116,9 @@ class Gillbus
116
116
  # => "1"
117
117
  field :trip_mode, :int
118
118
 
119
+ # => "1"
120
+ field :custom_status, :int
121
+
119
122
  # => "null"
120
123
  field :image_url
121
124
 
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = "0.15.0"
2
+ VERSION = "0.15.1"
3
3
  end
@@ -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>
@@ -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.0
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-14 00:00:00.000000000 Z
12
+ date: 2017-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_xml