xapian_db 1.3.3 → 1.3.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2a9d352e0fa6f589c5296ea5ed0c25c050595c0
4
- data.tar.gz: 359d8dd4cfc388bafe0fba2348ddd1a588ded103
3
+ metadata.gz: ba9b119225f8d88f6210a6bab5c805da9d304f03
4
+ data.tar.gz: 9ee4b79e23d221af19240cade73e42f577b9422a
5
5
  SHA512:
6
- metadata.gz: 315ca9a190b3d69b17ee58c9a768842a9fa6b57b7a2fcaf6e58dde4fd6ce1881103efb63d4247ea2d011d805229febf5a92220abbcbcbedd0fca624f976a7c9b
7
- data.tar.gz: 7c87c96b7e63d2ae451ef5b7d7630ce4a9c8a12da80a9faac226983c27dd66da8b4deec50c990712e80a68d40cf2b0c50ed0bb92b7aa1a0bafbcc73a9426838e
6
+ metadata.gz: 82d67bc2c6d9458e61e1cfb4d29afee34c78929efc897c108658452be12ead8e07bf445f8ee24e38e6790b064687934ad256a969c1f90a5777b95fe164ccaec8
7
+ data.tar.gz: 266bd99d634de8468c4921686b5cfbf4d4cf61751ec0b3f6dede7a6d058d71a50f61378ab438714d4236fae8b632666571d67367076d8efa2dd112e0706d4f60
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ##1.3.3.1 (June 23th, 2013)
2
+
3
+ Fixes:
4
+
5
+ - injected logical operators must be upper case in order to support Xapian::QueryParser::FLAG_BOOLEAN_ANY_CASE set to false
6
+
1
7
  ##1.3.3 (June 23th, 2013)
2
8
 
3
9
  Changes:
@@ -37,11 +37,11 @@ module XapianDb
37
37
  raise ArgumentError.new "invalid order clause: attributes #{undefined_attrs.inspect} are not defined" unless undefined_attrs.empty?
38
38
  options[:sort_indices] = attr_names.map {|attr_name| XapianDb::DocumentBlueprint.value_number_for(attr_name) }
39
39
  end
40
- result = XapianDb.database.search "#{class_scope} and (#{expression})", options
40
+ result = XapianDb.database.search "#{class_scope} AND (#{expression})", options
41
41
 
42
42
  # Remove the class scope from the spelling suggestion (if any)
43
43
  if result.spelling_suggestion
44
- scope_length = "#{class_scope} and (".size
44
+ scope_length = "#{class_scope} AND (".size
45
45
  result.spelling_suggestion = result.spelling_suggestion.slice scope_length..-2
46
46
  end
47
47
  result
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.3.3
4
+ version: 1.3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gernot Kogler