searchjoy 0.0.5 → 0.0.6

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: 24cd1d01229d4b88ff02a976eae9411999d7dce7
4
- data.tar.gz: ba333cc0e1703fabb3fc1e8c21555807f494c699
3
+ metadata.gz: 6779a22495befe38b684be5a8c1c76df452b9f00
4
+ data.tar.gz: 10ed35fc003ea1283b293d036f67660189002fcf
5
5
  SHA512:
6
- metadata.gz: 92dc8de2bfbf711948729c6bef82a829a2262c1b0670e34b5e6280a5257efb12282edb35a5c9ce324ba70ef39dc4962ea5f2d6ef5aed5d8a3cbd1b8585e40d59
7
- data.tar.gz: 539fc9cef9a06d3b9f87b57c5d611365a02ec4cdb5e9a0ba616d6a6bd66165f2444b8be029e9e97da4324c7894b7b2b97acdb0600d5c5f90548a6f94ee77f0c1
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-demo.herokuapp.com/)
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
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Searchjoy
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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.5
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-02 00:00:00.000000000 Z
11
+ date: 2013-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chartkick