katalyst-content 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6a6f54f7d667a7f22b554a812d4eeaccdf177441f9aa472b39f9cf6ecf9391f
4
- data.tar.gz: c9d797a85f1a2fa139c4aa275c55840621b76da138db1f01deb5ada1239d4a08
3
+ metadata.gz: 9f1e48e5c4ca1dd80c1f2cf5b55d10ced110836871d8b6e6565f2a6374ebcd9d
4
+ data.tar.gz: 857859a63e6bcd2fabefdbbe26f7980b9e5f528aa283a1ac2bf5d8df1de9f257
5
5
  SHA512:
6
- metadata.gz: 62adedcdf33603f1afe25a51bb3f44a7b956e400a58c7820fc2a09887fafd713034dc9eea56088d124e259753e99e1914cac83dd0fba9a1e70c4a1c6c40d4787
7
- data.tar.gz: 790ec607c8ce81d4bfe522f6a95dce04ed8c9c238161752446a05edaecb5ab62297cf0ea1df9cf060d4bb47fff4b75ac74da41e2e8c407b20bb51c363bae1a13
6
+ metadata.gz: 221c2e9c19c45d041022ad6ba4120553463f9c084eed5e323ceaedaf5dfceef792f7c7c2edce9bc67bf44ea5128b75908ed8366e8585e12de3226b04b0e374fb
7
+ data.tar.gz: bec1eedffc4d2f6c814d83dfc01c8e627cd1ec669d119eef291ff51d946f384c8c548126266a21d7b5d738e8bb024d76e203f6d151b7989c6ccbb70bba9ab5cd
@@ -1,11 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rails"
3
+ require "katalyst/html_attributes"
4
+ require "katalyst/kpop"
5
+ require "rails/engine"
4
6
 
5
7
  module Katalyst
6
8
  module Content
7
9
  class Engine < ::Rails::Engine
8
10
  isolate_namespace Katalyst::Content
11
+ config.eager_load_namespaces << Katalyst::Content
9
12
 
10
13
  initializer "katalyst-content.factories", after: "factory_bot.set_factory_paths" do
11
14
  FactoryBot.definition_file_paths << Engine.root.join("spec/factories") if defined?(FactoryBot)
@@ -1,16 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "active_support"
4
- require "katalyst/html_attributes"
5
- require "katalyst/kpop"
6
-
7
- require "katalyst/content/config"
8
- require "katalyst/content/engine"
9
4
 
10
5
  module Katalyst
11
6
  module Content
7
+ extend ActiveSupport::Autoload
12
8
  extend self
13
9
 
10
+ autoload :Config
11
+
14
12
  def config
15
13
  @config ||= Config.new
16
14
  end
@@ -20,3 +18,5 @@ module Katalyst
20
18
  end
21
19
  end
22
20
  end
21
+
22
+ require "katalyst/content/engine"
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.5.0
4
+ version: 2.5.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-07-05 00:00:00.000000000 Z
11
+ date: 2024-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_storage_validations