contentful 2.9.3 → 2.9.4
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/contentful/error.rb +1 -1
- data/lib/contentful/version.rb +1 -1
- data/spec/error_class_spec.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: 65470ba0c25f68301ff90a7a4c7a61479fd60261175bfdda48549d8e1fff6e51
|
4
|
+
data.tar.gz: 81a79a337f8717bd26d6691ef073319d371500600a848d7e5f9b33d0f1bb7145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fa41e4f2a7ae90ad57a6d80e252ce01abd70d065846dbb0b691e05e115a661acb4324e04f9c614db94ac4b54bd1ad930087a692e6afcbe47c8c2ecd4c283e4
|
7
|
+
data.tar.gz: 2d2946f5317f17f206c5df119a7dec4865759f828733ca5462756ef94d4464ec8f08eadf5611711464030535018a446dd6cdd0e2eebe28efcc1c65b6ef10dd0a
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
data/lib/contentful/error.rb
CHANGED
@@ -186,7 +186,7 @@ module Contentful
|
|
186
186
|
protected
|
187
187
|
|
188
188
|
def default_error_message
|
189
|
-
'The request
|
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
|
|
data/lib/contentful/version.rb
CHANGED
data/spec/error_class_spec.rb
CHANGED
@@ -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
|
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.
|
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-
|
13
|
+
date: 2018-10-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http
|