quicktravel_client 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/quick_travel/party.rb +9 -4
- 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: b5ffa50ab5505f3f53eecd16832a82eccba240f45e21a2fe73b7fb7c5004f241
|
4
|
+
data.tar.gz: abb13a40b9ae0fb61893cff5cb9f5e83372e0633b0035419e060d4be70a1b746
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05fb7f9ee4835df9ff9f7c5aac7671c0508a57eec2ee7330dad785e4a4126c53b90a33e0e7ee0572e9c337ba187099072262694bca525b290e62c5b056bce633
|
7
|
+
data.tar.gz: b01fb44e29aee1a5ebcdf7a3725e0b5e4e179e64ae52e22ff878bacd7ff98e6001b0e27a9dd9a2f96c26936b7ad193d45c168c498dd7ac0463c5db5416c13c90
|
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
|
+
## [4.3.2]
|
7
|
+
### Fixed
|
8
|
+
- [TT-8511] Revert party lookup via the API endpoint
|
9
|
+
|
6
10
|
## [4.3.1]
|
7
11
|
### Fixed
|
8
12
|
- [TT-8471] Fix missing QuickTravel:VERSION const error
|
data/lib/quick_travel/party.rb
CHANGED
@@ -7,17 +7,22 @@ module QuickTravel
|
|
7
7
|
|
8
8
|
def initialize(hash = {})
|
9
9
|
super
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
# TODO Fix the QT endpoint to actual return the type, first step
|
11
|
+
# is to revert it so we can fix the pacts, than we can update the
|
12
|
+
# expectations to include a return value
|
13
|
+
@type = 'Person'
|
13
14
|
end
|
14
15
|
|
15
|
-
self.api_base = '/
|
16
|
+
self.api_base = '/parties'
|
16
17
|
|
17
18
|
def self.find_by_login(options)
|
18
19
|
get_and_validate('/parties/find_by_login.json', options)
|
19
20
|
end
|
20
21
|
|
22
|
+
def self.create(options = {})
|
23
|
+
post_and_validate("/api/parties.json", options)
|
24
|
+
end
|
25
|
+
|
21
26
|
# Asks QuickTravel to check the credentials
|
22
27
|
#
|
23
28
|
# @returns: Party: Valid Credentials
|
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.3.
|
4
|
+
version: 4.3.2
|
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-12-
|
13
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|