katalyst-tables 2.2.4 → 2.2.5
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: ce0864bc72a6abeb1e6d2060d278650cc6788c3afd87b5ab161ed1fafbeb91b6
|
4
|
+
data.tar.gz: 668e674d96f58861e0a84e859c65dd3f9ad4ddd1c47f822f2d3a473b3b74709d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42004d7e06b23581d04a0e7d381179fa550350d8221127fbd6d15dc9e8b40ff219246baa302e1379c6a7f02abfc3e2b7c955cae7eaa18c9890be7f0bfa60df10
|
7
|
+
data.tar.gz: 066e394af2e31e1ebe060ed39fc67ecf9b80ad880a526c7ef1e233abb1116e9d4f16507fb89f800d755f2ffae7bad9aaeb4cd0ae4fb67724b86f46fa2eb16976
|
@@ -13,6 +13,12 @@ module Katalyst
|
|
13
13
|
|
14
14
|
include Reducers
|
15
15
|
|
16
|
+
class_methods do
|
17
|
+
def permitted_params
|
18
|
+
attribute_names
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
16
22
|
included do
|
17
23
|
attr_accessor :items
|
18
24
|
|
@@ -48,7 +54,7 @@ module Katalyst
|
|
48
54
|
end
|
49
55
|
|
50
56
|
def with_params(params)
|
51
|
-
self.attributes = params.permit(self.class.
|
57
|
+
self.attributes = params.permit(self.class.permitted_params)
|
52
58
|
|
53
59
|
self
|
54
60
|
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.5
|
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-09-
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html-attributes-utils
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
rubygems_version: 3.4.
|
112
|
+
rubygems_version: 3.4.20
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: HTML table generator for Rails views
|