gds_zendesk 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9868cd71f7e7f7db163baebab52b2a1a78eb3c21
4
- data.tar.gz: bbb1d2436fccc42943c5d32ef8c5cdde477e5c19
3
+ metadata.gz: 86279b4fff3a3edbe0d63e7c914561ad57919fd4
4
+ data.tar.gz: c7351ee269ab50a8a7342770e6da527e9a6e81fe
5
5
  SHA512:
6
- metadata.gz: 111f1600d6434633aaf532d60814bb59a9b735f0a0a81fb3f0e83168a10b5ca62013d16eef8ba9dcf8b9f57befba5362aeee40b5be15bef5234a179a8d79f4d7
7
- data.tar.gz: 9deb85d0d021845a89f7bad383fa77a0dcd68ad8b208e07e6679fe7d66e6a9fd4ab856ccf054f16935064eb4d376be9e5070eca813762c242548e8ceba616900
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
@@ -1,3 +1,3 @@
1
1
  module GDSZendesk
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds_zendesk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Benilov