easy_xapian-ruby 1.4.20 → 1.5.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
  SHA256:
3
- metadata.gz: 469ce44cee2fc69c7e834168174de50e7d008528b4c174f137fe2886ac8f68f2
4
- data.tar.gz: ab5bc92c8071e7f812642efd2740ae707a36b99d6854bc4b18bda3f3bce5ded5
3
+ metadata.gz: ac1bba3059480e8bbe8479502dc2c0e42f9f5415cce1f2f12ce48edceacff56c
4
+ data.tar.gz: eb2265b328ccd7d7dbc32e5f64dbff8080cde248777b2258b62b71681228e4cf
5
5
  SHA512:
6
- metadata.gz: 74e6d841aa759afbe2fc2a813f4cd462ed47902b8deb23322983bd1472cd3c64c9d7853f405fdac67170d1b3d81a551d2796f6603cfb8e32381f790174bd1e87
7
- data.tar.gz: 31bca246b8d01325d1d63e755394f78cc541b1c711b258a64948909b63c5061ad862c1cbc67358023703953680f10cb090b463a4d9835d09d0e9e1f4a4a2f3d4
6
+ metadata.gz: 4c73b5c5af62f63f6bee9cf2fe3250a6a321d9a39fa5a53bc7243ac5238d913f2a217f20129c42bcff83a2165774138c2526d7037133f250d979cf19f339472c
7
+ data.tar.gz: ee6f1144cf39eea44abaa474e50765523f6c7f67f16ac4a70f6e69c54c3dc4685dc0acdd482ecab6d3e11c4ec30efa6503de3229a8b868129e6d5fe045a94988
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 1.5.1 (Aug 29th, 2024)
2
+ - Update ruby swig wrappers
3
+
4
+ ## 1.5.0 (Jan 26th, 2023)
5
+ - Update xapian-core to 1.4.21
6
+ - Add prototype of exact-op feature
7
+ - Force to build x64 bit (docid, termpos and termcount)
8
+
1
9
  ## 1.4.20 (Dec 3th, 2021)
2
10
 
3
11
  - Custom modification: add Polish stemmer to xapian-core
data/Rakefile CHANGED
@@ -5,41 +5,40 @@ require 'rbconfig'
5
5
  c = RbConfig::CONFIG
6
6
 
7
7
  def system!(cmd)
8
- puts cmd
9
- system(cmd) or raise
8
+ puts cmd
9
+ system(cmd) or raise
10
10
  end
11
11
 
12
- ver = '1.4.20'
13
12
  source_dir = 'xapian_source'
14
- core = "xapian-core-#{ver}-easy"
15
- bindings = "xapian-bindings-#{ver}"
13
+ core = "xapian-core"
14
+ bindings = "xapian-bindings"
16
15
  xapian_config = "#{Dir.pwd}/#{core}/xapian-config"
17
16
 
18
17
  task :default do
19
- [core,bindings].each do |x|
20
- system! "tar -xJf #{source_dir}/#{x}.tar.xz"
21
- end
22
-
23
- prefix = Dir.pwd
24
- ENV['LDFLAGS'] = "-L#{prefix}/lib"
25
- ENV['CXXFLAGS'] = "-fms-extensions"
26
-
27
- system! "mkdir -p lib"
28
-
29
- Dir.chdir core do
30
- system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
31
- system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
32
- system! "make clean all"
33
- system! "cp -r .libs/* ../lib/"
34
- end
35
-
36
- Dir.chdir bindings do
37
- system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
38
- ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
39
- ENV['XAPIAN_CONFIG'] = xapian_config
40
- system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
41
- system! "make clean all"
42
- end
18
+ [core, bindings].each do |x|
19
+ system! "tar -xJf #{source_dir}/#{x}.tar.xz"
20
+ end
21
+
22
+ prefix = Dir.pwd
23
+ ENV['LDFLAGS'] = "-L#{prefix}/lib"
24
+ ENV['CXXFLAGS'] = "-fms-extensions"
25
+
26
+ system! "mkdir -p lib"
27
+
28
+ Dir.chdir core do
29
+ system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
30
+ system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --enable-64bit-docid --enable-64bit-termcount --enable-64bit-termpos --disable-documentation"
31
+ system! "make"
32
+ system! "cp -r .libs/* ../lib/"
33
+ end
34
+
35
+ Dir.chdir bindings do
36
+ system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
37
+ ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
38
+ ENV['XAPIAN_CONFIG'] = xapian_config
39
+ system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby --disable-documentation"
40
+ system! "make"
41
+ end
43
42
 
44
43
  system! "cp -r #{bindings}/ruby/.libs/_xapian.* lib"
45
44
  system! "cp #{bindings}/ruby/xapian.rb lib"
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_xapian-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.20
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gernot Kogler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-12-15 00:00:00.000000000 Z
12
+ date: 2024-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -36,9 +36,9 @@ files:
36
36
  - LICENSE
37
37
  - README.rdoc
38
38
  - Rakefile
39
- - xapian_source/xapian-bindings-1.4.20.tar.xz
40
- - xapian_source/xapian-core-1.4.20-easy.tar.xz
41
- homepage: https://github.com/garaio/xapian-ruby
39
+ - xapian_source/xapian-bindings.tar.xz
40
+ - xapian_source/xapian-core.tar.xz
41
+ homepage: https://github.com/easysoftware/xapian-ruby
42
42
  licenses: []
43
43
  metadata:
44
44
  allowed_push_host: https://rubygems.org
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  - !ruby/object:Gem::Version
58
58
  version: 1.3.6
59
59
  requirements: []
60
- rubygems_version: 3.3.22
60
+ rubygems_version: 3.4.22
61
61
  signing_key:
62
62
  specification_version: 4
63
63
  summary: xapian libraries and ruby bindings