quicktravel_client 4.5.0 → 4.6.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/.github/workflows/ruby.yml +2 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +85 -1
- data/gemfiles/rails70.gemfile +8 -0
- data/lib/quick_travel/version.rb +1 -1
- data/quicktravel_client.gemspec +1 -2
- data/spec/support/coverage_loader.rb +0 -1
- metadata +5 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a4c632cfbc39ba8572be2c7639245838e24d9cb5cb182e6cf5447fb86d5d2c4
|
|
4
|
+
data.tar.gz: f2e51c60d7283dbeec9d0b6c0ce43569a5b65cbea9707781d5ffacbd78fa7a40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9beee45dae9c6c32bf87276f1ef6ce859e4ee0cfb68f2c12011ec74efd96381cc71bb0261deb47b875665f9e78f814a4cdebe7a6ecbc610e27fe1412d851c622
|
|
7
|
+
data.tar.gz: bb5e864e91e579703a980facef1fbcb741b13314f3b25dd997379c730efadba52663df4bbac26498823b4f28d2d637763a794c41fec8d79e95ea6572fe57381e
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -5,8 +5,8 @@ jobs:
|
|
|
5
5
|
strategy:
|
|
6
6
|
fail-fast: false
|
|
7
7
|
matrix:
|
|
8
|
-
gemfile: [rails60, rails61]
|
|
9
|
-
ruby: ["
|
|
8
|
+
gemfile: [rails60, rails61, rails70]
|
|
9
|
+
ruby: ["3.0", "3.1", "3.2"]
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
env:
|
|
12
12
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.2.0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,54 +1,75 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
5
|
This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
|
|
5
6
|
|
|
6
|
-
##
|
|
7
|
+
## 4.6.0
|
|
7
8
|
|
|
9
|
+
- [PLAT-1175] Update to Ruby 3.2
|
|
8
10
|
|
|
9
11
|
## 4.5.0
|
|
12
|
+
|
|
10
13
|
- [TT-9346] Support injection of additional headers in requests to quicktravel
|
|
11
14
|
- [TT-9331] Cache resources to reduce unnecessary API requests
|
|
12
15
|
|
|
13
16
|
## 4.4.0
|
|
17
|
+
|
|
14
18
|
- [TT-8615] Update to build with github actions / ruby 3.0 / rails 6.1
|
|
15
19
|
|
|
16
20
|
## [4.3.2]
|
|
21
|
+
|
|
17
22
|
### Fixed
|
|
23
|
+
|
|
18
24
|
- [TT-8511] Revert party lookup via the API endpoint
|
|
19
25
|
|
|
20
26
|
## [4.3.1]
|
|
27
|
+
|
|
21
28
|
### Fixed
|
|
29
|
+
|
|
22
30
|
- [TT-8471] Fix missing QuickTravel:VERSION const error
|
|
23
31
|
|
|
24
32
|
## [4.3.0]
|
|
33
|
+
|
|
25
34
|
### Changed
|
|
35
|
+
|
|
26
36
|
- [TT-8142] Add suitable user-agent header
|
|
27
37
|
- [TT-8379] Switch to using api/parties endpoint
|
|
28
38
|
|
|
29
39
|
## [4.2.0]
|
|
40
|
+
|
|
30
41
|
### Changed
|
|
42
|
+
|
|
31
43
|
- [TT-7969] Update cassettes to work with HttpParty >= 0.18.1
|
|
32
44
|
- [TT-7912] Update api status endpoint to the new response format
|
|
33
45
|
|
|
34
46
|
## [4.1.0]
|
|
47
|
+
|
|
35
48
|
### Added
|
|
49
|
+
|
|
36
50
|
- [TT-7788] Add API namespace to vehicle_types endpoint
|
|
37
51
|
|
|
38
52
|
## [4.0.0]
|
|
53
|
+
|
|
39
54
|
- [TT-7385] Update Money dependency, test against Ruby 2.7 / Rails 6
|
|
40
55
|
|
|
41
56
|
## [3.9.0]
|
|
57
|
+
|
|
42
58
|
### Added
|
|
59
|
+
|
|
43
60
|
- [DC-3115] Add customer comments method in booking
|
|
44
61
|
- [DC-2942] Add package class to support quantity based package
|
|
45
62
|
|
|
46
63
|
## [3.8.1]
|
|
64
|
+
|
|
47
65
|
### Changed
|
|
66
|
+
|
|
48
67
|
- [DC-3033] Reverse changes in checkout class to fix polipay redirection in EcomEngine
|
|
49
68
|
|
|
50
69
|
## [3.8.0]
|
|
70
|
+
|
|
51
71
|
### Added
|
|
72
|
+
|
|
52
73
|
- [DC-1794] Update httparty to allow caching the whole response, also add namespace to cache key
|
|
53
74
|
- [DC-1418] Port NRMA portal availability cache back to EcomEngine
|
|
54
75
|
- [TT-4850] Added client templates
|
|
@@ -56,154 +77,217 @@ This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
|
|
|
56
77
|
- [TT-6246] Remove Booking.delete_reservations method
|
|
57
78
|
|
|
58
79
|
### Changed
|
|
80
|
+
|
|
59
81
|
- [DC-2997] Remove API key from body, and move it to header
|
|
60
82
|
- [DC-1767] include long/lat changes to Stop
|
|
61
83
|
|
|
62
84
|
## [3.7.0]
|
|
85
|
+
|
|
63
86
|
### Added
|
|
87
|
+
|
|
64
88
|
- [DC-1437] Add relationship accesssor methods
|
|
65
89
|
- [TT-3337] Add booking.delete_reservations method
|
|
66
90
|
- [TT-3780] Add tests for Opal payments
|
|
67
91
|
- [TT-3780] Add tests for Opal payment using create / update workflow
|
|
68
92
|
|
|
69
93
|
### Fixed
|
|
94
|
+
|
|
70
95
|
- [TT-3304] Handle no response in booking update API
|
|
71
96
|
|
|
72
97
|
### Changed
|
|
98
|
+
|
|
73
99
|
- [TT-3333] URL encode data sent to booking reference lookup
|
|
74
100
|
- [TT-3783] Remove deprecated FixNum
|
|
75
101
|
- [TT-3812] Update cassettes
|
|
76
102
|
|
|
77
103
|
## [3.6.0]
|
|
104
|
+
|
|
78
105
|
###
|
|
106
|
+
|
|
79
107
|
- [ROT-114] Add drop off details
|
|
80
108
|
|
|
81
109
|
## [3.5.0]
|
|
110
|
+
|
|
82
111
|
###
|
|
112
|
+
|
|
83
113
|
- [TT-3147] Remove unused payment methods
|
|
84
114
|
- [TT-3278] Add full_response option to booking update
|
|
85
115
|
|
|
86
116
|
## [3.4.0]
|
|
117
|
+
|
|
87
118
|
###
|
|
119
|
+
|
|
88
120
|
- Properties now return their associated location and types
|
|
89
121
|
|
|
90
122
|
## [3.3.0]
|
|
123
|
+
|
|
91
124
|
### Added
|
|
125
|
+
|
|
92
126
|
- Price change reasons are now passed as an array
|
|
93
127
|
|
|
94
128
|
## [3.2.0]
|
|
129
|
+
|
|
95
130
|
### Changed
|
|
131
|
+
|
|
96
132
|
- Return status with QuickTravel::AdapterError
|
|
97
133
|
|
|
98
134
|
## [3.1.0]
|
|
135
|
+
|
|
99
136
|
### Added
|
|
137
|
+
|
|
100
138
|
- API to cancel a booking
|
|
101
139
|
|
|
102
140
|
## [3.0.0]
|
|
141
|
+
|
|
103
142
|
### Fixed
|
|
143
|
+
|
|
104
144
|
- Allow zero pricing for extra pick items
|
|
105
145
|
|
|
106
146
|
### Changed
|
|
147
|
+
|
|
107
148
|
- Use new reset password url
|
|
108
149
|
|
|
109
150
|
### Added
|
|
151
|
+
|
|
110
152
|
- Setting API
|
|
111
153
|
|
|
112
154
|
### Removed
|
|
155
|
+
|
|
113
156
|
- Removed geocode function on address
|
|
114
157
|
|
|
115
158
|
## [2.9.0]
|
|
159
|
+
|
|
116
160
|
### Changed
|
|
161
|
+
|
|
117
162
|
- Use new API login
|
|
118
163
|
|
|
119
164
|
### Removed
|
|
165
|
+
|
|
120
166
|
- Remove unused constants and default referral code
|
|
121
167
|
|
|
122
168
|
## [2.8.0]
|
|
169
|
+
|
|
123
170
|
### Changed
|
|
171
|
+
|
|
124
172
|
- @booking.accommodation_reserve now expects to be passed the adjusted last_travel_date
|
|
125
173
|
|
|
126
174
|
## [2.7.0]
|
|
175
|
+
|
|
127
176
|
### Added
|
|
177
|
+
|
|
128
178
|
- can_choose_stops? to check if a route has more than two stops
|
|
129
179
|
|
|
130
180
|
## [2.6.0]
|
|
181
|
+
|
|
131
182
|
### Removed
|
|
183
|
+
|
|
132
184
|
- Stop passing last_travel_date
|
|
133
185
|
|
|
134
186
|
## [2.5.0]
|
|
187
|
+
|
|
135
188
|
### Added
|
|
189
|
+
|
|
136
190
|
- Add call to get client token
|
|
137
191
|
|
|
138
192
|
## [2.4.1]
|
|
193
|
+
|
|
139
194
|
### Changed
|
|
195
|
+
|
|
140
196
|
- Handle nil values for empty lists
|
|
141
197
|
|
|
142
198
|
## [2.4.0]
|
|
199
|
+
|
|
143
200
|
### Changed
|
|
201
|
+
|
|
144
202
|
- Improve error handling when non JSON response
|
|
145
203
|
- Update test cassettes due to API changes
|
|
146
204
|
- Update test data due to new bootstrap.sql
|
|
147
205
|
|
|
148
206
|
## [2.3.1]
|
|
207
|
+
|
|
149
208
|
### Fixed
|
|
209
|
+
|
|
150
210
|
- Omits empty array parameters
|
|
151
211
|
|
|
152
212
|
## [2.3.0]
|
|
213
|
+
|
|
153
214
|
### Changed
|
|
215
|
+
|
|
154
216
|
- Change cache expiries
|
|
155
217
|
- Adds support for passing dates to Resource#all_with_price
|
|
156
218
|
|
|
157
219
|
### Fixed
|
|
220
|
+
|
|
158
221
|
- Fixes issue with HTTParty ~> 0.14
|
|
159
222
|
- Updates HTTParty dependency to ~> 0.14
|
|
160
223
|
|
|
161
224
|
## [2.2.2]
|
|
225
|
+
|
|
162
226
|
### Changed
|
|
227
|
+
|
|
163
228
|
- Deprecates Booking#calculate_price_quote
|
|
164
229
|
- Fix when money is nil from QT
|
|
165
230
|
|
|
166
231
|
## [2.2.1] - 2016-04-18
|
|
232
|
+
|
|
167
233
|
### Fixed
|
|
234
|
+
|
|
168
235
|
- Adds missing require for PriceQuote adapter
|
|
169
236
|
|
|
170
237
|
## [2.2.0] - 2016-04-18
|
|
238
|
+
|
|
171
239
|
### Added
|
|
240
|
+
|
|
172
241
|
- PriceQuote adapter
|
|
173
242
|
|
|
174
243
|
## [2.1.0] - 2016-04-13
|
|
244
|
+
|
|
175
245
|
### Added
|
|
246
|
+
|
|
176
247
|
- Resource categories
|
|
177
248
|
- Products
|
|
178
249
|
|
|
179
250
|
## [2.0.0] - 2016-04-08
|
|
251
|
+
|
|
180
252
|
### Added
|
|
253
|
+
|
|
181
254
|
- This changelog
|
|
182
255
|
- Support for new ProductType API
|
|
183
256
|
|
|
184
257
|
### Changed
|
|
258
|
+
|
|
185
259
|
- Discount API renamed Price Change API
|
|
186
260
|
- Multiple internal refactorings and cleanups
|
|
187
261
|
- Changes Price Quotes API to support non segment based products
|
|
188
262
|
|
|
189
263
|
## [1.1.1] - 2015-06-22
|
|
264
|
+
|
|
190
265
|
### Fixed
|
|
266
|
+
|
|
191
267
|
- Fixed issue with Checkout API
|
|
192
268
|
|
|
193
269
|
## [1.1.0] - 2015-06-19
|
|
270
|
+
|
|
194
271
|
### Added
|
|
272
|
+
|
|
195
273
|
- Checkout API
|
|
196
274
|
|
|
197
275
|
## [1.0.2] - 2015-06-01
|
|
276
|
+
|
|
198
277
|
### Fixed
|
|
278
|
+
|
|
199
279
|
- Fixed issue with payment type code format
|
|
200
280
|
|
|
201
281
|
### Added
|
|
282
|
+
|
|
202
283
|
- Code attribute to passenger type
|
|
203
284
|
|
|
204
285
|
## [1.0.1] - 2015-03-04
|
|
286
|
+
|
|
205
287
|
### Fixed
|
|
288
|
+
|
|
206
289
|
- Fixed conflict between active_support and facets underscore method
|
|
207
290
|
|
|
208
291
|
## [1.0.0] - 2015-03-03
|
|
292
|
+
|
|
209
293
|
- Initial public release
|
data/lib/quick_travel/version.rb
CHANGED
data/quicktravel_client.gemspec
CHANGED
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
17
17
|
spec.require_paths = ['lib']
|
|
18
|
-
spec.required_ruby_version = '>=
|
|
18
|
+
spec.required_ruby_version = '>= 3.0'
|
|
19
19
|
|
|
20
20
|
spec.add_dependency 'httparty', '>= 0.18.1'
|
|
21
21
|
spec.add_dependency 'activesupport', '>= 5.0.0'
|
|
@@ -30,7 +30,6 @@ Gem::Specification.new do |spec|
|
|
|
30
30
|
spec.add_development_dependency 'rspec-its'
|
|
31
31
|
spec.add_development_dependency 'coverage-kit'
|
|
32
32
|
spec.add_development_dependency 'simplecov-rcov'
|
|
33
|
-
spec.add_development_dependency 'coveralls'
|
|
34
33
|
spec.add_development_dependency 'stamp' # Used to send appropriate dates to API's
|
|
35
34
|
spec.add_development_dependency 'vcr'
|
|
36
35
|
spec.add_development_dependency 'webmock'
|
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: 4.
|
|
4
|
+
version: 4.6.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:
|
|
13
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: httparty
|
|
@@ -180,20 +180,6 @@ dependencies:
|
|
|
180
180
|
- - ">="
|
|
181
181
|
- !ruby/object:Gem::Version
|
|
182
182
|
version: '0'
|
|
183
|
-
- !ruby/object:Gem::Dependency
|
|
184
|
-
name: coveralls
|
|
185
|
-
requirement: !ruby/object:Gem::Requirement
|
|
186
|
-
requirements:
|
|
187
|
-
- - ">="
|
|
188
|
-
- !ruby/object:Gem::Version
|
|
189
|
-
version: '0'
|
|
190
|
-
type: :development
|
|
191
|
-
prerelease: false
|
|
192
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
193
|
-
requirements:
|
|
194
|
-
- - ">="
|
|
195
|
-
- !ruby/object:Gem::Version
|
|
196
|
-
version: '0'
|
|
197
183
|
- !ruby/object:Gem::Dependency
|
|
198
184
|
name: stamp
|
|
199
185
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -286,6 +272,7 @@ files:
|
|
|
286
272
|
- examples/login_example.rb
|
|
287
273
|
- gemfiles/rails60.gemfile
|
|
288
274
|
- gemfiles/rails61.gemfile
|
|
275
|
+
- gemfiles/rails70.gemfile
|
|
289
276
|
- lib/extensions.rb
|
|
290
277
|
- lib/quick_travel.rb
|
|
291
278
|
- lib/quick_travel/accommodation.rb
|
|
@@ -452,14 +439,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
452
439
|
requirements:
|
|
453
440
|
- - ">="
|
|
454
441
|
- !ruby/object:Gem::Version
|
|
455
|
-
version: '
|
|
442
|
+
version: '3.0'
|
|
456
443
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
457
444
|
requirements:
|
|
458
445
|
- - ">="
|
|
459
446
|
- !ruby/object:Gem::Version
|
|
460
447
|
version: '0'
|
|
461
448
|
requirements: []
|
|
462
|
-
rubygems_version: 3.
|
|
449
|
+
rubygems_version: 3.4.1
|
|
463
450
|
signing_key:
|
|
464
451
|
specification_version: 4
|
|
465
452
|
summary: Booking process using QuickTravel API
|