spina-search 0.0.1 → 0.0.2

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: bce511ce5bedde6a9d564866bf47345b63750894
4
- data.tar.gz: 229a5e76e0a1845f534ba444af16e8105c6175e7
3
+ metadata.gz: 18e8d238d282a3ef4c285141a182db143472986e
4
+ data.tar.gz: 3936838f562279c0f83085deedd8be67ce595968
5
5
  SHA512:
6
- metadata.gz: 54c61df8f4a6d9c2000c3e128362018e4f671e159eea4ec4c4938a0f48b7dd89ac88102c7b2b8fa6a9c0bb54e2228b4541ff0d8afa9da035f3aa2d3c9f878324
7
- data.tar.gz: 602df485db9a89da25a2e37b6e817dc7095263294e7d22cf833b6069339c5e474b1a31073a568f28ce7dfeace7af492647ee739a59a9c17b348318a04a8045e3
6
+ metadata.gz: 9638d58de901d1d4ec02dd2d09151d6c539d60d4b72587b6b4e436b1460899c918e43ece22e8ea586ad8ed72f797b5ef649ed85d03cd43c2bfd5b70dced76988
7
+ data.tar.gz: e4ff774b071a9aa85da0164a037d90cc6d65818617f71e286b0ba4e21b7d6397caf8ae263891d20c1a4d2d488dc9d142bf5e17faad696dc599873b90b1aeac0a
@@ -2,7 +2,7 @@ module Spina
2
2
  class SearchController < ApplicationController
3
3
  def query
4
4
  query = params[:q]
5
- render json: Page.active.where(view_template: 'documentation').where('title LIKE ?', "%#{query}%").to_json
5
+ render json: Page.active.where('title LIKE ?', "%#{query}%").to_json
6
6
  end
7
7
  end
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module Spina
2
2
  module Search
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bram Jetten
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-01 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails