hnswlib 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39458b40736b4a330a0c1769a3adcf37d9d40614b1270d33885932244e943b74
4
- data.tar.gz: d49bf8e158c55235fdeca0656cd3ddab6a07e5abc1468eb8917b21f9baf5d89c
3
+ metadata.gz: a7017404c84c76bfd6922f7b49734e9d9b4c2c966b35a0911c88e137ca17cc43
4
+ data.tar.gz: 7d8050815aa00860ae4a9d73544743260434648b1bd19167c71df5f621850609
5
5
  SHA512:
6
- metadata.gz: ec8560f2b7aa9bb5df098b9c863e4602465a42e8ea27a19be55b9d62e9ba0d32fa70ccbcb13323b771370df5ded9370f9f91d17c8d63aecc18d2b45e29df0149
7
- data.tar.gz: c9b434fb313f41e2f0570070944eb6eb3b4432a65fce2c63ca6592ab1de30f9b04834d87e1bd40db465dceea0eaac2279378eda537f6b7d51c2bdb0aa06e1ab6
6
+ metadata.gz: aac29e5363178d72b0cad6aa8e1f6d1c3bc9fe913ca39c53e2cae58cbbf060da4df5fae32b2d0f3e2e0de0b87beb07958c11e226d40310970cba81115aa277ef
7
+ data.tar.gz: f3a8016da1e968ef30309ed86c9a2f76e1d31281f02aafbc17ce47c3290041adb70a7705c243313260e832aaca691148fe2b4cb9fa5f04760b6dd2f53a53f420
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [[0.9.2](https://github.com/yoshoku/hnswlib.rb/compare/v0.9.1...v0.9.2)] - 2026-02-16
2
+
3
+ - Remove libstdc++ loading check from native extensions build step.
4
+
5
+ ## [[0.9.1](https://github.com/yoshoku/hnswlib.rb/compare/v0.9.0...v0.9.1)] - 2025-11-23
6
+
7
+ - Fix to use require for compatibility with distributions installing extensions separately.
8
+
1
9
  ## [[0.9.0](https://github.com/yoshoku/hnswlib.rb/compare/v0.8.1...v0.9.0)] - 2023-12-16
2
10
 
3
11
  - Update bundled hnswlib version to 0.8.0.
@@ -2,8 +2,6 @@
2
2
 
3
3
  require 'mkmf'
4
4
 
5
- abort 'libstdc++ is not found.' unless have_library('stdc++')
6
-
7
5
  $CXXFLAGS << ' -std=c++14'
8
6
  $INCFLAGS << " -I$(srcdir)/src"
9
7
  $VPATH << "$(srcdir)/src"
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * hnswlib.rb is a Ruby binding for the Hnswlib.
3
3
  *
4
- * Copyright (c) 2021-2023 Atsushi Tatsuma
4
+ * Copyright (c) 2021-2026 Atsushi Tatsuma
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * hnswlib.rb is a Ruby binding for the Hnswlib.
3
3
  *
4
- * Copyright (c) 2021-2023 Atsushi Tatsuma
4
+ * Copyright (c) 2021-2026 Atsushi Tatsuma
5
5
  *
6
6
  * Licensed under the Apache License, Version 2.0 (the "License");
7
7
  * you may not use this file except in compliance with the License.
@@ -3,7 +3,7 @@
3
3
  # Hnswlib.rb provides Ruby bindings for the Hnswlib.
4
4
  module Hnswlib
5
5
  # The version of Hnswlib.rb you install.
6
- VERSION = '0.9.0'
6
+ VERSION = '0.9.2'
7
7
 
8
8
  # The version of Hnswlib included with gem.
9
9
  HSWLIB_VERSION = '0.8.0'
data/lib/hnswlib.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative 'hnswlib/version'
4
- require_relative 'hnswlib/hnswlibext'
4
+ # On RHEL-based Linux distributions, native extensions are installed in a separate
5
+ # directory from Ruby code, so use require to load them.
6
+ require 'hnswlib/hnswlibext'
5
7
 
6
8
  module Hnswlib
7
9
  # HnswIndex is a class that provides functions for k-nearest eighbors search.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hnswlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-12-16 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Hnswlib.rb provides Ruby bindings for the Hnswlib.
14
13
  email:
@@ -44,7 +43,6 @@ metadata:
44
43
  changelog_uri: https://github.com/yoshoku/hnswlib.rb/blob/main/CHANGELOG.md
45
44
  documentation_uri: https://yoshoku.github.io/hnswlib.rb/doc/
46
45
  rubygems_mfa_required: 'true'
47
- post_install_message:
48
46
  rdoc_options: []
49
47
  require_paths:
50
48
  - lib
@@ -59,8 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
57
  - !ruby/object:Gem::Version
60
58
  version: '0'
61
59
  requirements: []
62
- rubygems_version: 3.4.22
63
- signing_key:
60
+ rubygems_version: 4.0.3
64
61
  specification_version: 4
65
62
  summary: Ruby bindings for the Hnswlib.
66
63
  test_files: []