gillbus 0.15.4 → 0.15.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: 65defff51439efea9789ea6e456bdc01528377c0
4
- data.tar.gz: 588b997611fcf1a1ce5d0baaa2d686f736cd0a5c
3
+ metadata.gz: 5528736c9cbe5cf92d9db5555fe6b6cc0cd5ac43
4
+ data.tar.gz: dde674e0ea9a09c613464b33d298ee8f4c1a327e
5
5
  SHA512:
6
- metadata.gz: '08f4beb09430e0b53a2da5309dea506d71fbe6aba637de44e988068a6a88f7c0b50ae950de4e469cd694f86837bcf62b02f657ba59a4414a54120b2e004834ef'
7
- data.tar.gz: 1f8601ed9bc4eb824fb174bc7b3f0529fb59848805c252a83827409577004df9f1325849e38ac618859e7ecc516245bb93c472f593fdacbbe5e1d90bd32b9ca8
6
+ metadata.gz: 01636a3922d344ac121c5bc6231f0e1c019f124ed8c3a3e214aa5cfd8ae9635fe712fff4a11b46f6fe9fb7f0126fe7dd11db50600bb759ebe2d131085cb69dba
7
+ data.tar.gz: 8dc69e58c28ed8686412cd4cca858d0d9e8d94aaaa280c7f790522748e651abd0476fb36d63e6e66f3b60e22f0a15249338649cbb5ae14457e00ebb52c28328e
@@ -140,6 +140,8 @@ class Gillbus
140
140
  # => "false"
141
141
  field :fake_time_in_road, :bool
142
142
 
143
+ field :redirect_url
144
+
143
145
  # => "RUB"
144
146
  field :currency
145
147
 
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = "0.15.4"
2
+ VERSION = "0.15.5"
3
3
  end
@@ -41,6 +41,7 @@
41
41
  <TOTAL_COST>1410.0</TOTAL_COST>
42
42
  <CURRENCY>RUB</CURRENCY>
43
43
  <CURRENCY_CODE>643</CURRENCY_CODE>
44
+ <REDIRECT_URL>http://example.com/123</REDIRECT_URL>
44
45
  <TARIFF>
45
46
  <SHORT_NAME>Y</SHORT_NAME>
46
47
  <FULL_NAME/>
@@ -95,6 +95,7 @@ class SearchTripsResponseTest < Minitest::Test
95
95
  assert_equal [true, false, false], response.trips.first.tariffs.first.return_cause.map(&:lossless)
96
96
  assert_equal ['cause 1'], response.trips[1].tariffs.first.return_cause.map(&:cause)
97
97
  assert_equal true, response.trips[1].tariffs.first.is_exclusive_price
98
+ assert_equal 'http://example.com/123', response.trips.first.redirect_url
98
99
  end
99
100
 
100
101
  def test_options_parsing
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
4
+ version: 0.15.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-09-07 00:00:00.000000000 Z
12
+ date: 2017-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_xml