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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44bcfad09bdb03cc6460ebf0ac778f89e1b2820b9434f76bbbc297f63f84f7c7
4
- data.tar.gz: a36e3d13ed3b67c501c34ceb7c777f60592188944905048839720d48490886d4
3
+ metadata.gz: 1a2120e270825f1bb0434d26f0b4eb42a445b7cb8df9fff01d7b1e71e1e76d91
4
+ data.tar.gz: 031e64513bfb83c80fcbc6bef5e426eadc1a24e11cf7ba0d69c04253a25e0447
5
5
  SHA512:
6
- metadata.gz: 171a6d3f675e9596a9353c40d43ab5ee81fabf755407e13933fdf04a7934d1db058d33480b25a305609b52a27e00d46f6790a1186608495815b93cc29c0648d9
7
- data.tar.gz: 763fc3a03017b6c10a5fdee30d6bd71eca0f0015aacbf4e3f250186985d347a20363d817265c4e6aa777b06b73df0817c865d4d9ddba8b3e0cace9b177eb62fb
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: [![File an issue](https://img.shields.io/badge/-Create%20Issue-6cc644.svg?logo=github&maxAge=31557600)](https://github.com/contentful/contentful.rb/issues/new). Make sure to remove any credential from your code before sharing it.
668
+ * File an issue here on GitHub: [![File an issue](https://img.shields.io/badge/-Create%20Issue-6cc644.svg?logo=github&maxAge=31557600)](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
 
@@ -33,7 +33,11 @@ module Contentful
33
33
  end
34
34
 
35
35
  def handle_details(details)
36
- details.to_s
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?
@@ -1,5 +1,5 @@
1
1
  # Contentful Namespace
2
2
  module Contentful
3
3
  # Gem Version
4
- VERSION = '2.17.0'
4
+ VERSION = '2.17.2'
5
5
  end
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.0
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: 2023-04-11 00:00:00.000000000 Z
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: 0.49.1
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: 0.49.1
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.1.6
303
- signing_key:
300
+ rubygems_version: 3.6.7
304
301
  specification_version: 4
305
302
  summary: contentful
306
303
  test_files: []