contentful_bootstrap 3.11.0 → 3.11.1

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: 7a0377b3978c29173e7cb2740be951072f39fa912080de68bfbb9c0471902088
4
- data.tar.gz: 9b8be65f9b642b96a73a4470ad5d6f13fd338d09a75ee961a7e74b5e9a004308
3
+ metadata.gz: bc9633ac13a8a74dcf5c89efd4f48fc55a36c6e1a3ae3d14d44d0ab7be7a3ea4
4
+ data.tar.gz: fba50ec7228d99213d6e419379fe441b59d37ef2141f5e2d26d3ac6974f5d37b
5
5
  SHA512:
6
- metadata.gz: 355d7bc2e47d9f35f9fb28e49dc0988127bd0e9b908d7138966facd123f97cd1a8828df24f094b314473ca8ad7935b2d3166e2409afa2737b798d7dd33486361
7
- data.tar.gz: 84039265f10136ea387e9ece1079f581356585d04f3c9facff7b214167c01214771b4a1d0c7c618fbf03b822649f4a041bc9a1223d708cfe1a6a8953d0767c60
6
+ metadata.gz: 7f0ba8d42d25f155a75fb844b1270e16282ef6c7385dcde4b9ecbf9fee07f352718787e86b8907751fbdee8d130cdf24ac31fa8848744e264300a2db8b16e180
7
+ data.tar.gz: '059f26ed0ae49c693df560700eaec3745f4301c5e4b7f26bdeb78621f0a20629da0790d74b0253046ff4dd3f93391e41235b9790f562c084113f76e256c3600e'
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v3.11.1
6
+ ### Fixed
7
+ * Fixed array importing. [#70](https://github.com/contentful/contentful-bootstrap.rb/pull/70)
8
+
5
9
  ## v3.11.0
6
10
  ### Added
7
11
  * Added `--environment` support to `update_space` and `generate_json`.
@@ -73,7 +73,7 @@ module Contentful
73
73
  field.type = f['type']
74
74
  field.link_type = f['linkType'] if link?(f)
75
75
 
76
- if array?(f)
76
+ if array_field?(f)
77
77
  array_field = Contentful::Management::Field.new
78
78
  array_field.type = f['items']['type']
79
79
  array_field.link_type = f['items']['linkType']
@@ -103,7 +103,7 @@ module Contentful
103
103
  field.key?('linkType')
104
104
  end
105
105
 
106
- def array?(field)
106
+ def array_field?(field)
107
107
  field.key?('items')
108
108
  end
109
109
 
@@ -1,6 +1,6 @@
1
1
  module Contentful
2
2
  module Bootstrap
3
- VERSION = '3.11.0'.freeze
3
+ VERSION = '3.11.1'.freeze
4
4
 
5
5
  def self.major_version
6
6
  VERSION.split('.').first.to_i
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.0
4
+ version: 3.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Litvak Bruno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-18 00:00:00.000000000 Z
11
+ date: 2018-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler