xapor 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -36,6 +36,11 @@ module Xapor::XapianFuIntegration
36
36
  end
37
37
 
38
38
  def xapor_db
39
+ if !(@db || @config.directory_config)
40
+ reset_index do
41
+ all.each {|o| o.add_to_index}
42
+ end
43
+ end
39
44
  @db ||= XapianDb.new(@config.xapian_fu_db.merge(:create => true))
40
45
  end
41
46
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xapor}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Workman"]
12
- s.date = %q{2010-04-20}
12
+ s.date = %q{2010-04-22}
13
13
  s.description = %q{Rails plugin for Xapian search, built on XapianFu and DelayedJob.}
14
14
  s.email = %q{workmad3@hedtek.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Workman
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-20 00:00:00 +01:00
17
+ date: 2010-04-22 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency