katalyst-navigation 1.8.2 → 1.8.3

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: dff1d6f7c20b8dc586d6d763fb27037c58f8c2cb695777e6ac60644daf02cdb9
4
- data.tar.gz: d14fe1d6280c8d14d3a4acbda5da9343e2ac39a62a3a8d05dfb1e23e9199f9d5
3
+ metadata.gz: 6e634425e33c60aee5363d526e80f9936156de31454c53e36331df85df864c26
4
+ data.tar.gz: 8bca5d95d657e2b56f7f5b7dea4c0ed23dbd41c3bb1654f0dedc4c58d1ac72ec
5
5
  SHA512:
6
- metadata.gz: 45b3f3febece2ac3a5c10ac3f340b3b6935d2ee5982def4d28650a31a54745073c94ae84ca6eda30dd7d1d682670cbc10b2bb5a5323def7a50bc7f6d7b5356f4
7
- data.tar.gz: ae53c795a6a374a845287f50838670831f16c0faea828aab546fc50979f3be65c58ad1b0369549a002bd11d2f7d740e18864e85d5bfd22a49d49919672f2c708
6
+ metadata.gz: 64233072f038100f99cd7bb834ea615efc7f6b85c8b30d074c86f07101a0e3f0c6ea7b1be87ccd8292a48d8c493b453ae02586d7f44a890f0edba43f6b0aa992
7
+ data.tar.gz: 43742fb55722b14de7b2d41c037828b591b720ed920c2e46be621e64c7be52af2b09e77e281400db4a353bfff972c3e123baf462ec2cbf7dac6f32c7a876e527
@@ -1,11 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rails"
3
+ require "katalyst/kpop"
4
+ require "katalyst/tables"
5
+ require "rails/engine"
4
6
 
5
7
  module Katalyst
6
8
  module Navigation
7
9
  class Engine < ::Rails::Engine
8
10
  isolate_namespace Katalyst::Navigation
11
+ config.eager_load_namespaces << Katalyst::Navigation
9
12
 
10
13
  initializer "katalyst-navigation.asset" do
11
14
  config.after_initialize do |app|
@@ -1,18 +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
- require "katalyst/tables"
7
- require "view_component"
8
-
9
- require "katalyst/navigation/config"
10
- require "katalyst/navigation/engine"
11
4
 
12
5
  module Katalyst
13
6
  module Navigation # :nodoc:
7
+ extend ActiveSupport::Autoload
14
8
  extend self
15
9
 
10
+ autoload :Config
11
+
16
12
  def config
17
13
  @config ||= Config.new
18
14
  end
@@ -22,3 +18,5 @@ module Katalyst
22
18
  end
23
19
  end
24
20
  end
21
+
22
+ require "katalyst/navigation/engine"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katalyst-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.3
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: katalyst-html-attributes