Sha256: 77225c148c5089667e5fbbe96715d426df029af44f4b4313f7165cd958f6e106

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

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" 
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")    
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
pager-ultrasphinx-1.0.20080510 Rakefile
pager-ultrasphinx-1.0.20080514 Rakefile
ultrasphinx-1.11 Rakefile