katalyst-tables 2.2.7 → 2.2.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baf08d43e92a19b9ada1834020d34cffd41eae9c2621ecf8c5d2909186c180f2
|
4
|
+
data.tar.gz: ea9f5d9a8acbe840c03096e38eef0b6cd2ee6d71fdc95d18e1ac0908883347fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 922f28f297e834b1584275236524de22dbc94e56850fb575557ffcc7ad8061242fc96886bf128e55681f2b7f664c44c0aac8fe9adfeb26e043adba14f20b78c4
|
7
|
+
data.tar.gz: 0f3bcaed4e1c140fe2f3707df1979535ba2f394c0e0986b3e6320c194589daeb019397574c5d6eb0092955e95e1bb5f86e67b1f445df87f4daae1bb07cc4dc04
|
@@ -16,6 +16,11 @@ module Katalyst
|
|
16
16
|
|
17
17
|
class_methods do
|
18
18
|
delegate :use, :insert, to: :reducers
|
19
|
+
|
20
|
+
def inherited(subclass)
|
21
|
+
super
|
22
|
+
subclass.reducers = reducers.dup
|
23
|
+
end
|
19
24
|
end
|
20
25
|
|
21
26
|
class Stack # :nodoc:
|
@@ -23,6 +28,10 @@ module Katalyst
|
|
23
28
|
@stack = []
|
24
29
|
end
|
25
30
|
|
31
|
+
def initialize_dup(other)
|
32
|
+
@stack = other.instance_variable_get(:@stack).dup
|
33
|
+
end
|
34
|
+
|
26
35
|
def use(klass)
|
27
36
|
@stack << Reducer.new(klass) unless index(klass)
|
28
37
|
end
|
data/config/importmap.rb
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
|
4
|
-
pin "@hotwired/turbo", to: "turbo.min.js", preload: true
|
5
|
-
|
6
3
|
pin_all_from Katalyst::Tables::Engine.root.join("app/assets/javascripts"),
|
7
4
|
# preload in tests so that we don't start clicking before controllers load
|
8
5
|
preload: Rails.env.test?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katalyst-tables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html-attributes-utils
|