contentful 2.17.0 → 2.17.2
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 +24 -0
- data/README.md +1 -1
- data/lib/contentful/error.rb +5 -1
- data/lib/contentful/version.rb +1 -1
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a2120e270825f1bb0434d26f0b4eb42a445b7cb8df9fff01d7b1e71e1e76d91
|
4
|
+
data.tar.gz: 031e64513bfb83c80fcbc6bef5e426eadc1a24e11cf7ba0d69c04253a25e0447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d85b10674c340396c1c8bb3605135645422d7f9ffda1ca25223850d84df20c5c0a598029a1cc6775ccd46c7b43477ba7d9139dbcfbdd3ea672cc4762bdfa1a
|
7
|
+
data.tar.gz: 4b671bee29520ebd6413e021a278278be4bba1b24813d6baff4b4053b5ed6ca42d1b76b8dccb7ce0fc3987065e63638e480d4448b3a89c147f0adc9380f8e3ae
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,34 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## Unreleased
|
4
|
+
|
5
|
+
## 2.17.2
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
* Fixed test output visibility in response spec for unparsable JSON errors
|
9
|
+
* Fixed hash string representation in error messages for Ruby 3.4 compatibility
|
10
|
+
|
11
|
+
### Updated
|
12
|
+
* Updated CircleCI configuration to use Ruby 3.4
|
13
|
+
|
14
|
+
## 2.17.1
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
* Fixed typo in documentation
|
18
|
+
* Fixed changelog discrepancies
|
19
|
+
|
20
|
+
### Updated
|
21
|
+
* Updated `json` gem version
|
22
|
+
|
23
|
+
### Added
|
24
|
+
* Added ruby versions 3.1, 3.2 and 3.3 to CI. Removed 2.6 and 2.7.
|
25
|
+
|
3
26
|
## 2.17.0
|
4
27
|
|
5
28
|
### Updated
|
6
29
|
* Updated `http` gem version
|
7
30
|
|
31
|
+
|
8
32
|
### Changed
|
9
33
|
* CI/CD vendor from travis to circleci
|
10
34
|
* Refactored `includes` to be a model (`Contentful::Includes`) with a lookup table instead of a plain Ruby array, for improved performance when `include_level` is set. Two related methods from `Support` have been moved to this new class. Any code that uses the undocumented `includes_for_single` option to any method will need to be updated. [#235](https://github.com/contentful/contentful.rb/pull/235)
|
data/README.md
CHANGED
@@ -665,7 +665,7 @@ For more information on the internal changes present in the 2.x release, please
|
|
665
665
|
|
666
666
|
### You found a bug or want to propose a feature?
|
667
667
|
|
668
|
-
* File an issue here on GitHub: [](https://github.com/contentful/contentful.rb/issues/new). Make sure to remove any
|
668
|
+
* File an issue here on GitHub: [](https://github.com/contentful/contentful.rb/issues/new). Make sure to remove any credentials from your code before sharing it.
|
669
669
|
|
670
670
|
### You need to share confidential information or have other questions?
|
671
671
|
|
data/lib/contentful/error.rb
CHANGED
@@ -33,7 +33,11 @@ module Contentful
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def handle_details(details)
|
36
|
-
details.
|
36
|
+
if details.is_a?(Hash)
|
37
|
+
details.map { |k, v| "#{k.inspect}=>#{v.inspect}" }.join(', ').then { |s| "{#{s}}" }
|
38
|
+
else
|
39
|
+
details.to_s
|
40
|
+
end
|
37
41
|
end
|
38
42
|
|
39
43
|
def additional_info?
|
data/lib/contentful/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.17.
|
4
|
+
version: 2.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Contentful GmbH (Jan Lelis)
|
8
8
|
- Contentful GmbH (Andreas Tiefenthaler)
|
9
9
|
- Contentful GmbH (David Litvak Bruno)
|
10
|
-
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: http
|
@@ -38,14 +37,14 @@ dependencies:
|
|
38
37
|
requirements:
|
39
38
|
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1'
|
40
|
+
version: '1.15'
|
42
41
|
type: :runtime
|
43
42
|
prerelease: false
|
44
43
|
version_requirements: !ruby/object:Gem::Requirement
|
45
44
|
requirements:
|
46
45
|
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version: '1'
|
47
|
+
version: '1.15'
|
49
48
|
- !ruby/object:Gem::Dependency
|
50
49
|
name: bundler
|
51
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,14 +149,14 @@ dependencies:
|
|
150
149
|
requirements:
|
151
150
|
- - "~>"
|
152
151
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
152
|
+
version: 1.60.2
|
154
153
|
type: :development
|
155
154
|
prerelease: false
|
156
155
|
version_requirements: !ruby/object:Gem::Requirement
|
157
156
|
requirements:
|
158
157
|
- - "~>"
|
159
158
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
159
|
+
version: 1.60.2
|
161
160
|
- !ruby/object:Gem::Dependency
|
162
161
|
name: rspec
|
163
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -284,7 +283,6 @@ homepage: https://github.com/contentful/contentful.rb
|
|
284
283
|
licenses:
|
285
284
|
- MIT
|
286
285
|
metadata: {}
|
287
|
-
post_install_message:
|
288
286
|
rdoc_options: []
|
289
287
|
require_paths:
|
290
288
|
- lib
|
@@ -299,8 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
297
|
- !ruby/object:Gem::Version
|
300
298
|
version: '0'
|
301
299
|
requirements: []
|
302
|
-
rubygems_version: 3.
|
303
|
-
signing_key:
|
300
|
+
rubygems_version: 3.6.7
|
304
301
|
specification_version: 4
|
305
302
|
summary: contentful
|
306
303
|
test_files: []
|