newellista-searchlogic 2.0.6 → 2.0.7

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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 0
4
- :patch: 6
4
+ :patch: 7
@@ -21,7 +21,7 @@ module Searchlogic
21
21
  options[:descend_scope] ||= "descend_by_#{options[:by]}"
22
22
 
23
23
  if options[:tri_state].to_s == "true"
24
- new_scope = "" if search.order.empty?
24
+ new_scope = "" if search.order.nil?
25
25
  new_scope = options[ :descend_scope ] if search.order.to_s == options[ :ascend_scope ]
26
26
  new_scope ||= options[ :ascend_scope ]
27
27
  else
data/searchlogic.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{searchlogic}
5
- s.version = "2.0.6"
5
+ s.version = "2.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ben Johnson of Binary Logic"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newellista-searchlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic