smart_search 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/lib/smart_search.rb +6 -0
  2. metadata +2 -3
  3. data/init.rb +0 -5
@@ -1,4 +1,7 @@
1
1
  # -*- encoding : utf-8 -*-
2
+ require "smart_search"
3
+ require "add_search_tags"
4
+
2
5
  module SmartSearch
3
6
 
4
7
  def self.included(base)
@@ -146,3 +149,6 @@ module SmartSearch
146
149
 
147
150
 
148
151
  end
152
+
153
+
154
+ ActiveRecord::Base.send(:include, SmartSearch)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,10 +18,9 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - init.rb
22
21
  - lib/smart_search.rb
23
22
  - lib/add_search_tags.rb
24
- homepage:
23
+ homepage: https://rubygems.org/gems/smart_search
25
24
  licenses: []
26
25
  post_install_message:
27
26
  rdoc_options: []
data/init.rb DELETED
@@ -1,5 +0,0 @@
1
- # -*- encoding : utf-8 -*-
2
- require 'smart_search'
3
- ActiveRecord::Base.send(:include, SmartSearch)
4
-
5
-