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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6473367916ab2e6e08fa0c12d6ad52c8a4d46133
4
- data.tar.gz: b07f60664c8256ed0f407a14488ebb3169cc549e
3
+ metadata.gz: a3b655c03dcf50a82e78181d23282b2c0c8d31fe
4
+ data.tar.gz: 1daac9cd6c31ed0d526179e20780916fbc1709be
5
5
  SHA512:
6
- metadata.gz: 524a2b9d439a6a6ac6d86fe332ddd02ca84eef9d52ef4f39f326ec61019b4d804560c0cd62475107e58f2c61f1041f5410dfd733af25d96e63c1da9913fbb85c
7
- data.tar.gz: 6564584c80a000705359a4f8cbdcdfdcbe0a2137fe79fc6af97ec706755d5d716c716f9a930611e8a7a3872ff02257f8e778605d68f82b233ff39693a650e82c
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)
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.9.18"
25
+ VERSION = "0.9.19"
26
26
  end
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.18
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-28 00:00:00.000000000 Z
13
+ date: 2015-04-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails