tabulatr2 0.9.18 → 0.9.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tabulatr/data/filtering.rb +2 -0
- data/lib/tabulatr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3b655c03dcf50a82e78181d23282b2c0c8d31fe
|
4
|
+
data.tar.gz: 1daac9cd6c31ed0d526179e20780916fbc1709be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07c7126020999c9f651d2175dd5ec39551eec36b512171179b16cd4df4a0acfa3ea92bbb4ab34cd9cab4bd408802a2fca572044b49bf1653c1a396ff491e7a26
|
7
|
+
data.tar.gz: 09f281504e5977518598b273656f022ba624e4556801c2261862bc16b031b204734f27db727bc8e2855f396ddedb39808e08fd91350d459e4b1ed5908a28b49f
|
@@ -73,6 +73,8 @@ module Tabulatr::Data::Filtering
|
|
73
73
|
when :enum then apply_string_condition("#{n.filter_sql} = ?", v.to_i)
|
74
74
|
when :enum_multiselect then apply_array_condition(n, v)
|
75
75
|
when :exact then apply_string_condition("#{n.filter_sql} = ?", v)
|
76
|
+
when Hash then apply_string_condition("#{n.filter_sql} = ?", v)
|
77
|
+
when Array then apply_string_condition("#{n.filter_sql} = ?", v)
|
76
78
|
when :like then apply_like_condition(n, v[:like])
|
77
79
|
when :date then apply_date_condition(n, v[:date])
|
78
80
|
when :range then apply_range_condition(n, v)
|
data/lib/tabulatr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabulatr2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Horn
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-04-
|
13
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|