numo-pocketfft 0.4.1 → 0.5.1

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: b5fa60c7c4f1066756e1e9d8b953623f12a5025a802855f299b22375922ccb67
4
- data.tar.gz: 17971400018c337cdaba02ab2a9564ddcd8a5fa96ca38473ac875a9ef99bec92
3
+ metadata.gz: 7086fd0601883662019b1c7cbab7a043709f580fdffc2083e37ebfbe72202886
4
+ data.tar.gz: f922f4c433dc636e1932dc65ed24d25a62f5ad8b450aea64d9f256775aa41b83
5
5
  SHA512:
6
- metadata.gz: e3f8253555afff5c0b15e7c97a007df3bd4a6b468b0e535ac4696a97da9fda13178170b6403c9bb6c65ab4849961288a46d40ca358dfe71d4fafd89f48b90ab2
7
- data.tar.gz: a137be01ea73aac4cca32e7d79f784be9df59f4b2f844cf8cd950040ff09fd98e74b586fe9d097ed902ab05f114d4f4cc3d64451b4446fb44878525f38e2d765
6
+ metadata.gz: a2e3eedc4cc59e31dcc59ffcfe653d95c9db6c1f41d9d3e76b60a7f3a7009a97f2c9c9721d0d83b8f10a74386427d1c79b19955023fbd5b25810bee2943efaa9
7
+ data.tar.gz: 4216f83ed2bdb87a5f5e48844b20f21d60cc2652bff23dfa27af81316ef32e7feaddee66ffeeaeca48f41290906d6927923a1114026171a573c8a807924c549b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # 0.5.1
2
+
3
+ - Set the required version of numo-narray-alt to 0.9.9 or higher.
4
+ - Change require statement to explicitly load numo/narray/alt.
5
+
6
+ # 0.5.0
7
+
8
+ **Breaking change**
9
+
10
+ - Change dependency from numo-narray to [numo-narray-alt](https://github.com/yoshoku/numo-narray-alt).
11
+
1
12
  # 0.4.1
2
13
  - Fix build failure with Xcode 14 and Ruby 3.1.x.
3
14
 
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](https://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.
@@ -1,5 +1,5 @@
1
1
  require 'mkmf'
2
- require 'numo/narray'
2
+ require 'numo/narray/alt'
3
3
 
4
4
  $LOAD_PATH.each do |lp|
5
5
  if File.exist?(File.join(lp, 'numo/numo/narray.h'))
@@ -15,8 +15,8 @@ end
15
15
 
16
16
  if RUBY_PLATFORM =~ /mswin|cygwin|mingw/
17
17
  $LOAD_PATH.each do |lp|
18
- if File.exist?(File.join(lp, 'numo/libnarray.a'))
19
- $LDFLAGS = "-L#{lp}/numo #{$LDFLAGS}"
18
+ if File.exist?(File.join(lp, 'numo/narray/libnarray.a'))
19
+ $LDFLAGS = "-L#{lp}/numo/narray #{$LDFLAGS}"
20
20
  break
21
21
  end
22
22
  end
@@ -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.1'
8
+ VERSION = '0.5.1'
9
9
  end
10
10
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'numo/narray'
3
+ require 'numo/narray/alt'
4
4
  require 'numo/pocketfft/version'
5
5
  require 'numo/pocketfft/pocketfftext'
6
6
 
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.1
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2022-11-27 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.9
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.9
27
26
  description: 'Numo::Pocketfft provides functions for descrete Fourier Transform based
28
27
  on pocketfft.
29
28
 
@@ -54,9 +53,9 @@ 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.1/
58
57
  bug_tracker_uri: https://github.com/yoshoku/numo-pocketfft/issues
59
- post_install_message:
58
+ rubygems_mfa_required: 'true'
60
59
  rdoc_options: []
61
60
  require_paths:
62
61
  - lib
@@ -71,8 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
70
  - !ruby/object:Gem::Version
72
71
  version: '0'
73
72
  requirements: []
74
- rubygems_version: 3.3.26
75
- signing_key:
73
+ rubygems_version: 3.6.9
76
74
  specification_version: 4
77
75
  summary: Numo::Pocketfft provides functions for descrete Fourier Transform based on
78
76
  pocketfft.