datagrid 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/datagrid/form_builder.rb +2 -6
- data/lib/datagrid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 701bbc42a7501aa45a10d3899b92c9d1f745dae75b0a7eb219db1c339c182cb8
|
4
|
+
data.tar.gz: cb309f1b9f08b3c1455c1b8650cf222867ba68721a9eb344b310bc5d7d5712e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bac4684420163514873a8a31bd06d182d216c8fff27f61d57368d605165838021a33d8603596ee04aee02e2b97a130308553bf36a8b6db0717f363b4c5ad472
|
7
|
+
data.tar.gz: 4f6190ffaadbf77d0bc39ca632de5df1bcd2ef716bff40a5074b48f710d8b2257e0a95759fe8465a756819deb5e9202abb92a64783eae2bd3804d6c5ddf02e8a
|
data/CHANGELOG.md
CHANGED
@@ -10,12 +10,8 @@ module Datagrid
|
|
10
10
|
# * <tt>text_field</tt> for other filter types
|
11
11
|
def datagrid_filter(filter_or_attribute, partials: nil, **options, &block)
|
12
12
|
filter = datagrid_get_filter(filter_or_attribute)
|
13
|
-
|
14
|
-
|
15
|
-
**filter.input_options,
|
16
|
-
**add_html_classes(options, filter.name, datagrid_filter_html_class(filter)),
|
17
|
-
&block
|
18
|
-
)
|
13
|
+
options = add_html_classes({**filter.input_options, **options}, filter.name, datagrid_filter_html_class(filter))
|
14
|
+
self.send( filter.form_builder_helper_name, filter, **options, &block)
|
19
15
|
end
|
20
16
|
|
21
17
|
# @param filter_or_attribute [Datagrid::Filters::BaseFilter, String, Symbol] filter object or filter name
|
data/lib/datagrid/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datagrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bogdan Gusiev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|