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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9869e7964f7c3ace43a835f43318400b01051a2087f5392445ba22371ca16ef5
4
- data.tar.gz: 4b2703db3b805fd135514b651a4d1d09f85dc0cede5333ae0f82faee74a72873
3
+ metadata.gz: 042d6f76a1896b32ca3479729983abffc716335b9a22ad1f6afbfa905eb8820c
4
+ data.tar.gz: a431e5e9741d2cc66f0c1f7186a6c3f40f652869dfbebcd06077aa27902ca629
5
5
  SHA512:
6
- metadata.gz: dadb8c33ea4eab319eea76546116735be99558dee9c70777c76a77099e45b1689d7293903b875032782942f8e1ec427aa25a655a2a39e2fec2aabcd6ca9ae4f3
7
- data.tar.gz: 8d8c2d1b153d84ca3dd03233d612ce28393f76b164ad42b968cbb705083eb0861fcfeb3ab56e09b2fab55ff137dd764745bbb91de0005fc42ce4a9a30b1dde3e
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2022 Atsushi Tatsuma
1
+ Copyright (c) 2019-2025 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # Numo::Pocketfft
2
2
 
3
3
  [![Build Status](https://github.com/yoshoku/numo-pocketfft/workflows/build/badge.svg)](https://github.com/yoshoku/numo-pocketfft/actions?query=workflow%3Abuild)
4
- [![Coverage Status](https://coveralls.io/repos/github/yoshoku/numo-pocketfft/badge.svg?branch=main)](https://coveralls.io/github/yoshoku/numo-pocketfft?branch=main)
5
4
  [![Gem Version](https://badge.fury.io/rb/numo-pocketfft.svg)](https://badge.fury.io/rb/numo-pocketfft)
6
5
  [![BSD 3-Clause License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://github.com/yoshoku/numo-pocketfft/blob/main/LICENSE.txt)
7
- [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://yoshoku.github.io/numo-pocketfft/doc/)
6
+ [![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](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](http://contributor-covenant.org) code of conduct.
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) }
@@ -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.4.0'
8
+ VERSION = '0.5.0'
9
9
  end
10
10
  end
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.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: 2022-01-01 00:00:00.000000000 Z
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.1
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.1
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://yoshoku.github.io/numo-pocketfft/doc/
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.2.32
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.