filter_form 0.0.4 → 0.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aef1584f174e74d19da2a06e479a5bfb6ca9c2c
|
4
|
+
data.tar.gz: 5173a78a306554918eab38acfd79799439f49d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea6408cc040d3030b60ca0312ed9b645559827f44723b367d94d29d53725fd9fd121726bfa53b644ce1fe75e7cbf1f103bc6f6a076bf057edff9c6491a5b8f70
|
7
|
+
data.tar.gz: 95fcbab79211432aeb981dd8c147a947043d17340e1554151ed28fa0808241a7d046f65202d9f346f03cbdd2eb6eb46205c0fafe00177c054ba9e226a2343c18
|
@@ -1,12 +1,14 @@
|
|
1
1
|
module FilterForm
|
2
2
|
module Inputs
|
3
|
-
|
4
|
-
|
3
|
+
module String
|
4
|
+
class DateEq < FilterForm::Inputs::String::Base
|
5
|
+
DATE_CLASS = 'filter_form_date'
|
5
6
|
|
6
|
-
|
7
|
+
private
|
7
8
|
|
8
|
-
|
9
|
-
|
9
|
+
def additional_input_options
|
10
|
+
super.merge(class: DATE_CLASS)
|
11
|
+
end
|
10
12
|
end
|
11
13
|
end
|
12
14
|
end
|
data/lib/filter_form/version.rb
CHANGED