gds_zendesk 2.3.0 → 2.3.1
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 +9 -0
- data/lib/gds_zendesk/test_helpers.rb +4 -0
- data/lib/gds_zendesk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86279b4fff3a3edbe0d63e7c914561ad57919fd4
|
|
4
|
+
data.tar.gz: c7351ee269ab50a8a7342770e6da527e9a6e81fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c60add1dda4cbd45c4c5bc92315fb62cd2486d526a654b709151610b50731c32ab8c0c341c867ffdd84302e649bbaae430a9b9a5d965fe51bb0b75901d1c54b
|
|
7
|
+
data.tar.gz: 8d740834003423ca6d5988cdba7e93bc2195d19403fdde569160683911f39b71d1442eb8118924a2ca2e6009fb170f35774bc9d59118940b0a8a682dcaa2d79c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
# 2.3.1
|
|
2
|
+
|
|
3
|
+
* Patch release as the previous upgrade didn't include the required
|
|
4
|
+
feature due to rapid successive merges.
|
|
5
|
+
|
|
6
|
+
# 2.3.0
|
|
7
|
+
|
|
8
|
+
* Add a test helper to stub Zendesk returning a 302
|
|
9
|
+
|
|
1
10
|
# 2.2.0
|
|
2
11
|
|
|
3
12
|
* Allow the zendesk URL to be specified in the configuration
|
|
@@ -50,6 +50,10 @@ module GDSZendesk
|
|
|
50
50
|
stub_request(:any, /#{zendesk_endpoint}\/.*/).to_return(status: 409)
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
def zendesk_returns_redirect
|
|
54
|
+
stub_request(:any, /#{zendesk_endpoint}\/.*/).to_return(status: 302)
|
|
55
|
+
end
|
|
56
|
+
|
|
53
57
|
def zendesk_endpoint
|
|
54
58
|
"https://#{valid_zendesk_credentials["username"]}:#{valid_zendesk_credentials["password"]}@govuk.zendesk.com/api/v2"
|
|
55
59
|
end
|
data/lib/gds_zendesk/version.rb
CHANGED