numo-pocketfft 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 556745bf510d218d861de24e22d3a29397ba1a3a257bbb1158c8304c41026961
4
- data.tar.gz: cbacdc59578ef51926057807412f841f6871e2a5c3cb53e8b48bee6eef9c3a4e
3
+ metadata.gz: 31e34116c844e6f39888119f8f9fb05bd9705ecbccb848195e3667f30e90234c
4
+ data.tar.gz: 8d3b62d7b05a4902c21593a79e6d493f3cf68fb73bc5cff604af9b5c17fabb15
5
5
  SHA512:
6
- metadata.gz: e47fdf6864f08e0bd16dbe0b1b9651f6e83dd2a24e6be28e3490121fa15dd03629f6e6252c4b516da05265a5aab8fb7f275ccd5b11b278fe943922ec85406457
7
- data.tar.gz: 575423a6d7b2cba2d087af77fa5106591c2bc7208b4cf0d569289b1dfe13eef6b5ed1e836b5dc69dc8a9d899000e48a14fc815685685eed0fd0469dfe1ed287a
6
+ metadata.gz: 0afe23f2b56c71684ec1d1e362155073c3be3eb1c1d01ac762a73a2a09915d6536b15c8cf80d876c6bad3d1afcf4f0d1466650556d2e59924c947073b3bd9a9c
7
+ data.tar.gz: f2aa69f50bbfa8c8dc4da1c220899d5ba3aa1e27db4dbbe2826da04e35bf72cff29a50c4abd6f7e2fe61d4f7fec8a03877abbb54ba2b451ec1463cde191c7cfe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.3.2
2
+ - Update type declaration file.
3
+ - Remove dependent gem's type declaration file from installation files.
4
+
1
5
  # 0.3.1
2
6
  - Fix version specifier of runtime dependencies.
3
7
 
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
@@ -5,6 +5,6 @@ module Numo
5
5
  # Numo::Pocketfft is the module that has functions for Fourier transform.
6
6
  module Pocketfft
7
7
  # The version of Numo::Pocketfft you are using.
8
- VERSION = '0.3.1'
8
+ VERSION = '0.3.2'
9
9
  end
10
10
  end
@@ -20,15 +20,14 @@ Gem::Specification.new do |spec|
20
20
  # Specify which files should be added to the gem when it is released.
21
21
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
22
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sig-deps)/}) }
24
24
  end
25
25
 
26
26
  # Add files in submodule: https://gist.github.com/mattconnolly/5875987
27
- gem_dir = __dir__ + '/'
28
- `git submodule --quiet foreach pwd`.split($OUTPUT_RECORD_SEPARATOR).each do |submodule_path|
27
+ `git submodule --quiet foreach pwd`.split($INPUT_RECORD_SEPARATOR).each do |submodule_path|
29
28
  Dir.chdir(submodule_path) do
30
- submodule_relative_path = submodule_path.sub gem_dir, ''
31
- `git ls-files`.split($OUTPUT_RECORD_SEPARATOR).each do |filename|
29
+ submodule_relative_path = submodule_path.sub("#{__dir__}/", '')
30
+ `git ls-files -z`.split("\x0").select { |f| f.match?(/^*(\.md|\.c|\.h)$/) }.each do |filename|
32
31
  spec.files << "#{submodule_relative_path}/#{filename}"
33
32
  end
34
33
  end
@@ -19,10 +19,10 @@ module Numo
19
19
 
20
20
  private
21
21
 
22
- def self?.ext_cfft: (untyped a) -> untyped
23
- def self?.ext_icfft: (untyped a) -> untyped
24
- def self?.ext_rfft: (untyped a) -> untyped
25
- def self?.ext_irfft: (untyped a) -> untyped
22
+ def self?.ext_cfft: (Numo::DComplex a) -> Numo::DComplex
23
+ def self?.ext_icfft: (Numo::DComplex a) -> Numo::DComplex
24
+ def self?.ext_rfft: (Numo::DFloat a) -> Numo::DComplex
25
+ def self?.ext_irfft: (Numo::DComplex a) -> Numo::DFloat
26
26
  def self?.raw_fft: (untyped a, Integer axis_id, inverse: bool inverse, real: bool real) -> untyped
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-pocketfft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-28 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
@@ -50,10 +50,8 @@ files:
50
50
  - Rakefile
51
51
  - Steepfile
52
52
  - ext/numo/pocketfft/extconf.rb
53
- - ext/numo/pocketfft/pocketfft/.gitlab-ci.yml
54
53
  - ext/numo/pocketfft/pocketfft/LICENSE.md
55
54
  - ext/numo/pocketfft/pocketfft/README.md
56
- - ext/numo/pocketfft/pocketfft/TESTING
57
55
  - ext/numo/pocketfft/pocketfft/ffttest.c
58
56
  - ext/numo/pocketfft/pocketfft/pocketfft.c
59
57
  - ext/numo/pocketfft/pocketfft/pocketfft.h
@@ -63,7 +61,6 @@ files:
63
61
  - lib/numo/pocketfft/version.rb
64
62
  - numo-pocketfft.gemspec
65
63
  - sig/numo/pocketfft.rbs
66
- - sig/patch.rbs
67
64
  homepage: https://github.com/yoshoku/numo-pocketfft
68
65
  licenses:
69
66
  - BSD-3-Clause
@@ -1,12 +0,0 @@
1
- image: debian:testing-slim
2
-
3
- stages:
4
- - testing
5
-
6
- test:
7
- stage: testing
8
- script:
9
- - apt-get update
10
- - apt-get install -y gcc
11
- - gcc -O3 -W -Wall -std=c99 -march=native *.c -lm
12
- - ./a.out
@@ -1,6 +0,0 @@
1
- To run a quick test for all FFT sizes up to 8192, do
2
-
3
- gcc -std=c99 -O2 -W -Wall *.c -lm
4
- ./a.out
5
-
6
- If there is no output, the tests have succeeded.
data/sig/patch.rbs DELETED
@@ -1,22 +0,0 @@
1
- module Numo
2
- class NArray
3
- def empty?: () -> bool
4
- def ndim: () -> Integer
5
- def shape: () -> Array[Integer]
6
- def swapaxes: (Integer, Integer) -> untyped
7
- end
8
-
9
- class DFloat < NArray
10
- def *: (untyped) -> untyped
11
- def []: (*untyped) -> untyped
12
- def []=: (*untyped) -> untyped
13
- end
14
-
15
- class DComplex < NArray
16
- def self.zeros: (*untyped) -> Numo::DComplex
17
- def *: (untyped) -> untyped
18
- def []: (*untyped) -> untyped
19
- def []=: (*untyped) -> untyped
20
- def real: () -> Numo::DFloat
21
- end
22
- end