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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec67eaa1e9c178f37793c4f3d1a0545045f7c5469c6fe98a9e96643327dd13b9
4
- data.tar.gz: 380d6fe7b7e841bfaea85c1a7ab0c5823265f0fea3a796e9a9865edee2a6672c
3
+ metadata.gz: d893e7e619cc93e46c5f9b0727eda6d5b9a4bd12c64f9a62e1e56d1a38599ce3
4
+ data.tar.gz: 0d65c3b3f4ec56d12caf2ea76a4812f2f29f262c047f499ac141b00429dc95f5
5
5
  SHA512:
6
- metadata.gz: 5d2f055d5981b37a7c8012cf7438143c320f11a2d1aa284f128a52458b4a7005b450649d51d0663610221937fb9e33b6e19ac236a1a9b03a263ab41b37c92b4a
7
- data.tar.gz: 3dfff654f229f11794922fa214271a74df7d47d3e8e6a3ca4d7ae302f630daa5884a1d5b3b810006a49f7d817088ba86ba2187a769d592a25b6be395e682e1f1
6
+ metadata.gz: 2e36c0c5cdd24ff97b168c4ea1fe2e57b774db66e13c5db750b765d4be47f6c396f4600b1342b84548f5a05361012b79fd9c8fdc050722dd0f2cd58cbb9bee75
7
+ data.tar.gz: aa73fbc6e361ffff8fa55adff02f7cb8fade1ad24d22828867d4ebe207795eb0703a25d0b429c69e4d1db25fcb9eab85249bf9f606d926693b3da15c436fc286
@@ -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
- results[key] = parse_value(key, value)
33
+ value = parse_value(key, value)
34
+ results[key] = value if Field.value_exists?(value)
34
35
  end
35
36
  end
36
37
 
@@ -3,6 +3,6 @@ module Contentful
3
3
  # Management Namespace
4
4
  module Management
5
5
  # Gem Version
6
- VERSION = '2.8.1'.freeze
6
+ VERSION = '2.8.2'.freeze
7
7
  end
8
8
  end
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.1
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-08 00:00:00.000000000 Z
13
+ date: 2019-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: http