azahara_schema 0.3.11 → 0.3.12

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
  SHA256:
3
- metadata.gz: d4ebb4cfbf9b88aedd63379c567022ffd313d71ab6496b1b4c15abd85c7bc795
4
- data.tar.gz: c90d23fd01a59ba6668d7439e269398c8481d4f906dcb13a680bc65d5f6f0869
3
+ metadata.gz: cb01b490fce9f6c956db607a7275b255ec580b05f0de6028aadbf519d04ebe25
4
+ data.tar.gz: 4787db231d16f7e4ce662713ca1dab910ffcffd0eae2500960788a2e502acd75
5
5
  SHA512:
6
- metadata.gz: 33378116e789f9ab91ac6b952480d630212db2b3e847a2efbd15a9c3c1b59932ade15d2b60f18dc7d261fffef1460cca1f19bf784507ab31d34d78016ac5482f
7
- data.tar.gz: a8a150f7d0c0d4c5295fde70aaaebd52cb973d362dc07d3813f50968acbf6212aeaa6711747cef612831337be839f6bc6385aac9373df58dbfb7c33ebca32129
6
+ metadata.gz: 6c0a37bfd79aed3792ee43517b67682e86bb839ce9021fe2a1ff4320769dedb4085a71063fac3323c6d02801dce842155865d35354fc8cb9ad8269f7f29f4e57
7
+ data.tar.gz: 7f9387582fd88ec16806db90dc2991eef9900c420087ad0d1b140fc002bd78a7c2b81cc549e2ef98adf3a45bf702d12370e6aa5524785f5f4452e776572ef803
@@ -338,7 +338,7 @@ module AzaharaSchema
338
338
  end
339
339
  end
340
340
  self.default_scope = params[:default_scope] if params[:default_scope]
341
- self.search_query = params[:q] if params[:q]
341
+ self.search_query = params[:q] unless params[:q].blank?
342
342
  self.offset = params[:offset] if params[:offset]
343
343
  self.limit = params[:limit] if params[:limit]
344
344
  end
@@ -1,3 +1,3 @@
1
1
  module AzaharaSchema
2
- VERSION = '0.3.11'
2
+ VERSION = '0.3.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azahara_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-16 00:00:00.000000000 Z
11
+ date: 2018-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails