quicktravel_client 4.2.0 → 4.3.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
  SHA256:
3
- metadata.gz: 91f206668887a5c5fae84eceedf3aff502b18e7fe9128c532f2945c1103e8d22
4
- data.tar.gz: 46897c6a9d0bf5934c1c6f0c9333c33ddce9d9e8412f8551a089c041f181ed8f
3
+ metadata.gz: 4da663e0f71fad43fdba390dd3734954530fde1b53013e59a8a4053db8b8b016
4
+ data.tar.gz: 98ade4d08e4d1a5d8dc8177b262f329d29fbbb58662580bded964d107ba61bfd
5
5
  SHA512:
6
- metadata.gz: 49878c0a691f3794d4fc840d81078099c5235f18845405e1bd1868f1737aec01e25bda51766ed020c27d2e95cb4086d2ddba6f854048c324e4da1b2ab7bb3bf2
7
- data.tar.gz: 31ab91f4e630f3d5a5e8c04a2ae159fab5a555ed937ecd1880a852955201b26e83f5a86659d31d36b9e68c502c31e0e69cd779f4290f7f850ed98ed436664d7b
6
+ metadata.gz: 2ff942594f0e30d42f9d4d1f03687ab185fc0085a8fcbc2f7919b778498c87667fc929f802df95150f44468b9aaaa79f3d7de6297fb3cf464fe58bfc1fa381ac
7
+ data.tar.gz: bad7b656128eeff52372b7b0e420a84c6d18d0b892afd39e112d9a1e3949242f173213e942ba527fcdbec2c0374e5c6d70eaa67c562f098625991fa04934a24e
@@ -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
@@ -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.
@@ -12,7 +12,7 @@ module QuickTravel
12
12
  end
13
13
  end
14
14
 
15
- self.api_base = '/parties'
15
+ self.api_base = '/api/parties'
16
16
 
17
17
  def self.find_by_login(options)
18
18
  get_and_validate('/parties/find_by_login.json', options)
@@ -1,3 +1,3 @@
1
1
  module QuickTravel
2
- VERSION = '4.2.0'
2
+ VERSION = '4.3.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: 4.2.0
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-09-11 00:00:00.000000000 Z
13
+ date: 2020-12-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty