thinkingtank 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/thinkingtank/init.rb +1 -1
  2. data/rails/init.rb +1 -1
  3. metadata +18 -7
@@ -74,7 +74,7 @@ class << ActiveRecord::Base
74
74
  end
75
75
  # TODO : add relevance functions
76
76
 
77
- it = IndexTankPlugin::Configuration.instance.client
77
+ it = ThinkingTank::Configuration.instance.client
78
78
  models = []
79
79
  ok, res = it.search("#{query.to_s} type:#{self.name}")
80
80
  if ok
data/rails/init.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # Include hook code here
2
2
  require 'active_record'
3
- require 'thinkingtank'
3
+ require File.dirname(__FILE__) + '/../lib/thinkingtank/init'
4
4
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thinkingtank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 2
9
+ version: 0.0.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Flaptor
@@ -13,7 +18,9 @@ date: 2010-05-19 00:00:00 -03:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
16
- description: ActiveRecord extension that allows to define models that should be indexed in an existing IndexTank index. It supports a very similar syntax to ThinkingSphinx allowing to easily port an existing project.
21
+ description: |-
22
+ ActiveRecord extension that allows to define models that should be indexed in an existing IndexTank index.
23
+ It supports a very similar syntax to ThinkingSphinx allowing to easily port an existing project.
17
24
  email: indextank@flaptor.com
18
25
  executables: []
19
26
 
@@ -28,8 +35,10 @@ files:
28
35
  - README
29
36
  - tasks/rails.rake
30
37
  - lib/thinkingtank/tasks.rb
31
- has_rdoc: false
38
+ has_rdoc: true
32
39
  homepage: http://indextank.com/
40
+ licenses: []
41
+
33
42
  post_install_message:
34
43
  rdoc_options: []
35
44
 
@@ -39,20 +48,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
39
48
  requirements:
40
49
  - - ">="
41
50
  - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
42
53
  version: "0"
43
- version:
44
54
  required_rubygems_version: !ruby/object:Gem::Requirement
45
55
  requirements:
46
56
  - - ">="
47
57
  - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
48
60
  version: "0"
49
- version:
50
61
  requirements: []
51
62
 
52
63
  rubyforge_project:
53
- rubygems_version: 1.0.1
64
+ rubygems_version: 1.3.6
54
65
  signing_key:
55
- specification_version: 2
66
+ specification_version: 3
56
67
  summary: Thinking-Sphinx-like Indextank plugin.
57
68
  test_files: []
58
69