activeadmin 1.4.1 → 1.4.2
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 +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/gemfiles/rails_42.gemfile.lock +1 -1
- data/gemfiles/rails_50.gemfile.lock +1 -1
- data/gemfiles/rails_51.gemfile.lock +1 -1
- data/lib/active_admin/filters/forms.rb +5 -2
- data/lib/active_admin/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: 0b2d9707cdad7f598163f5c46ca966ae2fd6b88d67dd679a35b2ee93b9e745c4
|
|
4
|
+
data.tar.gz: 719b7941e79ffff45fe53f01e89a19db6be58528329c54dc17e190bd4db8fddb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29bf6765fdaeea4bea02691c2ab88fe513765d619b91d1bf045b52e078e97c0673cdce34a6ab3e4f197e8fd6023b3a36c1845d93b40b39da5564321105cc963a
|
|
7
|
+
data.tar.gz: 58730ca45ae1a34cfa5b41e8a9735db5527110c054e42d30965e227d28c470e8e90123605aa411f693f3f9ecc649caa5b8ff2ac0a26b26f57a6649c01ec62dc5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 1.4.2 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.1...v1.4.2)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* Fix `input_html` filter option evaluated only once. [#5376][] by [@kjeldahl][]
|
|
4
10
|
|
|
5
11
|
## 1.4.1 [☰](https://github.com/activeadmin/activeadmin/compare/v1.4.0...v1.4.1)
|
|
6
12
|
|
|
@@ -331,6 +337,7 @@ Please check [0-6-stable][] for previous changes.
|
|
|
331
337
|
[#5359]: https://github.com/activeadmin/activeadmin/pull/5359
|
|
332
338
|
[#5368]: https://github.com/activeadmin/activeadmin/pull/5368
|
|
333
339
|
[#5375]: https://github.com/activeadmin/activeadmin/pull/5375
|
|
340
|
+
[#5376]: https://github.com/activeadmin/activeadmin/pull/5376
|
|
334
341
|
[#5399]: https://github.com/activeadmin/activeadmin/pull/5399
|
|
335
342
|
[#5401]: https://github.com/activeadmin/activeadmin/pull/5401
|
|
336
343
|
[#5408]: https://github.com/activeadmin/activeadmin/pull/5408
|
|
@@ -375,6 +382,7 @@ Please check [0-6-stable][] for previous changes.
|
|
|
375
382
|
[@jawa]: https://github.com/jawa
|
|
376
383
|
[@JiiHu]: https://github.com/JiiHu
|
|
377
384
|
[@johnnyshields]: https://github.com/johnnyshields
|
|
385
|
+
[@kjeldahl]: https://github.com/kjeldahl
|
|
378
386
|
[@kobeumut]: https://github.com/kobeumut
|
|
379
387
|
[@leio10]: https://github.com/leio10
|
|
380
388
|
[@markstory]: https://github.com/markstory
|
data/Gemfile.lock
CHANGED
|
@@ -57,8 +57,11 @@ module ActiveAdmin
|
|
|
57
57
|
filters.each do |attribute, opts|
|
|
58
58
|
next if opts.key?(:if) && !call_method_or_proc_on(self, opts[:if])
|
|
59
59
|
next if opts.key?(:unless) && call_method_or_proc_on(self, opts[:unless])
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
|
|
61
|
+
filter_opts = opts.except(:if, :unless)
|
|
62
|
+
filter_opts[:input_html] = instance_exec(&filter_opts[:input_html]) if filter_opts[:input_html].is_a?(Proc)
|
|
63
|
+
|
|
64
|
+
f.filter attribute, filter_opts
|
|
62
65
|
end
|
|
63
66
|
|
|
64
67
|
buttons = content_tag :div, class: "buttons" do
|
data/lib/active_admin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activeadmin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Greg Bell
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-11-
|
|
11
|
+
date: 2018-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: arbre
|