katalyst-tables 2.2.7 → 2.2.8
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: 912bbde0db12fa0f5a6c6eda7958273f2d0b3efe4476d407ee19b6e6abb3abd1
|
4
|
+
data.tar.gz: a065eaa897a541fdf08e257d17147206b38e1af2f92cc1ce508f6be19de60acb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d3ed117d5cf77f50674fe097d2979fa19253965e2ac14104637eb503c38c80f087f3c05eb7f87df25336b61a380ae541fa35e037bf9923cf38bb393cd38d7a9
|
7
|
+
data.tar.gz: 96a3adcfb05be7dd131e68f5851fe960d92d2d57ed07bf0d2bbf9f571ae6a26a47f213ee2e2567baa2f478f267d53a61dcf29e4c1d331057ccd9bbcf7af99e05
|
@@ -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
|
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.8
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html-attributes-utils
|