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 +4 -4
- data/lib/katalyst/content/engine.rb +4 -1
- data/lib/katalyst/content.rb +5 -5
- 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: 9f1e48e5c4ca1dd80c1f2cf5b55d10ced110836871d8b6e6565f2a6374ebcd9d
|
4
|
+
data.tar.gz: 857859a63e6bcd2fabefdbbe26f7980b9e5f528aa283a1ac2bf5d8df1de9f257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 221c2e9c19c45d041022ad6ba4120553463f9c084eed5e323ceaedaf5dfceef792f7c7c2edce9bc67bf44ea5128b75908ed8366e8585e12de3226b04b0e374fb
|
7
|
+
data.tar.gz: bec1eedffc4d2f6c814d83dfc01c8e627cd1ec669d119eef291ff51d946f384c8c548126266a21d7b5d738e8bb024d76e203f6d151b7989c6ccbb70bba9ab5cd
|
@@ -1,11 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
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)
|
data/lib/katalyst/content.rb
CHANGED
@@ -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.
|
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-
|
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
|