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 +4 -4
- data/.github/workflows/build.yml +2 -1
- data/CHANGELOG.md +3 -0
- data/Steepfile +1 -1
- data/lib/mopti/version.rb +1 -1
- data/mopti.gemspec +1 -1
- metadata +2 -3
- data/sig/patch.rbs +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2004be9554ae15d2abbd7a9f5cdf7e0b7583cb725c0d3b40ffc50b1b92636961
|
4
|
+
data.tar.gz: ccbe1ce7c56ecabb25ce491e91075ba83c4ab9379faca954eb9315cab5c4b05c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f35b91e05fbe5d459078de1bb7e1fb662e8328c835f62f5eced2f03dccbb58b5c702987df24471cc9c4a4c18c2325904bbee0b7a5ee280591c1ec0305c4762d
|
7
|
+
data.tar.gz: b09f2757113dedfd7ad4c7634a87b1fcc42aaf96139d40080e500ff32a73b35d34fc5b21457e412884d3f25bcaf1ab73065a1dcabf89b752d6a4a0fb17ecf56c
|
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
|
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 bundler
|
data/CHANGELOG.md
CHANGED
data/Steepfile
CHANGED
data/lib/mopti/version.rb
CHANGED
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.
|
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-
|
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
|