quicktravel_client 4.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/quick_travel/adapter.rb +2 -0
- data/lib/quick_travel/party.rb +1 -1
- data/lib/quick_travel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4da663e0f71fad43fdba390dd3734954530fde1b53013e59a8a4053db8b8b016
|
4
|
+
data.tar.gz: 98ade4d08e4d1a5d8dc8177b262f329d29fbbb58662580bded964d107ba61bfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ff942594f0e30d42f9d4d1f03687ab185fc0085a8fcbc2f7919b778498c87667fc929f802df95150f44468b9aaaa79f3d7de6297fb3cf464fe58bfc1fa381ac
|
7
|
+
data.tar.gz: bad7b656128eeff52372b7b0e420a84c6d18d0b892afd39e112d9a1e3949242f173213e942ba527fcdbec2c0374e5c6d70eaa67c562f098625991fa04934a24e
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,11 @@ 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
|
+
## [4.3.0]
|
7
|
+
### Changed
|
8
|
+
- [TT-8142] Add suitable user-agent header
|
9
|
+
- [TT-8379] Switch to using api/parties endpoint
|
10
|
+
|
6
11
|
## [4.2.0]
|
7
12
|
### Changed
|
8
13
|
- [TT-7969] Update cassettes to work with HttpParty >= 0.18.1
|
data/lib/quick_travel/adapter.rb
CHANGED
@@ -214,6 +214,8 @@ module QuickTravel
|
|
214
214
|
http_params[:headers] ||= {}
|
215
215
|
http_params[:headers]['Content-length'] = '0' if http_params[:body].blank?
|
216
216
|
http_params[:headers]['x-api-key'] = QuickTravel.config.access_key
|
217
|
+
http_params[:headers]['user-agent'] = 'quicktravel_client/' + QuickTravel::VERSION;
|
218
|
+
|
217
219
|
expect = http_params.delete(:expect)
|
218
220
|
|
219
221
|
# Use :body instead of :query for put/post.
|
data/lib/quick_travel/party.rb
CHANGED
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: 4.
|
4
|
+
version: 4.3.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: 2020-
|
13
|
+
date: 2020-12-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|