public
Description: Ambition adapter for Sphinx
Clone URL: git://github.com/technicalpickles/ambitious-sphinx.git
A few more cleanups.
Fri Feb 29 16:38:52 -0800 2008
commit  14d66d6877688d4b4a9133fd3def7460effc2851
tree    ca9af61eefd6da230a6f42f5dec874658425c56d
parent  c1efe67d2285a3c5ea5fd5186d1f7936de0877a9
...
2
3
4
5
6
7
8
...
2
3
4
 
5
6
7
0
@@ -2,7 +2,6 @@ ambitious-sphinx.gemspec
0
 config/ultrasphinx/default.base
0
 config/ultrasphinx/development.conf
0
 lib/ambition/adapters/ambitious_sphinx/base.rb
0
-lib/ambition/adapters/ambitious_sphinx/page.rb
0
 lib/ambition/adapters/ambitious_sphinx/query.rb
0
 lib/ambition/adapters/ambitious_sphinx/select.rb
0
 lib/ambition/adapters/ambitious_sphinx/slice.rb
...
1
2
3
4
5
6
7
...
17
18
19
20
 
21
22
23
...
1
2
 
 
3
4
5
...
15
16
17
 
18
19
20
21
0
@@ -1,7 +1,5 @@
0
 require 'rake'
0
 
0
-Version = '0.1.0'
0
-
0
 begin
0
   require 'rubygems'
0
   gem 'echoe', '>=2.7'
0
@@ -17,7 +15,7 @@ begin
0
     p.project = 'ambition'
0
     p.url = 'http://ambitioussphinx.rubyforge.org/'
0
     p.test_pattern = 'test/*_test.rb'
0
- p.version = Version
0
+ p.version = '0.1.0'
0
     p.dependencies << 'ambition >=0.5.0'
0
   end
0
 
...
1
2
3
4
5
 
 
6
7
8
...
12
13
14
15
16
 
17
...
1
2
3
 
 
4
5
6
7
8
...
12
13
14
 
 
15
16
0
@@ -1,8 +1,8 @@
0
 require 'ambition'
0
 
0
 # stub out rails stuff enough so that ultrasphinx will be happy
0
-RAILS_ROOT = "./" unless defined? RAILS_ROOT
0
-RAILS_ENV = "development" unless defined? RAILS_ENV
0
+RAILS_ROOT = './' unless defined? RAILS_ROOT
0
+RAILS_ENV = 'development' unless defined? RAILS_ENV
0
 
0
 require 'active_record'
0
 require 'ultrasphinx'
0
@@ -12,5 +12,4 @@ require 'ultrasphinx'
0
 end
0
 
0
 ActiveRecord::Base.extend Ambition::API
0
-ActiveRecord::Base.ambition_adapter = Ambition::Adapters::AmbitiousSphinx
0
-
0
+ActiveRecord::Base.ambition_adapter = Ambition::Adapters::AmbitiousSphinx
0
\ No newline at end of file

Comments

    No one has commented yet.