annoy-rb 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +1 -1
- data/CHANGELOG.md +3 -0
- data/README.md +3 -3
- data/annoy-rb.gemspec +1 -1
- data/ext/annoy/annoy.hpp +3 -0
- data/lib/annoy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a7ab55f832f0ce57d4e8c010e69fdcee979764cea2579d5833ae1d3b0c24af9
|
4
|
+
data.tar.gz: 245451b8edd07984b8bcfd515bb1caa75a4164309954d9278aabce76ad9646c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4c357d55bba00461433a2d63350216eaecb45ab421b2acc5a51a7276eb6922ef58ae1ad6775bd847d56805207e24e23c93944b3e434acdd059bc67d2177e2db
|
7
|
+
data.tar.gz: 4619de7cbde449ba58495ac1a98090cc0c8a6737d31769cb37134f1e351ddc1ad0ade9b4806a9e8d965a1e9272e9df11962f77d5380d6ad0f1819a6ef0dd2164
|
data/.github/workflows/build.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://github.com/yoshoku/annoy.rb/workflows/build/badge.svg)](https://github.com/yoshoku/annoy.rb/actions?query=workflow%3Abuild)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/annoy-rb.svg)](https://badge.fury.io/rb/annoy-rb)
|
5
|
-
[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://github.com/yoshoku/annoy.rb/blob/
|
5
|
+
[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://github.com/yoshoku/annoy.rb/blob/main/LICENSE.txt)
|
6
6
|
[![Documentation](http://img.shields.io/badge/api-reference-blue.svg)](https://yoshoku.github.io/annoy.rb/doc/)
|
7
7
|
|
8
8
|
Annoy.rb is a Ruby binding for the [Annoy (Approximate Nearest Neighbors Oh Yeah)](https://github.com/spotify/annoy).
|
@@ -56,8 +56,8 @@ The gem is available as open source under the terms of the [Apache-2.0 License](
|
|
56
56
|
|
57
57
|
## Contributing
|
58
58
|
|
59
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/annoy.rb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/yoshoku/annoy.rb/blob/
|
59
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/annoy.rb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/yoshoku/annoy.rb/blob/main/CODE_OF_CONDUCT.md).
|
60
60
|
|
61
61
|
## Code of Conduct
|
62
62
|
|
63
|
-
Everyone interacting in the Annoy.rb project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yoshoku/annoy.rb/blob/
|
63
|
+
Everyone interacting in the Annoy.rb project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/yoshoku/annoy.rb/blob/main/CODE_OF_CONDUCT.md).
|
data/annoy-rb.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
|
14
14
|
spec.metadata['homepage_uri'] = spec.homepage
|
15
15
|
spec.metadata['source_code_uri'] = spec.homepage
|
16
|
-
spec.metadata['changelog_uri'] = 'https://github.com/yoshoku/annoy.rb/blob/
|
16
|
+
spec.metadata['changelog_uri'] = 'https://github.com/yoshoku/annoy.rb/blob/main/CHANGELOG.md'
|
17
17
|
spec.metadata['documentation_uri'] = 'https://yoshoku.github.io/annoy.rb/doc/'
|
18
18
|
|
19
19
|
# Specify which files should be added to the gem when it is released.
|
data/ext/annoy/annoy.hpp
CHANGED
@@ -147,6 +147,7 @@ template<class T, typename F> class RbAnnoyIndex
|
|
147
147
|
rb_raise(rb_eRuntimeError, "%s", StringValuePtr(error_str));
|
148
148
|
return Qfalse;
|
149
149
|
}
|
150
|
+
RB_GC_GUARD(_filename);
|
150
151
|
return Qtrue;
|
151
152
|
};
|
152
153
|
|
@@ -160,6 +161,7 @@ template<class T, typename F> class RbAnnoyIndex
|
|
160
161
|
rb_raise(rb_eRuntimeError, "%s", StringValuePtr(error_str));
|
161
162
|
return Qfalse;
|
162
163
|
}
|
164
|
+
RB_GC_GUARD(_filename);
|
163
165
|
return Qtrue;
|
164
166
|
};
|
165
167
|
|
@@ -292,6 +294,7 @@ template<class T, typename F> class RbAnnoyIndex
|
|
292
294
|
rb_raise(rb_eRuntimeError, "%s", StringValuePtr(error_str));
|
293
295
|
return Qfalse;
|
294
296
|
}
|
297
|
+
RB_GC_GUARD(_filename);
|
295
298
|
return Qtrue;
|
296
299
|
};
|
297
300
|
|
data/lib/annoy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: annoy-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Annoy.rb is a Ruby binding for the Annoy (Approximate Nearest Neighbors
|
14
14
|
Oh Yeah).
|
@@ -43,7 +43,7 @@ licenses:
|
|
43
43
|
metadata:
|
44
44
|
homepage_uri: https://github.com/yoshoku/annoy.rb
|
45
45
|
source_code_uri: https://github.com/yoshoku/annoy.rb
|
46
|
-
changelog_uri: https://github.com/yoshoku/annoy.rb/blob/
|
46
|
+
changelog_uri: https://github.com/yoshoku/annoy.rb/blob/main/CHANGELOG.md
|
47
47
|
documentation_uri: https://yoshoku.github.io/annoy.rb/doc/
|
48
48
|
post_install_message:
|
49
49
|
rdoc_options: []
|