katalyst-content 2.4.0 → 2.4.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 +4 -4
- data/app/components/katalyst/content/editor/new_item_component.rb +1 -1
- data/app/components/katalyst/content/editor_component.html.erb +1 -1
- data/app/models/katalyst/content/table.rb +1 -1
- data/config/routes.rb +2 -0
- data/db/migrate/20230515151440_change_katalyst_content_items_show_heading_column.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bfb581f4ada2518243e91f8194efd3d150259633374726b2efc6329bdf7ec69
|
4
|
+
data.tar.gz: d87c6cddedd46a9a87adcecccd649b5b9f3e0253b2444bfbc36a3a7e02e9b62f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d425c40c9d3c52acf167f82ee2675127b4ab584c3745971fcd8257c4b01ca063fba5630e0388dcc3805fe71ac02b1d1402b610491e8475c3244e706e6eb5694
|
7
|
+
data.tar.gz: 11bed2d61c98e22433d8650a13e293cd3d3e522078854831fc3596c54ba8d6d3c9f0abda1e6255a9364b1864c433dc0cc7ef2eefc7d28818d9af2b4297a55a01
|
data/config/routes.rb
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class ChangeKatalystContentItemsShowHeadingColumn < ActiveRecord::Migration[7.0]
|
4
|
+
# rubocop:disable Rails/SkipsModelValidations
|
4
5
|
def up
|
5
6
|
add_column :katalyst_content_items, :heading_style, :integer, null: false, default: 0
|
6
7
|
Katalyst::Content::Item.where(show_heading: true).update_all(heading_style: 1)
|
7
8
|
remove_column :katalyst_content_items, :show_heading, :boolean
|
8
9
|
end
|
10
|
+
# rubocop:enable Rails/SkipsModelValidations
|
9
11
|
|
10
12
|
def down
|
11
13
|
raise ActiveRecord::IrreversibleMigration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katalyst-content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_storage_validations
|