annoy-rb 0.7.2 → 0.8.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: 25b6e3d18705801e5458c656517e57d5bb42fb42846bc4cde36107787bc0f506
4
- data.tar.gz: caca0acd3a163bc4a0e09dfe7a30dfcd975d3b123f7bce76f44263545271d8d1
3
+ metadata.gz: 19bb8b35837635b469872c98319c78c9e6e2f87ccf1a890d24db45f509b0fd26
4
+ data.tar.gz: 4d097229a941586e554b0b1386062e62829dcf2792d671e49f295f381acb86f1
5
5
  SHA512:
6
- metadata.gz: 5c8a5dca9dacb2004e17ac14c2e362424b40a1532ee785c17ba85e01b02a5c40e2defd352362b97e6098b3a69d7f5e62011dba62d7ddf47b4b81fa6cd4e482f9
7
- data.tar.gz: e50f8d449dc142bb80c4caeab0c4450a80b1f3f0f0979d6a460f9115bbbc80fa6d934d006463ce8da04a10a17929ed125ffd985aadc8a50c5d6979dbe1be3026
6
+ metadata.gz: c4c2b443ce04f94ec26968af456e92ed3edf12486712c991ad25b20049d3c19cdf52d20338c4ee34f52ed9e1c38e89fb540b52450d8fbcd36013b7492ab8af5c
7
+ data.tar.gz: 738f6624d76b58a1d0590dce97f56f744ae0965d9ddac3238327374e98daf0258af16d918b72117efea70af3ca0160c84511eda87ff7f4d7965ad774306e3002
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [[0.8.1](https://github.com/yoshoku/annoy-rb/compare/v0.8.0...v0.8.1)] - 2026-02-17
2
+
3
+ - Remove C++ shared library loading check from native extensions build step.
4
+
5
+ ## [[0.8.0](https://github.com/yoshoku/annoy-rb/compare/v0.7.2...v0.8.0)] - 2025-08-10
6
+
7
+ - Change to set library options accoding to platform when building ([#6](https://github.com/yoshoku/annoy-rb/issues/6)).
8
+
1
9
  ## 0.7.2
2
10
 
3
11
  - Refactor native extension codes to set rb_data_type_t.wrap_struct_name for each metric and dtype.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Annoy.rb is a Ruby binding for the Annoy (Approximate Nearest Neighbors Oh Yeah).
3
3
  *
4
- * Copyright (c) 2020-2023 Atsushi Tatsuma
4
+ * Copyright (c) 2020-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
  * Annoy.rb is a Ruby binding for the Annoy (Approximate Nearest Neighbors Oh Yeah).
3
3
  *
4
- * Copyright (c) 2020-2023 Atsushi Tatsuma
4
+ * Copyright (c) 2020-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/annoy/extconf.rb CHANGED
@@ -1,8 +1,11 @@
1
1
  require 'mkmf'
2
2
 
3
- abort 'libstdc++ is not found.' unless have_library('stdc++')
3
+ if /mswin/ =~ RUBY_PLATFORM
4
+ $CXXFLAGS << ' /std:c++17'
5
+ else
6
+ $CXXFLAGS << ' -std=c++14'
7
+ end
4
8
 
5
- $CXXFLAGS << " -std=c++14"
6
9
  $INCFLAGS << " -I$(srcdir)/src"
7
10
  $VPATH << "$(srcdir)/src"
8
11
 
data/lib/annoy/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # Annoy.rb is a Ruby wrapper for Annoy (Approximate Nearest Neighbors Oh Yeah).
4
4
  module Annoy
5
5
  # The version of Annoy.rb you are using.
6
- VERSION = '0.7.2'
6
+ VERSION = '0.8.1'
7
7
 
8
8
  # The version of Annoy included with gem.
9
9
  ANNOY_VERSION = '1.17.1'
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: annoy-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-02-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Annoy.rb provides Ruby bindings for the Annoy (Approximate Nearest Neighbors
14
13
  Oh Yeah).
@@ -42,7 +41,6 @@ metadata:
42
41
  changelog_uri: https://github.com/yoshoku/annoy-rb/blob/main/CHANGELOG.md
43
42
  documentation_uri: https://yoshoku.github.io/annoy-rb/doc/
44
43
  rubygems_mfa_required: 'true'
45
- post_install_message:
46
44
  rdoc_options: []
47
45
  require_paths:
48
46
  - lib
@@ -57,8 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
55
  - !ruby/object:Gem::Version
58
56
  version: '0'
59
57
  requirements: []
60
- rubygems_version: 3.3.26
61
- signing_key:
58
+ rubygems_version: 4.0.3
62
59
  specification_version: 4
63
60
  summary: Ruby bindings for the Annoy (Approximate Nearest Neighbors Oh Yeah).
64
61
  test_files: []