filterer 0.3.2 → 0.3.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
  SHA1:
3
- metadata.gz: ce88e393c6fbd95794c9813c461e823e18b9d393
4
- data.tar.gz: 2c16b6712adcaee1a677897f58527dea69ad751f
3
+ metadata.gz: f5dce29419208f6f36ab661bf59650cda29e2c9b
4
+ data.tar.gz: 177654016dad7a672163d0201de485a7ba30ca52
5
5
  SHA512:
6
- metadata.gz: d8ad65ec7d16e2cd3cc07a74f51f04077656be5f93865e40c468d9084dffe7e5f86b69491ed405b2543c123cec1252df70d6b22abfeeb26dd284853ded339ef6
7
- data.tar.gz: 2d67f33c0b96f1017fb73043eb3446b8c8aea9476351ff73d22182d17ce389e100ad8e020be5b718be8b834eac5d0b1acf7f503a26b34e4bec3767587a9d2f9b
6
+ metadata.gz: 64652ccbc8884a62591cf964a66bbe02248b73da03a833cd0cf61084255220a5bf2100d823f75e6b7cf3b25bf758df6283c0fb06de57df12ca44511b820fa2ac
7
+ data.tar.gz: 6233055bd08dd0a5273f981028cce60f4976233fdbc2ec2b30161b4dc94a0c201506dcf0c9315284b365ed5f79181eed8accae46e86fcd53b0140f88ba8fd031
data/lib/filterer/base.rb CHANGED
@@ -78,7 +78,7 @@ module Filterer
78
78
  end
79
79
 
80
80
  def find_results
81
- @results = starting_query
81
+ @results = opts.delete(:starting_query) || starting_query
82
82
 
83
83
  # Add params
84
84
  add_params_to_query
@@ -1,3 +1,3 @@
1
1
  module Filterer
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-13 00:00:00.000000000 Z
11
+ date: 2014-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails