xapian_db 1.2.1 → 1.2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG.md +6 -0
  2. data/lib/xapian_db.rb +5 -0
  3. metadata +18 -18
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ##1.2.1.1 (November 10th, 2011)
2
+
3
+ Fixes:
4
+
5
+ - resque writer wasn't loaded when beanstalk wasn't installed (thanks, javierv)
6
+
1
7
  ##1.2.1 (November 9th, 2011)
2
8
 
3
9
  Fixes:
data/lib/xapian_db.rb CHANGED
@@ -22,6 +22,11 @@ require File.dirname(__FILE__) + '/xapian_db/railtie' if defined?(Rails)
22
22
  # Try to require the beanstalk writer (depends on beanstalk-client)
23
23
  begin
24
24
  require File.dirname(__FILE__) + '/xapian_db/index_writers/beanstalk_writer'
25
+ rescue LoadError
26
+ end
27
+
28
+ # Try to require the resque writer (depends on resque)
29
+ begin
25
30
  require File.dirname(__FILE__) + '/xapian_db/index_writers/resque_writer'
26
31
  rescue LoadError
27
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xapian_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-09 00:00:00.000000000 +01:00
12
+ date: 2011-11-10 00:00:00.000000000 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: daemons
17
- requirement: &70186623371840 !ruby/object:Gem::Requirement
17
+ requirement: &70195167722940 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.0.10
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70186623371840
25
+ version_requirements: *70195167722940
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: xapian-ruby
28
- requirement: &70186623371060 !ruby/object:Gem::Requirement
28
+ requirement: &70195167722480 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.2.6
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70186623371060
36
+ version_requirements: *70195167722480
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &70186623386180 !ruby/object:Gem::Requirement
39
+ requirement: &70195167722020 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.3.1
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70186623386180
47
+ version_requirements: *70195167722020
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: simplecov
50
- requirement: &70186623385060 !ruby/object:Gem::Requirement
50
+ requirement: &70195167721560 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 0.3.7
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70186623385060
58
+ version_requirements: *70195167721560
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: beanstalk-client
61
- requirement: &70186623383580 !ruby/object:Gem::Requirement
61
+ requirement: &70195167737400 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.1.0
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70186623383580
69
+ version_requirements: *70195167737400
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rake
72
- requirement: &70186623382940 !ruby/object:Gem::Requirement
72
+ requirement: &70195167736960 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *70186623382940
80
+ version_requirements: *70195167736960
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: progressbar
83
- requirement: &70186623382340 !ruby/object:Gem::Requirement
83
+ requirement: &70195167736440 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *70186623382340
91
+ version_requirements: *70195167736440
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: resque
94
- requirement: &70186623381520 !ruby/object:Gem::Requirement
94
+ requirement: &70195167735900 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: 1.19.0
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *70186623381520
102
+ version_requirements: *70195167735900
103
103
  description: XapianDb is a ruby gem that combines features of nosql databases and
104
104
  fulltext indexing. It is based on Xapian, an efficient and powerful indexing library
105
105
  email: gernot.kogler (at) garaio (dot) com