hnswlib 0.9.0 → 0.9.1

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: d039b605b23755f39fee68b17ce99510c4465cc238baf51f5a281e42a2156040
4
+ data.tar.gz: 9e5240e9ce75a79ad3ec738a64fdfd89e0c567c2677027f2c2910f44f8859186
5
5
  SHA512:
6
- metadata.gz: ec8560f2b7aa9bb5df098b9c863e4602465a42e8ea27a19be55b9d62e9ba0d32fa70ccbcb13323b771370df5ded9370f9f91d17c8d63aecc18d2b45e29df0149
7
- data.tar.gz: c9b434fb313f41e2f0570070944eb6eb3b4432a65fce2c63ca6592ab1de30f9b04834d87e1bd40db465dceea0eaac2279378eda537f6b7d51c2bdb0aa06e1ab6
6
+ metadata.gz: 951470c326194f71838aa485ef0def8075e5e0dbe7f8b156afd4cf41851bb402e6a4a1338616e28c8aed16a887028a3a40b8687cc4e7170ca68d6a5212dd3fee
7
+ data.tar.gz: f736ffefbb823e2edf59db9b5506d8659a690c1ddb97cdd907931c92c827afba1fb0ebfb1f817d8c80aefd7cdc8eb454f6cb63896c1894b8727b86f943f54d2c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [[0.9.1](https://github.com/yoshoku/hnswlib.rb/compare/v0.8.1...v0.9.0)] - 2025-11-23
2
+
3
+ - Fix to use require for compatibility with distributions installing extensions separately.
4
+
1
5
  ## [[0.9.0](https://github.com/yoshoku/hnswlib.rb/compare/v0.8.1...v0.9.0)] - 2023-12-16
2
6
 
3
7
  - Update bundled hnswlib version to 0.8.0.
@@ -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-2025 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-2025 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.1'
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 distributions like Rocky Linux, 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.1
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: 3.6.9
64
61
  specification_version: 4
65
62
  summary: Ruby bindings for the Hnswlib.
66
63
  test_files: []