numo-pocketfft 0.4.0 → 0.4.1

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: 9869e7964f7c3ace43a835f43318400b01051a2087f5392445ba22371ca16ef5
4
- data.tar.gz: 4b2703db3b805fd135514b651a4d1d09f85dc0cede5333ae0f82faee74a72873
3
+ metadata.gz: b5fa60c7c4f1066756e1e9d8b953623f12a5025a802855f299b22375922ccb67
4
+ data.tar.gz: 17971400018c337cdaba02ab2a9564ddcd8a5fa96ca38473ac875a9ef99bec92
5
5
  SHA512:
6
- metadata.gz: dadb8c33ea4eab319eea76546116735be99558dee9c70777c76a77099e45b1689d7293903b875032782942f8e1ec427aa25a655a2a39e2fec2aabcd6ca9ae4f3
7
- data.tar.gz: 8d8c2d1b153d84ca3dd03233d612ce28393f76b164ad42b968cbb705083eb0861fcfeb3ab56e09b2fab55ff137dd764745bbb91de0005fc42ce4a9a30b1dde3e
6
+ metadata.gz: e3f8253555afff5c0b15e7c97a007df3bd4a6b468b0e535ac4696a97da9fda13178170b6403c9bb6c65ab4849961288a46d40ca358dfe71d4fafd89f48b90ab2
7
+ data.tar.gz: a137be01ea73aac4cca32e7d79f784be9df59f4b2f844cf8cd950040ff09fd98e74b586fe9d097ed902ab05f114d4f4cc3d64451b4446fb44878525f38e2d765
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.4.1
2
+ - Fix build failure with Xcode 14 and Ruby 3.1.x.
3
+
1
4
  # 0.4.0
2
5
  - Refactor native extension codes with C99 style.
3
6
  - Change not ot use git submodule for pocketfft codes bundle.
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
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
5
  [![Gem Version](https://badge.fury.io/rb/numo-pocketfft.svg)](https://badge.fury.io/rb/numo-pocketfft)
6
6
  [![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/)
7
+ [![Documentation](https://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://yoshoku.github.io/numo-pocketfft/doc/)
8
8
 
9
9
  Numo::Pocketfft provides functions for performing descrete Fourier Transform with
10
10
  [Numo::NArray](https://github.com/ruby-numo/numo-narray) by using
@@ -61,7 +61,7 @@ Numo::Pocketfft.ifft2(Numo::Pocketfft.fft2(c))
61
61
 
62
62
  ## Contributing
63
63
 
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.
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](https://contributor-covenant.org) code of conduct.
65
65
 
66
66
  ## License
67
67
 
@@ -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.4.1'
9
9
  end
10
10
  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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-01 00:00:00.000000000 Z
11
+ date: 2022-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-narray
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.2.32
74
+ rubygems_version: 3.3.26
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Numo::Pocketfft provides functions for descrete Fourier Transform based on