databound 3.1.0 → 3.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62142f1e789c32e120915d4262dc4f304cd10f1a
4
- data.tar.gz: 155cd3e12b5898facaebce3154bfa977b4d248af
3
+ metadata.gz: 83275ef550b6aae9457802bf4ce2f153673c2daa
4
+ data.tar.gz: 72e59a6d109af6c81be354c7b3b05cd99bb4e3ed
5
5
  SHA512:
6
- metadata.gz: 37bb7f07e1fd980a94a9173aed4bbcbe8985847beeb25e3ca0a5d920c749337a358d509de015bef840ea0303ba3f0565cbe49a187d68b86eac7df12bdf19dccc
7
- data.tar.gz: ac96fcfc5914ea90498701d3ea98e3c39267f6b55c55baf574adb92556a86c677dbd40ac697c87137c9d75e881b1e366772f43c70de5389ffb1e1b2c66b6f0aa
6
+ metadata.gz: ab72b42dd6f209f67a7da51f2a93870f3486eae229dd707336205a9c3915883f216c93ef91d7e5ada8ceeb11c8adbe3ba724d98ded9b3366777f981313776fad
7
+ data.tar.gz: 1843e0a8a2428bcfa4ab92ff3edb10927ee7206e913f4ba23db661405844767946e63592baa7630b70736e42f3a8e16dc1dc17a19c7d0e1d14318ea2fda1334a
@@ -158,7 +158,7 @@ module Databound
158
158
  end
159
159
 
160
160
  def filter_by_params!(records)
161
- records.where(params.to_h)
161
+ records.where(or_query(params, *@extra_where_scopes))
162
162
  end
163
163
  end
164
164
  end
@@ -1,3 +1,3 @@
1
1
  module Databound
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: databound
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domas Bitvinskas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-10 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-rails