katalyst-content 3.3.0 → 3.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9690ce757d09cddb903c98a09240c17461f600697049cd4686fc692cdb49e5bc
|
|
4
|
+
data.tar.gz: 1ef71d16b2f15fd83253b79bf804eeeff9681cc87f9b184c412fa59c12d3cef3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e10dddb13500bf9758e0c5ca15073807ce1c0a83ccfd8f350d02ce70cc64fff8fb128d320a54f9f66ebb640b4410836ec460800f448e8d196d00bd30c64229e
|
|
7
|
+
data.tar.gz: 8d55f9eefe6c611bbc0b452fc96b70fd39c7bcdd51ea395d1fc485ad90838b9eb29f6bb79cec382d196826fbe2b06e4480c3caf203003d7bd8dce1b5481327fa
|
|
@@ -8,9 +8,8 @@ module Katalyst
|
|
|
8
8
|
included do # rubocop:disable Metrics/BlockLength
|
|
9
9
|
include Katalyst::Content::HasTree
|
|
10
10
|
|
|
11
|
-
# rubocop:disable Rails/ReflectionClassName
|
|
11
|
+
# rubocop:disable-next Rails/ReflectionClassName
|
|
12
12
|
belongs_to :parent, class_name: name.gsub(/::Version$/, ""), inverse_of: :versions
|
|
13
|
-
# rubocop:enable Rails/ReflectionClassName
|
|
14
13
|
|
|
15
14
|
attribute :nodes, Katalyst::Content::Types::NodesType.new, default: -> { [] }
|
|
16
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
class ChangeKatalystContentItemsShowHeadingColumn < ActiveRecord::Migration[7.0]
|
|
4
|
-
# rubocop:disable Rails/SkipsModelValidations
|
|
4
|
+
# rubocop:disable-next Rails/SkipsModelValidations
|
|
5
5
|
def up
|
|
6
6
|
add_column :katalyst_content_items, :heading_style, :integer, null: false, default: 0
|
|
7
7
|
ActiveRecord::Base.connection.execute(<<~SQL.squish)
|
|
@@ -9,7 +9,6 @@ class ChangeKatalystContentItemsShowHeadingColumn < ActiveRecord::Migration[7.0]
|
|
|
9
9
|
SQL
|
|
10
10
|
remove_column :katalyst_content_items, :show_heading, :boolean
|
|
11
11
|
end
|
|
12
|
-
# rubocop:enable Rails/SkipsModelValidations
|
|
13
12
|
|
|
14
13
|
def down
|
|
15
14
|
raise ActiveRecord::IrreversibleMigration
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: katalyst-content
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Katalyst Interactive
|
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
231
231
|
- !ruby/object:Gem::Version
|
|
232
232
|
version: '0'
|
|
233
233
|
requirements: []
|
|
234
|
-
rubygems_version: 4.0.
|
|
234
|
+
rubygems_version: 4.0.20
|
|
235
235
|
specification_version: 4
|
|
236
236
|
summary: Rich content page builder and editor
|
|
237
237
|
test_files: []
|