udongo 6.5.0 → 6.5.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
  SHA1:
3
- metadata.gz: b472cb5a6fd52fc04293198da1bcb0b55d45011d
4
- data.tar.gz: 0f77a3f2825ec25f82581e811e118463b221e075
3
+ metadata.gz: a70fc4a4a70b08f27bea86b46e1b5e36a8b3f76e
4
+ data.tar.gz: 4a2358e8f6064d654f671a24796a630419d5dfeb
5
5
  SHA512:
6
- metadata.gz: 253742cc8ec2d84c1ad471d2b5f9fc848ceb0c86b1f194d881094288d989abcb73d2a39f21d862257966fdcc70f8fc25692ab756bc8a823c3282e24b581c6ae4
7
- data.tar.gz: c3a932e95ae6ea2ff16ac4d53c8aaa8f6099acb2f3ae828ca0009373bdb8ceea4c4ec27f489cb4c150a12c5e021747c6ba8c96b0ed6711c311c49b5a78df6401
6
+ metadata.gz: 74f0d5b50c288ed4d59d37698e0fa04a265ca85d34262bfbfadcad63538a4a3e3346a94bea1eae96b3d9b09138be4ec837611c398491f4f90d4046e7873fff41
7
+ data.tar.gz: 2313bbc3c56e508a16fb290fb60515789ca9e5dbf2a293bd77a070f2de196f00fb6ef676c923161f6dc37a59c53c4b1f6d7f562525bf514e855b8209f1df7b2f
@@ -20,7 +20,7 @@ class ContentColumn < ApplicationRecord
20
20
  numericality: { greater_than: 0, less_than_or_equal_to: 12, only_integer: true }
21
21
 
22
22
  def linked_to_searchable_parent?
23
- parent.present? && parent.searchable?
23
+ parent.present? && parent.respond_to?(:searchable?) && parent.searchable?
24
24
  end
25
25
 
26
26
  def parent
@@ -10,6 +10,6 @@ class ContentText < ApplicationRecord
10
10
  end
11
11
 
12
12
  def linked_to_searchable_parent?
13
- column.present? && parent.present? && parent.searchable?
13
+ column.present? && parent.present? && parent.respond_to?(:searchable?) && parent.searchable?
14
14
  end
15
15
  end
data/changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ 6.5.1 - 2017-06-026
2
+ --
3
+ * Bugfix: don't assume #searchable? is a method that exists on every model.
4
+
5
+
1
6
  6.5.0 - 2017-06-25
2
7
  --
3
8
  * It's now possible to disable the flexible content row gutters.
@@ -1,3 +1,3 @@
1
1
  module Udongo
2
- VERSION = '6.5.0'
2
+ VERSION = '6.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: udongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.5.0
4
+ version: 6.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davy Hellemans
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-25 00:00:00.000000000 Z
12
+ date: 2017-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails