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 +4 -4
- data/CHANGELOG.md +4 -0
- data/ext/hnswlib/hnswlibext.cpp +1 -1
- data/ext/hnswlib/hnswlibext.hpp +1 -1
- data/lib/hnswlib/version.rb +1 -1
- data/lib/hnswlib.rb +3 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d039b605b23755f39fee68b17ce99510c4465cc238baf51f5a281e42a2156040
|
|
4
|
+
data.tar.gz: 9e5240e9ce75a79ad3ec738a64fdfd89e0c567c2677027f2c2910f44f8859186
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
data/ext/hnswlib/hnswlibext.cpp
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* hnswlib.rb is a Ruby binding for the Hnswlib.
|
|
3
3
|
*
|
|
4
|
-
* Copyright (c) 2021-
|
|
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.
|
data/ext/hnswlib/hnswlibext.hpp
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* hnswlib.rb is a Ruby binding for the Hnswlib.
|
|
3
3
|
*
|
|
4
|
-
* Copyright (c) 2021-
|
|
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.
|
data/lib/hnswlib/version.rb
CHANGED
data/lib/hnswlib.rb
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require_relative 'hnswlib/version'
|
|
4
|
-
|
|
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.
|
|
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:
|
|
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.
|
|
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: []
|