caboose-cms 0.9.62 → 0.9.63

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: dcc00d0cac3e7b91202981115895c1f171e3b96a
4
- data.tar.gz: 97fce2ba0bdabc99ce7501d40a8f320be3d99819
3
+ metadata.gz: 7d8d3813a766f7029297bb4f08ee73dac892e4e8
4
+ data.tar.gz: efa67048c5b4d6de6d255f69fb64252da1fa40e4
5
5
  SHA512:
6
- metadata.gz: 50b425631fcd2902b7d0ba63b4e851003da9346d31831ae16e3cd6ad0abd90cc6ddda0137a41eca30a18a48d1ce1dc301345927c20ef7c37012acaa07f493b8c
7
- data.tar.gz: 2855212558d2abfc7cd485cb822cbb009737152af5adb435cf04b0edd60b300552b39d634539c8eb0774ba39f3fe5c86cc555c9802a6fe7868fc790d73602d9a
6
+ metadata.gz: e36b85117b20a2909c007d969c7bb3819f2fa81c5313274fb941909149ba3ef64c5409b6a94c7ce27d2bbc4504530389729721881c716fb5f6c6befbf112c281
7
+ data.tar.gz: 2a15256ba40389fb2fd52dfe0d11fbce6463c53a79b4711a6254b705eb87231bd6eb88f948002f05734db9451ac58197b415fa81fc3d744b34a229f50be4c0b5
@@ -13,8 +13,8 @@ module Caboose
13
13
  title = params[:title] ? params[:title].strip.downcase.split(' ') : nil
14
14
  render :json => [] and return if title.nil? || title.length == 0
15
15
 
16
- where = ["site_id = ?"]
17
- vars = [@site.id]
16
+ where = ["site_id = ?","status = ?"]
17
+ vars = [@site.id, 'Active']
18
18
  title.each do |str|
19
19
  where << 'lower(title) like ?'
20
20
  vars << "%#{str}%"
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.62'
2
+ VERSION = '0.9.63'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.62
4
+ version: 0.9.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-01 00:00:00.000000000 Z
11
+ date: 2017-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg