Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs

  • Loading branch information...
commit fa315534ccf06ad304b1cb4e4fd02ffa88636b8d 1 parent 6e4be56
Evan Weaver authored
View
10 Rakefile
@@ -4,24 +4,22 @@ require 'echoe'
Echoe.new("ultrasphinx") do |p|
p.project = "fauna"
p.summary = "Ruby on Rails configurator and client to the Sphinx fulltext search engine."
- p.url = "http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/"
- p.docs_host = "blog.evanweaver.com:~/www/bax/public/files/doc/"
p.rdoc_pattern = /is_indexed.rb|search.rb|spell.rb|ultrasphinx.rb|^README|TODO|DEPLOY|RAKE_TASKS|CHANGELOG|^LICENSE/
p.dependencies = "chronic"
p.test_pattern = ["test/integration/*.rb", "test/unit/*.rb"]
p.rcov_options << '--include-file test\/integration\/app\/vendor\/plugins\/ultrasphinx\/lib\/.*\.rb --include-file '
end
-desc "Run all the tests for every database adapter"
+desc "Run all the tests for every database adapter"
task "test_all" do
['mysql', 'postgresql'].each do |adapter|
ENV['DB'] = adapter
ENV['PRODUCTION'] = nil
STDERR.puts "#{'='*80}\nDevelopment mode for #{adapter}\n#{'='*80}"
system("rake test:multi_rails:all")
-
+
ENV['PRODUCTION'] = '1'
STDERR.puts "#{'='*80}\nProduction mode for #{adapter}\n#{'='*80}"
- system("rake test:multi_rails:all")
+ system("rake test:multi_rails:all")
end
-end
+end
View
2  lib/ultrasphinx/search.rb
@@ -87,7 +87,7 @@ module Ultrasphinx
== Interlock integration
-Ultrasphinx uses the <tt>find_all_by_id</tt> method to instantiate records. If you set <tt>with_finders: true</tt> in {Interlock's}[http://blog.evanweaver.com/files/doc/fauna/interlock] <tt>config/memcached.yml</tt>, Interlock overrides <tt>find_all_by_id</tt> with a caching version.
+Ultrasphinx uses the <tt>find_all_by_id</tt> method to instantiate records. If you set <tt>with_finders: true</tt> in {Interlock's}[http://fauna.github.com/fauna/interlock] <tt>config/memcached.yml</tt>, Interlock overrides <tt>find_all_by_id</tt> with a caching version.
== Will_paginate integration
View
2  lib/ultrasphinx/spell.rb
@@ -7,7 +7,7 @@ module Ultrasphinx
== Setup
-Make sure Aspell and the Rubygem <tt>raspell</tt> are installed. See http://blog.evanweaver.com/files/doc/fauna/raspell/ for detailed instructions.
+Make sure Aspell and the Rubygem <tt>raspell</tt> are installed. See http://fauna.github.com/fauna/raspell/ for detailed instructions.
Copy the <tt>examples/ap.multi</tt> file into your Aspell dictionary folder (<tt>/opt/local/share/aspell/</tt> on Mac, <tt>/usr/lib/aspell-0.60/</tt> on Linux). This file lets Aspell load a custom wordlist generated by Sphinx from your app data (you can configure its filename in the <tt>config/ultrasphinx/*.base</tt> files). Modify the file if you don't want to also use the default American English dictionary.
Please sign in to comment.
Something went wrong with that request. Please try again.