smithycms 0.7.2 → 0.7.3

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: 339216712e70e2fa53526b5760f353ba702b6e6b
4
- data.tar.gz: 575e4fc2142f509fb117ce74de6f9da0786638ea
3
+ metadata.gz: 4ddcfec9326cecb947ca8f6b438d922c50b9aade
4
+ data.tar.gz: a8baae438f9d3ecd2a51408d849a7483c9a9af62
5
5
  SHA512:
6
- metadata.gz: 8ef8d16a6ccfb048820f334227da3a5cd0a599f899c988e98a10235abb8eacb2a51b62edf2ff0e3c07fbf702932967b047669716350febbd414bab50ef49d73a
7
- data.tar.gz: 75aea5b4bdce235b846ce315c1d7eba86e024316f4cde35fc235a4f330a10cb982a61df0ddfab12f476b7b7b000cc3c088e275c5d01a22ff7655e560a4aa4e49
6
+ metadata.gz: cf299a6e9b5913807d587854ddb2140f311c1e12b4571695a6b42a5621b3dfd5135eb02c5f7f505726c335d7f15ee848ac0a7c7fedbb6f9268341410550a031e
7
+ data.tar.gz: b1c0bfccc3e54cc2917681625723bd9633f48c0e47e98ea6baa7f317a95c8bd03f164fe6260d9b4c7c5898f23119130759c45224a8ff7abd0a9ba954e7dd7e95
@@ -5,7 +5,7 @@ module Smithy
5
5
  validates_presence_of :label, :container, :page
6
6
 
7
7
  belongs_to :page, :touch => true
8
- belongs_to :content_block, :polymorphic => true, :dependent => :destroy
8
+ belongs_to :content_block, :polymorphic => true
9
9
  belongs_to :content_block_template
10
10
 
11
11
  before_update :set_publishable
@@ -3,7 +3,7 @@ module Smithy
3
3
  module Model
4
4
  extend ActiveSupport::Concern
5
5
  included do
6
- has_many :page_contents, :as => :content_block, class_name: '::Smithy::PageContent'
6
+ has_many :page_contents, :as => :content_block, class_name: '::Smithy::PageContent', dependent: :destroy
7
7
  has_many :pages, through: :page_contents, class_name: '::Smithy::Page'
8
8
  Smithy::ContentBlocks::Registry.register self
9
9
  amoeba do
@@ -1,3 +1,3 @@
1
1
  module Smithy
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smithycms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Glen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-10 00:00:00.000000000 Z
11
+ date: 2016-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails