contentful-management 2.8.1 → 2.8.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 +4 -0
- data/lib/contentful/management/field.rb +2 -1
- data/lib/contentful/management/version.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: d893e7e619cc93e46c5f9b0727eda6d5b9a4bd12c64f9a62e1e56d1a38599ce3
|
|
4
|
+
data.tar.gz: 0d65c3b3f4ec56d12caf2ea76a4812f2f29f262c047f499ac141b00429dc95f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e36c0c5cdd24ff97b168c4ea1fe2e57b774db66e13c5db750b765d4be47f6c396f4600b1342b84548f5a05361012b79fd9c8fdc050722dd0f2cd58cbb9bee75
|
|
7
|
+
data.tar.gz: aa73fbc6e361ffff8fa55adff02f7cb8fade1ad24d22828867d4ebe207795eb0703a25d0b429c69e4d1db25fcb9eab85249bf9f606d926693b3da15c436fc286
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Master
|
|
4
4
|
|
|
5
|
+
## 2.8.2
|
|
6
|
+
### Fixed
|
|
7
|
+
* Fixed the ability to clone content types by reusing other content type's fields. [#192](https://github.com/contentful/contentful-management.rb/pull/192)
|
|
8
|
+
|
|
5
9
|
## 2.8.1
|
|
6
10
|
### Fixed
|
|
7
11
|
* Fixed `#save` method for multiple resources. [#190](https://github.com/contentful/contentful-management.rb/pull/190)
|
|
@@ -30,7 +30,8 @@ module Contentful
|
|
|
30
30
|
# @private
|
|
31
31
|
def properties_to_hash
|
|
32
32
|
properties.each_with_object({}) do |(key, value), results|
|
|
33
|
-
|
|
33
|
+
value = parse_value(key, value)
|
|
34
|
+
results[key] = value if Field.value_exists?(value)
|
|
34
35
|
end
|
|
35
36
|
end
|
|
36
37
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contentful-management
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Piotr Protas
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2019-04-
|
|
13
|
+
date: 2019-04-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: http
|