pulitzer 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfb7530c885332fb96ac1ba1961416dffe9ee77e
4
- data.tar.gz: c5305f99d6dea0dcf0ca1659deb6d3987c190363
3
+ metadata.gz: d37562d26310de6168c8cac9e81252dae07b7af9
4
+ data.tar.gz: 45ce730c080b751de2096f92cc5439f4e1e89afd
5
5
  SHA512:
6
- metadata.gz: ebedb5cf1636dd61072521d25f72aeac6c1f25486d7a336c1ffd8299401dfaba5992a8114c2bfe5cce503a7bd9591552c7b1a262e66213d0c93b3c6f5497437b
7
- data.tar.gz: c6af1c46b9fbadc47656597c32f8572ff0e1d7b1f2b91dc47bdcf4135a75b199b91005718e91e1b16cc0a019cb1857f9d893e55c33f3799aa9e5388feae1b01a
6
+ metadata.gz: d76aa8ea50d0f87db62708fe73ba431eba9358d48f5bc3175595407469f9c3aa52c46b4c2a8d674e86a48f2516cf4fce5c69a8285b5a02e858380d9bf9b13737
7
+ data.tar.gz: 18da4c29b825a46e97f7d9889c869e25033207928d9aaaac7fb121d9051e14462ae5f0ce0beb610b64263547554499d3ccace79cf3d06c6f8700caeb365e32ac
@@ -8,7 +8,7 @@ module Pulitzer
8
8
  belongs_to :content_element_type
9
9
  belongs_to :post_type_content_element_type
10
10
  delegate :type, :text_type?, :image_type?, :video_type?, to: :content_element_type
11
- delegate :required?, :sort_order, to: :post_type_content_element_type
11
+ delegate :required?, :sort_order, to: :post_type_content_element_type, allow_nil: true
12
12
  delegate :post, to: :version
13
13
 
14
14
  attr_accessor :version_unavailable, :ensure_unique
@@ -4,7 +4,7 @@ module Pulitzer
4
4
  belongs_to :free_form_section_type
5
5
  has_many :partials, -> { order :sort_order}
6
6
 
7
- delegate :sort_order, to: :free_form_section_type
7
+ delegate :sort_order, to: :free_form_section_type, allow_nil: true
8
8
 
9
9
  def partial(name)
10
10
  self.partials.to_a.detect{|ffs| ffs.name == name}
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut