contentful 2.9.3 → 2.9.4

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: 54637a555cb932ff2f7e6eda186c2adb05a4adf49da808b9f091d067d634332e
4
- data.tar.gz: 84eec034173863ffb320c30ca4e7976eb479b7df6f5d233eac603637eab68798
3
+ metadata.gz: 65470ba0c25f68301ff90a7a4c7a61479fd60261175bfdda48549d8e1fff6e51
4
+ data.tar.gz: 81a79a337f8717bd26d6691ef073319d371500600a848d7e5f9b33d0f1bb7145
5
5
  SHA512:
6
- metadata.gz: 798109ac159e508c9655d29dd0796407773a837bd74e5e54c64723c99e65bdd94d1af793444bdfdc89c8bd28f27a10bc5deea08b804033681f4277c97e9ae66b
7
- data.tar.gz: e708537b824efc262bd7f9d44baf4e4833005f8ea84dcb75854f839e9d907f663dcf9126381dd859cf56dccd7aca026c931f9b1792b9fece280fb44edda10bd3
6
+ metadata.gz: 55fa41e4f2a7ae90ad57a6d80e252ce01abd70d065846dbb0b691e05e115a661acb4324e04f9c614db94ac4b54bd1ad930087a692e6afcbe47c8c2ecd4c283e4
7
+ data.tar.gz: 2d2946f5317f17f206c5df119a7dec4865759f828733ca5462756ef94d4464ec8f08eadf5611711464030535018a446dd6cdd0e2eebe28efcc1c65b6ef10dd0a
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.9.4
6
+ ### Fixed
7
+ * Fixed incorrect default error message for `503 Service Unavailable` errors. [#183](https://github.com/contentful/contentful.rb/issues/183)
8
+
5
9
  ## 2.9.3
6
10
  ### Fixed
7
11
  * Added safeguard for re-serialization of `StructuredText` nodes.
@@ -186,7 +186,7 @@ module Contentful
186
186
  protected
187
187
 
188
188
  def default_error_message
189
- 'The request was malformed or missing a required parameter.'
189
+ 'The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.'
190
190
  end
191
191
  end
192
192
 
@@ -1,5 +1,5 @@
1
1
  # Contentful Namespace
2
2
  module Contentful
3
3
  # Gem Version
4
- VERSION = '2.9.3'
4
+ VERSION = '2.9.4'
5
5
  end
@@ -96,7 +96,7 @@ describe Contentful::Error do
96
96
  error = Contentful::Error[response.raw.status].new(response)
97
97
 
98
98
  message = "HTTP status code: 503\n"\
99
- "Message: The request was malformed or missing a required parameter.\n"\
99
+ "Message: The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.\n"\
100
100
  "Request ID: 85f-351076632"
101
101
  expect(error.message).to eq message
102
102
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.3
4
+ version: 2.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentful GmbH (Jan Lelis)
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-10-01 00:00:00.000000000 Z
13
+ date: 2018-10-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: http