mopti 0.2.1 → 0.2.2

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: 3b6dfb3d9e7840e9b55032d70cb56df5109e67a70946bcb053dae81be95a4e08
4
- data.tar.gz: 608ce1f1a48ac82b05534f3322bca64e8fe5f74083a2d516cecb8c360ac22c4c
3
+ metadata.gz: 2004be9554ae15d2abbd7a9f5cdf7e0b7583cb725c0d3b40ffc50b1b92636961
4
+ data.tar.gz: ccbe1ce7c56ecabb25ce491e91075ba83c4ab9379faca954eb9315cab5c4b05c
5
5
  SHA512:
6
- metadata.gz: 888bd3ae46bb4dbcd1778f1bf956731b6358d32acfa6a5eb78acc0dfe85fb2fd9ccdc5e6dd23b09ff913ce8ff996c645d0b963c6992992fc85f2d72f118f9131
7
- data.tar.gz: d657e5718920103a3740a5d477394923b6deac125c02e24cc33558769ec764bd56e954045db9854afcc8233e52b28aa54f79115189e8dfc503bbdf33cefe40bf
6
+ metadata.gz: 7f35b91e05fbe5d459078de1bb7e1fb662e8328c835f62f5eced2f03dccbb58b5c702987df24471cc9c4a4c18c2325904bbee0b7a5ee280591c1ec0305c4762d
7
+ data.tar.gz: b09f2757113dedfd7ad4c7634a87b1fcc42aaf96139d40080e500ff32a73b35d34fc5b21457e412884d3f25bcaf1ab73065a1dcabf89b752d6a4a0fb17ecf56c
@@ -11,9 +11,10 @@ jobs:
11
11
  steps:
12
12
  - uses: actions/checkout@v2
13
13
  - name: Set up 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 bundler
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.2.2
2
+ - Remove dependent gem's type declaration file from installation files.
3
+
1
4
  # 0.2.1
2
5
  - Fix version specifier of runtime dependencies.
3
6
 
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/lib/mopti/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mopti
4
4
  # The version of Mopti you are using.
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
data/mopti.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  # Specify which files should be added to the gem when it is released.
23
23
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
24
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sig-deps)/}) }
26
26
  end
27
27
  spec.bindir = 'exe'
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mopti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-01 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
@@ -52,7 +52,6 @@ files:
52
52
  - sig/mopti.rbs
53
53
  - sig/mopti/nelder_mead.rbs
54
54
  - sig/mopti/scaled_conjugate_gradient.rbs
55
- - sig/patch.rbs
56
55
  homepage: https://github.com/yoshoku/mopti
57
56
  licenses:
58
57
  - BSD-3-Clause
data/sig/patch.rbs DELETED
@@ -1,20 +0,0 @@
1
- module Numo
2
- class NArray
3
- def self.zeros: (*untyped) -> untyped
4
- def dot: (untyped b) -> untyped
5
- def empty?: () -> bool
6
- def ndim: () -> Integer
7
- def shape: () -> Array[Integer]
8
- def swapaxes: (Integer, Integer) -> untyped
9
- end
10
-
11
- class DFloat < NArray
12
- def -@: () -> untyped
13
- def +: (untyped) -> untyped
14
- def -: (untyped) -> untyped
15
- def *: (untyped) -> untyped
16
- def /: (untyped) -> untyped
17
- def []: (*untyped) -> untyped
18
- def []=: (*untyped) -> untyped
19
- end
20
- end