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: 67386b67c7add01c35e38a9a2615c09fb56dbc3a77f74289671e3df3539e82ef
4
- data.tar.gz: efbadc3abde98aaf0591b9ac8566c982b1d3c3094f7375b2e4555d8e21a269a9
3
+ metadata.gz: 9690ce757d09cddb903c98a09240c17461f600697049cd4686fc692cdb49e5bc
4
+ data.tar.gz: 1ef71d16b2f15fd83253b79bf804eeeff9681cc87f9b184c412fa59c12d3cef3
5
5
  SHA512:
6
- metadata.gz: 74d3ac936c53778bee4c15cac9ced3ae219eb00f7338aba68d8ac713844e7a83fd74ee0a195b21fba03880fd8ad2a0d5e39f2e3d03f50931088de7134a263dba
7
- data.tar.gz: 4649815a1c692d4b1d6ab7e30c99b4a76e605dbbe8f2771415a5e44eb90cbb716e55e3d46336e67a68530f33051f7e51e50781c5387a60438f930ebadad35377
6
+ metadata.gz: 0e10dddb13500bf9758e0c5ca15073807ce1c0a83ccfd8f350d02ce70cc64fff8fb128d320a54f9f66ebb640b4410836ec460800f448e8d196d00bd30c64229e
7
+ data.tar.gz: 8d55f9eefe6c611bbc0b452fc96b70fd39c7bcdd51ea395d1fc485ad90838b9eb29f6bb79cec382d196826fbe2b06e4480c3caf203003d7bd8dce1b5481327fa
@@ -4,8 +4,6 @@ module Katalyst
4
4
  module Content
5
5
  module Editor
6
6
  class NewItemComponent < BaseComponent
7
- include ::Turbo::StreamsHelper
8
-
9
7
  with_collection_parameter :item
10
8
 
11
9
  def initialize(item:, container: item.container)
@@ -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.0
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.16
234
+ rubygems_version: 4.0.20
235
235
  specification_version: 4
236
236
  summary: Rich content page builder and editor
237
237
  test_files: []