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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/quick_travel/booking.rb +0 -3
- data/lib/quick_travel/version.rb +1 -1
- 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: c11c2f3d1a834d3d134e042d6a1fa0d2c72487f2
|
|
4
|
+
data.tar.gz: 1e404271ea79c3146050a2b911b8e15867524a1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bc52d20a21ebb065ed25df2b9613af49c57e4616ef989e291c58a592c09839791d5f61946c304a5dd70bac5887f6d2910d9393b9e0ad2836cb39e67a58ec126
|
|
7
|
+
data.tar.gz: 569f59465ae3e4d9eecc1bc868fc3b7b7f0c822cc9624f57648d9de84ee732ca49db9db8d5920ffdfafc801860a2d8bc429c6003bfce62ea87402824b7ad36f2
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
data/lib/quick_travel/booking.rb
CHANGED
|
@@ -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
|
|
data/lib/quick_travel/version.rb
CHANGED
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.
|
|
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-
|
|
13
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: httparty
|