hanny 0.2.0 → 0.2.1
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 +2 -1
- data/.github/workflows/coverage.yml +2 -1
- data/CHANGELOG.md +3 -0
- data/Steepfile +1 -1
- data/hanny.gemspec +1 -1
- data/lib/hanny/version.rb +1 -1
- metadata +3 -4
- data/sig/patch.rbs +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34769d604cbf8f16dad0e31abbfd8fc27d8a3d80fcd48d27d6344b3abb2abd47
|
4
|
+
data.tar.gz: 95917273a1a476ecd6c582f0e4955ef88b8b214d59baf0f0d5d5ef3267a2a92d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 635dd1e38cca2b611c0b56d89d93567fc082a649bcf7746d72995cb940400e55cb441b8db264d8d14ed3d1e95b78e0894ab8e00c7c03ade845ead9558f68617d
|
7
|
+
data.tar.gz: c17cc97c2883b9fb17c028ea3aadba4a8dde203220d4c952b8726258c5740d756beee1e2f10b6907555c420a0802febf48db12fd6c40bbe247145ad13a048a49
|
data/.github/workflows/build.yml
CHANGED
@@ -11,9 +11,10 @@ jobs:
|
|
11
11
|
steps:
|
12
12
|
- uses: actions/checkout@v2
|
13
13
|
- name: Set up Ruby ${{ matrix.ruby }}
|
14
|
-
uses:
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
16
|
ruby-version: ${{ matrix.ruby }}
|
17
|
+
bundler-cache: true
|
17
18
|
- name: Build and test with Rake
|
18
19
|
run: |
|
19
20
|
gem install --no-document bundler
|
@@ -12,9 +12,10 @@ jobs:
|
|
12
12
|
steps:
|
13
13
|
- uses: actions/checkout@v2
|
14
14
|
- name: Set up Ruby 2.7
|
15
|
-
uses:
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
16
|
with:
|
17
17
|
ruby-version: '2.7'
|
18
|
+
bundler-cache: true
|
18
19
|
- name: Build and test with Rake
|
19
20
|
run: |
|
20
21
|
gem install bundler
|
data/CHANGELOG.md
CHANGED
data/Steepfile
CHANGED
data/hanny.gemspec
CHANGED
@@ -21,7 +21,7 @@ MSG
|
|
21
21
|
spec.license = 'BSD-2-Clause'
|
22
22
|
|
23
23
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
24
|
-
f.match(%r{^(test|spec|features)/})
|
24
|
+
f.match(%r{^(test|spec|features|sig-deps)/})
|
25
25
|
end
|
26
26
|
spec.bindir = 'exe'
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/hanny/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-narray
|
@@ -57,7 +57,6 @@ files:
|
|
57
57
|
- sig/hanny.rbs
|
58
58
|
- sig/hanny/lsh_index.rbs
|
59
59
|
- sig/hanny/utils.rbs
|
60
|
-
- sig/patch.rbs
|
61
60
|
homepage: https://github.com/yoshoku/hanny
|
62
61
|
licenses:
|
63
62
|
- BSD-2-Clause
|
@@ -77,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
76
|
- !ruby/object:Gem::Version
|
78
77
|
version: '0'
|
79
78
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.2.21
|
81
80
|
signing_key:
|
82
81
|
specification_version: 4
|
83
82
|
summary: Hanny is a Hash-based Approximate Nearest Neighbor search library in Ruby.
|
data/sig/patch.rbs
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
module Numo
|
2
|
-
class NArray
|
3
|
-
def self.asarray: (untyped) -> untyped
|
4
|
-
def self.zeros: (*untyped) -> untyped
|
5
|
-
def concatenate: (*untyped arrays, ?axis: untyped) -> untyped
|
6
|
-
def delete: (untyped indice, ?untyped axis) -> untyped
|
7
|
-
def dot: (untyped b) -> untyped
|
8
|
-
def shape: () -> Array[Integer]
|
9
|
-
end
|
10
|
-
|
11
|
-
class DFloat < NArray
|
12
|
-
def self.[]: (*untyped) -> untyped
|
13
|
-
def -@: () -> untyped
|
14
|
-
def +: (untyped) -> untyped
|
15
|
-
def -: (untyped) -> untyped
|
16
|
-
def *: (untyped) -> untyped
|
17
|
-
def /: (untyped) -> untyped
|
18
|
-
def []: (*untyped) -> untyped
|
19
|
-
def []=: (*untyped) -> untyped
|
20
|
-
end
|
21
|
-
|
22
|
-
class Bit < NArray
|
23
|
-
def self.[]: (*untyped) -> untyped
|
24
|
-
def self.cast: (untyped) -> untyped
|
25
|
-
def []: (*untyped) -> untyped
|
26
|
-
def []=: (*untyped) -> untyped
|
27
|
-
def ^: (untyped) -> untyped
|
28
|
-
def to_a: () -> untyped
|
29
|
-
end
|
30
|
-
end
|