ts-delayed-delta 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,9 +11,7 @@ require 'cucumber/thinking_sphinx/internal_world'
11
11
  world = Cucumber::ThinkingSphinx::InternalWorld.new
12
12
  world.configure_database
13
13
 
14
- SphinxVersion = ENV['VERSION'] || '0.9.8'
15
-
16
- require "thinking_sphinx/#{SphinxVersion}"
14
+ require "thinking_sphinx"
17
15
  require 'thinking_sphinx/deltas/delayed_delta'
18
16
 
19
17
  world.setup
@@ -6,6 +6,7 @@ namespace :thinking_sphinx do
6
6
  desc "Process stored delta index requests"
7
7
  task :delayed_delta => :app_env do
8
8
  require 'delayed/worker'
9
+ require 'thinking_sphinx/deltas/delayed_delta'
9
10
 
10
11
  Delayed::Worker.new(
11
12
  :min_priority => ENV['MIN_PRIORITY'],
data/spec/spec_helper.rb CHANGED
@@ -4,9 +4,7 @@ require 'rubygems'
4
4
  require 'spec'
5
5
  require 'spec/autorun'
6
6
 
7
- SphinxVersion = ENV['VERSION'] || '0.9.8'
8
-
9
- require "thinking_sphinx/#{SphinxVersion}"
7
+ require 'thinking_sphinx'
10
8
  require 'thinking_sphinx/deltas/delayed_delta'
11
9
 
12
10
  Spec::Runner.configure do |config|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ts-delayed-delta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-26 00:00:00 +11:00
12
+ date: 2009-12-02 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency