numo-pocketfft 0.4.0 → 0.5.0
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/CHANGELOG.md +9 -0
- data/LICENSE.txt +1 -1
- data/README.md +4 -3
- data/ext/numo/pocketfft/extconf.rb +6 -0
- data/lib/numo/pocketfft/version.rb +1 -1
- metadata +9 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 042d6f76a1896b32ca3479729983abffc716335b9a22ad1f6afbfa905eb8820c
|
4
|
+
data.tar.gz: a431e5e9741d2cc66f0c1f7186a6c3f40f652869dfbebcd06077aa27902ca629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ea6325fcb6cdf457d82a315d0e8ef60d3525be4fe65b16ff8a154e3385d6dcddf7ab2902cbfcf3fe9105821497649505aa31be6272ecd085cef558668a4ae2
|
7
|
+
data.tar.gz: 51188d707d5a9f72da687d4c5f2437bd2d18318312228d52e067b880b9129f56c7a8358552367c7418ed63bd6a5b207a8f35294f9192fa1585648fd10c986f5b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 0.5.0
|
2
|
+
|
3
|
+
**Breaking change**
|
4
|
+
|
5
|
+
- Change dependency from numo-narray to [numo-narray-alt](https://github.com/yoshoku/numo-narray-alt).
|
6
|
+
|
7
|
+
# 0.4.1
|
8
|
+
- Fix build failure with Xcode 14 and Ruby 3.1.x.
|
9
|
+
|
1
10
|
# 0.4.0
|
2
11
|
- Refactor native extension codes with C99 style.
|
3
12
|
- Change not ot use git submodule for pocketfft codes bundle.
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
# Numo::Pocketfft
|
2
2
|
|
3
3
|
[](https://github.com/yoshoku/numo-pocketfft/actions?query=workflow%3Abuild)
|
4
|
-
[](https://coveralls.io/github/yoshoku/numo-pocketfft?branch=main)
|
5
4
|
[](https://badge.fury.io/rb/numo-pocketfft)
|
6
5
|
[](https://github.com/yoshoku/numo-pocketfft/blob/main/LICENSE.txt)
|
7
|
-
[](https://yoshoku.github.io/numo-pocketfft/doc/)
|
8
7
|
|
9
8
|
Numo::Pocketfft provides functions for performing descrete Fourier Transform with
|
10
9
|
[Numo::NArray](https://github.com/ruby-numo/numo-narray) by using
|
@@ -13,6 +12,8 @@ Numo::Pocketfft provides functions for performing descrete Fourier Transform wit
|
|
13
12
|
Note: There are other useful Ruby gems perform descrete Fourier Transform with Numo::NArray:
|
14
13
|
[Numo::FFTW](https://github.com/ruby-numo/numo-fftw) and [Numo::FFTE](https://github.com/ruby-numo/numo-ffte) by Masahiro Tanaka.
|
15
14
|
|
15
|
+
Note: Since v0.5.0, this library uses [Numo::NArray Alternative](https://github.com/yoshoku/numo-narray-alt) instead of Numo::NArray as a dependency.
|
16
|
+
|
16
17
|
## Installation
|
17
18
|
|
18
19
|
Numo::Pocketfft bundles pocketfft codes, so there is no need to install another external library in advance.
|
@@ -61,7 +62,7 @@ Numo::Pocketfft.ifft2(Numo::Pocketfft.fft2(c))
|
|
61
62
|
|
62
63
|
## Contributing
|
63
64
|
|
64
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/numo-pocketfft. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](
|
65
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/numo-pocketfft. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://contributor-covenant.org) code of conduct.
|
65
66
|
|
66
67
|
## License
|
67
68
|
|
@@ -26,6 +26,12 @@ if RUBY_PLATFORM =~ /mswin|cygwin|mingw/
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
if RUBY_PLATFORM.match?(/darwin/) && Gem::Version.new('3.1.0') <= Gem::Version.new(RUBY_VERSION)
|
30
|
+
if try_link('int main(void){return 0;}', '-Wl,-undefined,dynamic_lookup')
|
31
|
+
$LDFLAGS << ' -Wl,-undefined,dynamic_lookup'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
29
35
|
$CFLAGS = "#{$CFLAGS} -std=c99"
|
30
36
|
|
31
37
|
$srcs = Dir.glob("#{$srcdir}/**/*.c").map { |path| File.basename(path) }
|
metadata
CHANGED
@@ -1,29 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-pocketfft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: numo-narray
|
13
|
+
name: numo-narray-alt
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- - "
|
16
|
+
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.
|
18
|
+
version: 0.9.3
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
|
-
- - "
|
23
|
+
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.9.
|
25
|
+
version: 0.9.3
|
27
26
|
description: 'Numo::Pocketfft provides functions for descrete Fourier Transform based
|
28
27
|
on pocketfft.
|
29
28
|
|
@@ -54,9 +53,8 @@ metadata:
|
|
54
53
|
homepage_uri: https://github.com/yoshoku/numo-pocketfft
|
55
54
|
changelog_uri: https://github.com/yoshoku/numo-pocketfft/blob/main/CHANGELOG.md
|
56
55
|
source_code_uri: https://github.com/yoshoku/numo-pocketfft
|
57
|
-
documentation_uri: https://
|
56
|
+
documentation_uri: https://gemdocs.org/gems/numo-pocketfft/0.5.0/
|
58
57
|
bug_tracker_uri: https://github.com/yoshoku/numo-pocketfft/issues
|
59
|
-
post_install_message:
|
60
58
|
rdoc_options: []
|
61
59
|
require_paths:
|
62
60
|
- lib
|
@@ -71,8 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
69
|
- !ruby/object:Gem::Version
|
72
70
|
version: '0'
|
73
71
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
75
|
-
signing_key:
|
72
|
+
rubygems_version: 3.6.9
|
76
73
|
specification_version: 4
|
77
74
|
summary: Numo::Pocketfft provides functions for descrete Fourier Transform based on
|
78
75
|
pocketfft.
|