katalyst-navigation 1.8.2 → 1.8.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba532b593b5abf0a722dccafede0ffb1c321080b82b9d1f0bd6294b4b2061bb1
|
4
|
+
data.tar.gz: c21364fa3de9868564964cf23b90493e0250ef59e43c9469d2ed87095171d0df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b2a8856c3283b2a1b2141eedfa29462b95efe8e1918a24c346a0278b4b6c4cdf423616d8c9a9156938d4344849b3fa251f921680cffffd0d8580018040698e2
|
7
|
+
data.tar.gz: 51d6e8fb93d4550c3b29af9645d684ea376eae1d3fb283d32205845a453b77cd340101e7183f1c566db15b51d3a3e07d642cf26baeca4bd27c0745df2a1afaf9
|
@@ -19,11 +19,11 @@ module Katalyst
|
|
19
19
|
|
20
20
|
attribute :http_method, :string, default: "get"
|
21
21
|
|
22
|
-
enum http_method
|
22
|
+
enum :http_method, HTTP_METHODS, prefix: :http
|
23
23
|
|
24
24
|
attribute :target, :string, default: "self"
|
25
25
|
|
26
|
-
enum target
|
26
|
+
enum :target, TARGETS, prefix: :target
|
27
27
|
end
|
28
28
|
|
29
29
|
def link_attributes
|
@@ -1,11 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
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|
|
data/lib/katalyst/navigation.rb
CHANGED
@@ -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.
|
4
|
+
version: 1.8.4
|
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-
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katalyst-html-attributes
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
|
-
rubygems_version: 3.5.
|
174
|
+
rubygems_version: 3.5.16
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: Navigation generator and editor
|