quicktravel_client 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2cac26c2edf8fba72ac0bcf645f02961cde890d
4
- data.tar.gz: 8180a537121d608b97ef7e07bd28575edb9d2ac2
3
+ metadata.gz: c11c2f3d1a834d3d134e042d6a1fa0d2c72487f2
4
+ data.tar.gz: 1e404271ea79c3146050a2b911b8e15867524a1e
5
5
  SHA512:
6
- metadata.gz: 5f7d197ac3d6fb0abec11aee40dc726e40c63b29350c94d72af112e825cc4acd8112f3dda851b736ac8056fcca05399769af3b2309c3c3a49928ad9a3e663fc4
7
- data.tar.gz: 12c99db16e03e83404d4de10c4144bc502c2383073a2e3f4744c505c766c7bf943b8d0660384e4a1827edd72695eb88d74f2a68e23c94e851c05527b2a7fb3b6
6
+ metadata.gz: 9bc52d20a21ebb065ed25df2b9613af49c57e4616ef989e291c58a592c09839791d5f61946c304a5dd70bac5887f6d2910d9393b9e0ad2836cb39e67a58ec126
7
+ data.tar.gz: 569f59465ae3e4d9eecc1bc868fc3b7b7f0c822cc9624f57648d9de84ee732ca49db9db8d5920ffdfafc801860a2d8bc429c6003bfce62ea87402824b7ad36f2
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
  This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
5
5
 
6
+ ## [2.8.0]
7
+ ### Changed
8
+ - @booking.accommodation_reserve now expects to be passed the adjusted last_travel_date
9
+
6
10
  ## [2.7.0]
7
11
  ### Added
8
12
  - can_choose_stops? to check if a route has more than two stops
@@ -119,9 +119,6 @@ module QuickTravel
119
119
 
120
120
  last_travel_date = Date.strptime(reservations_options[:last_travel_date], '%d/%m/%Y')
121
121
 
122
- # Because QT requires last-date to be the date of use, we have to subtract one
123
- last_travel_date -= 1
124
-
125
122
  options = { reservations: reservations_options }
126
123
  options[:reservations][:last_travel_date] = last_travel_date.strftime(QT_DATE_FORMAT)
127
124
 
@@ -1,3 +1,3 @@
1
1
  module QuickTravel
2
- VERSION = '2.7.0'
2
+ VERSION = '2.8.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quicktravel_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-01-18 00:00:00.000000000 Z
13
+ date: 2017-02-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty