zadok 0.10.2 → 0.10.3

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: 4a3ca794a653f31695d75b76b87b072db16916cb7b877c612b162cf60c73c367
4
- data.tar.gz: 0f523646ed57ca76c2c6ca4b17ff19ab2b756d5a1c581cc7a9f9f8eb61ee2e33
3
+ metadata.gz: bf08b49631a9be31f55f4b65ff2bc934ae8a22b527b7243d70e4e4adeaac577d
4
+ data.tar.gz: 5f165fd5fef83c49d86e9bb7d976bb89e4ae8fdd34f50516f06f620c8b336974
5
5
  SHA512:
6
- metadata.gz: 6781d12b094acdf9d3649368f5efc05b29acece67d2e744e82e1ff4908ba9b6f78671966e554cf64bf2b9e907229c0a3b6ea31a3e70e3d4fec6e6b3d2bf0d3c9
7
- data.tar.gz: 5a3f1ed023818be0c084c1a2c90662b83bc31d23fd4de571ae63f9a482302255910441a207e334a24c94157d1d4cc7af758019f1daf41bc8b72b68427bcbbafd
6
+ metadata.gz: aa126dbf8327efd651e1b0779319893a80816e10790edfbb027f8c7dd0c3d2997f08fd546ba66a241c9912118ae3213c2b154655234c33962ad37ee7b24ddc70
7
+ data.tar.gz: cffde4ee5e74c7b8d2a13ed2bbe3008e258984f96b28f4f6e39620586bc79f5a6ffd39df5a6f5563f88358f493e622015d3cf0be9abfb700c48a11666101b38b
@@ -1,5 +1,5 @@
1
1
  .textfield.numeric_range_field
2
- = text_field_tag filter.name, filter.value(params),
2
+ = text_field_tag filter.name, filter.value(search_params),
3
3
  placeholder: I18n.t("filter.labels.numeric_range.placeholder"),
4
4
  pattern: ' *- *\d+|\d+( *- *(\d+)?)?',
5
5
  "data-role" => "numeric_range",
@@ -1,5 +1,5 @@
1
1
  - filter.options.each do |value, label|
2
2
  .radio
3
3
  label
4
- = form.radio_button filter.param, value
4
+ = form.radio_button(filter.param, value)
5
5
  = label
@@ -1,2 +1,2 @@
1
1
  .textfield
2
- = form.text_field filter.param, class: "form-control"
2
+ = form.text_field(filter.param, value: filter.describe(search_params), class: "form-control")
data/lib/zadok/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 10
6
- VERSION_TINY = 2
6
+ VERSION_TINY = 3
7
7
  VERSION_PRE = nil
8
8
 
9
9
  VERSION = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-09 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap