simple_search_filter 0.0.11 → 0.0.12

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: c0a898e7446608694f312f78eceb23e7e96d32d3
4
- data.tar.gz: 33fe8835af3af3d16352dbf17e5b9439d05163b9
3
+ metadata.gz: 26e44810bb41addafda7311285915aa04498543a
4
+ data.tar.gz: 5be0abd2c6c967483850f606bbe699107544dadb
5
5
  SHA512:
6
- metadata.gz: 4e929a5cbae7bd6b7d9e0419439e709393c2dd9d7250d43367e8601923968c72d8cb193888593553843e609b582a4fb2bc1d38a8d7b3409a401d8e1a73063f9b
7
- data.tar.gz: 11683249212973e0a61bc10886ec0052b05c72992f790a1f335a32fc1d0c2e0b0ae9073529da56878ed9dd50d0fa8d51151ccde2e1ecf2cc7052c2d116b8b875
6
+ metadata.gz: cfd21e1b3bc062fab7c06eb6364ea7155a17ef62192633143eb7a13e580d8fbb26ed7282a06991a3223519f5d0b435b37e1dd97fcc89cee0a0857676397fb0ef
7
+ data.tar.gz: 2e6474f2bc325b50bc28985e185448ea6123b7e639f14e49b263642400f4d3ae45cdefdde6a0c8ac33c98b07987942c02c5eb254a8691599c7005653ea82c58a
@@ -183,7 +183,10 @@ module SimpleSearchFilter
183
183
  return data[name]
184
184
  end
185
185
 
186
- field_def_value(name) || v_def
186
+ v = field_def_value(name)
187
+ return v unless v.nil?
188
+
189
+ v_def
187
190
  end
188
191
 
189
192
 
@@ -1,3 +1,3 @@
1
1
  module SimpleSearchFilter
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_search_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-26 00:00:00.000000000 Z
11
+ date: 2015-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -560,7 +560,6 @@ files:
560
560
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/znLi_g--cOzgCoKAqtlFPUgWJ9unCsXnEvjrFOVsgt8.cache
561
561
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/zvGwr55LmRTcpn_qmLf9EFICIXWA4cfH_4nBFi_cfj0.cache
562
562
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/zxS8Tu3AwLjiFU0cs3pGX-IWrHVCoQBBBbliUPrWe3E.cache
563
- - test/dummy/tmp/pids/server.pid
564
563
  - test/fixtures/categories.yml
565
564
  - test/fixtures/products.yml
566
565
  - test/integration/navigation_test.rb
@@ -1073,7 +1072,6 @@ test_files:
1073
1072
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_HqBvRhZwKsB7cuKZoO5r5Ut4SP3y_90m8vbU9guYps.cache
1074
1073
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_uTxqC5iwzUGjNZWJUFnxL8-jngVDQtxfl76-1rSO-E.cache
1075
1074
  - test/dummy/tmp/cache/assets/development/sprockets/v3.0/_ZjZ4vRiEy4hUT4dUNx8lMAsZTs_Cqvrb045k4O8sgM.cache
1076
- - test/dummy/tmp/pids/server.pid
1077
1075
  - test/fixtures/categories.yml
1078
1076
  - test/fixtures/products.yml
1079
1077
  - test/integration/navigation_test.rb
@@ -1 +0,0 @@
1
- 9836