searchjoy 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/searchjoy/search.rb +5 -0
- data/lib/searchjoy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6779a22495befe38b684be5a8c1c76df452b9f00
|
4
|
+
data.tar.gz: 10ed35fc003ea1283b293d036f67660189002fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 545341f64edf7a3927333c56d39e5b83d667540f57d49ff125f847512e0723ad2f9e4f1e6720f8e35377ca9b79502dc662349df8207f03020fca71d47e50655f
|
7
|
+
data.tar.gz: 615282d2f7644add443db241c81eebba669ad5f14f2c28fbbc5a4de2b7dd4fedd2630a864b1e4b5538033dfcbb3df4c3ef998af63c9b83e4ab39fd7f9b5839bf
|
data/README.md
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
:monkey_face: Search analytics made easy
|
4
4
|
|
5
|
-
[See it in action](http://searchjoy
|
5
|
+
[See it in action](http://searchjoy.herokuapp.com/)
|
6
6
|
|
7
7
|
- view searches in real-time
|
8
8
|
- track conversions week over week
|
9
9
|
- monitor the performance of top searches
|
10
10
|
|
11
|
-
:cupid: An amazing companion to [Searchkick](https://github.com/ankane/searchkick)
|
12
|
-
|
13
11
|
Works with Rails 3.1+ and any search engine, including Elasticsearch, Sphinx, and Solr
|
14
12
|
|
13
|
+
:cupid: An amazing companion to [Searchkick](https://github.com/ankane/searchkick)
|
14
|
+
|
15
15
|
:tangerine: Battle-tested at [Instacart](https://www.instacart.com)
|
16
16
|
|
17
17
|
## Get Started
|
data/lib/searchjoy/search.rb
CHANGED
@@ -2,6 +2,11 @@ module Searchjoy
|
|
2
2
|
class Search < ActiveRecord::Base
|
3
3
|
belongs_to :convertable, polymorphic: true
|
4
4
|
|
5
|
+
# the devise way
|
6
|
+
if Rails::VERSION::MAJOR == 3 and !defined?(ActionController::StrongParameters)
|
7
|
+
attr_accessible :search_type, :query, :results_count
|
8
|
+
end
|
9
|
+
|
5
10
|
before_save :set_normalized_query
|
6
11
|
|
7
12
|
def convert(convertable = nil)
|
data/lib/searchjoy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: searchjoy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chartkick
|