alchemy_cms 8.3.2 → 8.3.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
  SHA256:
3
- metadata.gz: 1b04e4e4b1a957d1e6b4bde6f654243e8afc76bd4bc4bd7a45b55f5dffb9bfe3
4
- data.tar.gz: 5599b3d17143ed7b1747b7de229d9a96e66f66063942846841801f06ad7c84e3
3
+ metadata.gz: '097caca68dd353e42e9bb10bdb7b5ea0a237308acd64de7eb969cea76b28d4ac'
4
+ data.tar.gz: 916cdaff59f30ac87724dea1da7c5ffd220d46d56140fe42d2efce78cd3c3a31
5
5
  SHA512:
6
- metadata.gz: db6457e4a3a91300dd6b97cd09d7eb26b557670e2bd647c6948e7b508bca935d157ed06eb312d9f1852b823dd63202073d82bf933fca1c39bb57bd67cbcd3c03
7
- data.tar.gz: f047920f3c634ee92d3109619974a07d5917510e88cf66f925326fae62a9af6779d059a4e5d72e5ebb17c5c36d72f0de1d4d4903f50d786ec94ffea6f336802c
6
+ metadata.gz: d212dda3b5f43b3592dc77decb02b747ef733c87901a6fd43e39003c482cfabe378d2fc3303ddd2e403f20b950d1d3bf29efd88b70df531823d036614d7b8734
7
+ data.tar.gz: 6f9ed134a7c10440076428ad24877eaf7a4320eef82c97fdabc826db5499d36d7988ea116e6862bea3e23771875394eeafcf8f5a19eb8df8d07bea1738dcd445
data/config/importmap.rb CHANGED
@@ -15,12 +15,18 @@ pin "tinymce", to: "tinymce.min.js", preload: true
15
15
  pin "tom-select", to: "tom-select.min.js", preload: true
16
16
 
17
17
  pin "alchemy_admin", to: "alchemy/alchemy_admin.min.js", preload: true
18
- pin "alchemy_admin/components/remote_select", to: "alchemy/alchemy_admin.min.js"
19
- pin "alchemy_admin/components/page_select", to: "alchemy/alchemy_admin.min.js"
20
- pin "alchemy_admin/components/attachment_select", to: "alchemy/alchemy_admin.min.js"
21
- pin "alchemy_admin/components/element_select", to: "alchemy/alchemy_admin.min.js"
22
- pin "alchemy_admin/components/tags_autocomplete", to: "alchemy/alchemy_admin.min.js"
23
- pin "alchemy_admin/components/tinymce", to: "alchemy/alchemy_admin.min.js"
18
+ # Individually importable admin components. These resolve to their source
19
+ # files (not the bundle) so host engines can import a single component without
20
+ # loading and executing the whole admin bundle. Not preloaded, so they add no
21
+ # fetches to normal admin page loads (which import the bundle instead).
22
+ pin "alchemy_admin/components/page_select"
23
+ pin "alchemy_admin/components/attachment_select"
24
+ pin "alchemy_admin/components/element_select"
25
+ pin "alchemy_admin/components/tags_autocomplete"
26
+ pin "alchemy_admin/components/tinymce"
27
+ pin "alchemy_admin/components/remote_select"
28
+ pin "alchemy_admin/components/select"
29
+ pin "alchemy_admin/i18n"
24
30
  pin "alchemy_admin/image_cropper", to: "alchemy/alchemy_admin.min.js"
25
31
  pin "alchemy_admin/image_overlay", to: "alchemy/alchemy_admin.min.js"
26
32
  pin "alchemy_admin/picture_selector", to: "alchemy/alchemy_admin.min.js"
@@ -0,0 +1,14 @@
1
+ class AddIndexToElementsPagesJoinTable < ActiveRecord::Migration[7.2]
2
+ disable_ddl_transaction! if connection.adapter_name.match?(/postgres/i)
3
+
4
+ def change
5
+ add_index :alchemy_elements_alchemy_pages, :element_id, if_not_exists: true, algorithm: algorithm
6
+ add_index :alchemy_elements_alchemy_pages, :page_id, if_not_exists: true, algorithm: algorithm
7
+ end
8
+
9
+ private
10
+
11
+ def algorithm
12
+ connection.adapter_name.match?(/postgres/i) ? :concurrently : nil
13
+ end
14
+ end
@@ -3,7 +3,7 @@
3
3
  module Alchemy
4
4
  extend self
5
5
 
6
- VERSION = "8.3.2"
6
+ VERSION = "8.3.3"
7
7
 
8
8
  def version
9
9
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.2
4
+ version: 8.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -1320,6 +1320,7 @@ files:
1320
1320
  - db/migrate/20260102121232_add_metadata_to_page_versions.rb
1321
1321
  - db/migrate/20260115164704_add_publication_timestamps_to_alchemy_elements.rb
1322
1322
  - db/migrate/20260115164705_add_index_to_element_publication_timestamps.rb
1323
+ - db/migrate/20260702090038_add_index_to_elements_pages_join_table.rb
1323
1324
  - lib/alchemy.rb
1324
1325
  - lib/alchemy/ability_helper.rb
1325
1326
  - lib/alchemy/admin/locale.rb