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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d57a0b689c5f11218c4bb5189c1493646d577718
4
- data.tar.gz: eb0a3092834e8416ff3386caf86d13a04ec79371
3
+ metadata.gz: 477f589faa3b040818030d6f3f18ce44a9e78c45
4
+ data.tar.gz: 0f686c0c0794600d649f8013b5d7d7646490a34a
5
5
  SHA512:
6
- metadata.gz: f641884fc5ab6c4764c5c252cd530fbf1cb8583871aef9a27e73421744cf3069f413bf253ee8d12a4831d25c73e9502a05c9415319293c7c70267672cf6a1aaa
7
- data.tar.gz: 469a792ff28013ecd4177c91831bf9e19bc28140a67fdbb6add44d048d971c7aaa4b3b7f52b2e124ad63059844e390f2ac4739b94ea558693239e7fa2560b1e8
6
+ metadata.gz: 88984592039ffe39b0c92ef7d1c8c12f08c505916de5804757ef3d2927b401cf46505196c6d6d1c34180ce92dbe2cb816b6ec8ed296292851b7627bca5126391
7
+ data.tar.gz: e17e6896cba174b9dd0b39aafc2d046de11c21fe46879138690c9d8be1df6ee28a5573bca459a0c7aec6a4208f8a33d1544a202211ee8731d809038c0b5a4cfb
@@ -89,6 +89,9 @@ class Gillbus
89
89
  # => "true"
90
90
  field :reservation_enabled, :bool
91
91
 
92
+ # => "true"
93
+ field :recommended, :bool
94
+
92
95
  # => "true"
93
96
  field :sale_enabled, :bool
94
97
 
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = "0.14.4"
2
+ VERSION = "0.14.5"
3
3
  end
@@ -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>
@@ -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
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-10 00:00:00.000000000 Z
12
+ date: 2017-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_xml