hanny 0.2.0 → 0.2.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: 2824f94d9113fc6605cf22f54a3cbabb594ade24cf27fee4c87bf44f173d8230
4
- data.tar.gz: 7ae587eb0c54e706570463c45b067f664f18782689a3b9be2fae4cbb16f637bd
3
+ metadata.gz: 34769d604cbf8f16dad0e31abbfd8fc27d8a3d80fcd48d27d6344b3abb2abd47
4
+ data.tar.gz: 95917273a1a476ecd6c582f0e4955ef88b8b214d59baf0f0d5d5ef3267a2a92d
5
5
  SHA512:
6
- metadata.gz: '0969d1d88a041702ae368f63fbcb64687e1d184923a837689512d9cb5168cef7ec50ac35db1aca5443e8237a25cfa5ab5415bc1e22269b41c985649cc286a2f0'
7
- data.tar.gz: 8ad6a5507f4efcd1afbdf9241931f9485780e9bf9e48d5048524944073a7d56e8ca693e710b5f8ea84b4f8aee595dc0339c61ab8409587d87169d9526e158dde
6
+ metadata.gz: 635dd1e38cca2b611c0b56d89d93567fc082a649bcf7746d72995cb940400e55cb441b8db264d8d14ed3d1e95b78e0894ab8e00c7c03ade845ead9558f68617d
7
+ data.tar.gz: c17cc97c2883b9fb17c028ea3aadba4a8dde203220d4c952b8726258c5740d756beee1e2f10b6907555c420a0802febf48db12fd6c40bbe247145ad13a048a49
@@ -11,9 +11,10 @@ jobs:
11
11
  steps:
12
12
  - uses: actions/checkout@v2
13
13
  - name: Set up Ruby ${{ matrix.ruby }}
14
- uses: actions/setup-ruby@v1
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: actions/setup-ruby@v1
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
@@ -1,3 +1,6 @@
1
+ # 0.2.1
2
+ - Remove dependent gem's type declaration file from installation files.
3
+
1
4
  # 0.2.0
2
5
  - Add type declaration files.
3
6
  - Refactor some codes with type check.
data/Steepfile CHANGED
@@ -1,5 +1,5 @@
1
1
  target :lib do
2
- signature "sig"
2
+ signature "sig", "sig-deps"
3
3
 
4
4
  check "lib" # Directory name
5
5
  # check "Gemfile" # File name
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
@@ -3,5 +3,5 @@
3
3
  # Hanny is a hash-based approximate nearest neighbor search library.
4
4
  module Hanny
5
5
  # The version of Hanny you are using.
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.1'
7
7
  end
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.0
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-06-25 00:00:00.000000000 Z
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.1.6
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