alchemy_cms 8.4.4 → 8.4.5

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.
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.4.4
4
+ version: 8.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -1351,7 +1351,6 @@ files:
1351
1351
  - db/migrate/20260702090038_add_index_to_elements_pages_join_table.rb
1352
1352
  - db/migrate/20260727120000_add_permitted_roles_to_alchemy_pages.rb
1353
1353
  - db/migrate/20260820120000_add_cached_tag_list_to_taggables.rb
1354
- - lib/alchemy.rb
1355
1354
  - lib/alchemy/auth_accessors.rb
1356
1355
  - lib/alchemy/cache_digests/template_tracker.rb
1357
1356
  - lib/alchemy/config_missing.rb
data/lib/alchemy.rb DELETED
@@ -1,56 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "importmap-rails"
4
- require "alchemy/configurations/main"
5
- require "alchemy/config_missing"
6
-
7
- module Alchemy
8
- include Alchemy::ConfigMissing
9
- extend Alchemy::ConfigMissing
10
-
11
- YAML_PERMITTED_CLASSES = %w[Symbol Date Regexp]
12
-
13
- # JS Importmap instance
14
- singleton_class.attr_accessor :importmap
15
- self.importmap = Importmap::Map.new
16
-
17
- mattr_accessor :storage_adapter
18
-
19
- class << self
20
- def config
21
- @_config ||= Alchemy::Configurations::Main.new
22
- end
23
- delegate :configure, to: :config
24
-
25
- enable_searchable_deprecation_msg = "Use `Alchemy.config.show_page_searchable_checkbox` instead."
26
- def enable_searchable = config.show_page_searchable_checkbox
27
- deprecate :enable_searchable= => enable_searchable_deprecation_msg, :deprecator => Alchemy::Deprecation
28
-
29
- def enable_searchable=(other)
30
- config.show_page_searchable_checkbox = other
31
- end
32
- deprecate enable_searchable: enable_searchable_deprecation_msg, deprecator: Alchemy::Deprecation
33
-
34
- delegate :preview_sources, to: :config
35
- delegate :preview_sources=, to: :config
36
- deprecate preview_sources: "Use `Alchemy.config.preview_sources` instead.", deprecator: Alchemy::Deprecation
37
- deprecate :preview_sources= => "Use `Alchemy.config.preview_sources=` instead.", :deprecator => Alchemy::Deprecation
38
-
39
- delegate :admin_js_imports, to: :config
40
- delegate :admin_js_imports=, to: :config
41
- deprecate admin_js_imports: "Use `Alchemy.config.admin_js_imports` instead", deprecator: Alchemy::Deprecation
42
- deprecate :admin_js_imports= => "Use `Alchemy.config.admin_js_imports=` instead", :deprecator => Alchemy::Deprecation
43
-
44
- delegate :admin_importmaps, to: :config
45
- deprecate admin_importmaps: "Use Alchemy.config.admin_importmaps instead", deprecator: Alchemy::Deprecation
46
-
47
- delegate :admin_stylesheets, to: :config
48
- deprecate admin_stylesheets: "Use Alchemy.config.admin_stylesheets instead", deprecator: Alchemy::Deprecation
49
-
50
- delegate :publish_targets, to: :config
51
- deprecate publish_targets: "Use Alchemy.config.publish_targets instead", deprecator: Alchemy::Deprecation
52
-
53
- delegate :link_dialog_tabs, to: :config
54
- deprecate link_dialog_tabs: "Use Alchemy.config.link_dialog_tabs instead", deprecator: Alchemy::Deprecation
55
- end
56
- end