ruby-fftw3 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dd29637b6db0629c5a6a32435d8e70210296f7e8
4
+ data.tar.gz: d08d61c4377fa8ffbc9804803989b2e12c9837c8
5
+ SHA512:
6
+ metadata.gz: 2de7d3df65f49167f9a6e2b9b5d91e8075f7d904a21ed695fdde967d29bac8d0e6aa4bf2088daff98d5ddf467f00a0d29dfaccd4b2449942c3bf04b85d78a909
7
+ data.tar.gz: f7357facb75108f2305905bf5ae268d4228857a5be4bfa565ab6cae83d11f5c0a89ff8eec573a392bd1540bad66fbe90cf447a3ed7e4479f331472ceaa1f180a
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ruby-fftw3.gemspec
4
+ gemspec
File without changes
data/Rakefile CHANGED
@@ -1,38 +1,2 @@
1
- require 'rake/gempackagetask'
1
+ require "bundler/gem_tasks"
2
2
 
3
- NAME = 'ruby-fftw3'
4
- VER = '0.4'
5
-
6
- PKG_FILES = FileList[
7
- '**',
8
- 'doc/**/*',
9
- 'test/**/*'
10
- ]
11
-
12
- spec = Gem::Specification.new do |s|
13
- s.name = NAME
14
- s.version = VER
15
- s.authors = ["Takeshi Horinouchi"]
16
- s.email = ['eriko@gfd-dennou.org']
17
- s.homepage = 'http://www.gfd-dennou.org/arch/ruby/products/ruby-fftw3/'
18
- s.licenses = ["Takeshi Horinouchi", "GFD Dennou Club"]
19
- s.platform = Gem::Platform::RUBY
20
- s.summary = %q{The Ruby interface of the FFTW (ver 3) library}
21
- s.description = %q{Fast Fourier Transforms by using FFTW Ver.3}
22
-
23
- s.files = PKG_FILES.to_a
24
- #s.require_paths = ['lib']
25
- #s.test_files = Dir.glob("test/*")
26
- #s.has_rdoc = true
27
- s.required_ruby_version = Gem::Requirement.new(">= 1.6")
28
- s.add_runtime_dependency(%q<narray>, [">= 0"])
29
- #s.add_runtime_dependency(%q<narray_miss>, [">= 0"])
30
- #s.extra_rdoc_files = ['README']
31
-
32
- s.extensions << "extconf.rb"
33
- end
34
-
35
- Rake::GemPackageTask.new(spec) do |pkg|
36
- pkg.gem_spec = spec
37
- pkg.need_tar = true
38
- end
data/extconf.rb CHANGED
@@ -1,11 +1,8 @@
1
1
  require "mkmf"
2
2
 
3
- #dir_config('narray',$sitearchdir,$sitearchdir)
4
- hoge = Gem::GemPathSearcher.new.find("narray")
5
- narray_fullname = hoge.full_name
6
- narray_installpath = hoge.installation_path
7
- narray_include = "#{narray_installpath}/gems/#{narray_fullname}/"
8
- narray_lib = "#{narray_installpath}/gems/#{narray_fullname}/"
3
+ gem_narray_path=File::dirname(`gem which narray`)
4
+ narray_include=gem_narray_path
5
+ narray_lib=gem_narray_path
9
6
  dir_config('narray',narray_include,narray_lib)
10
7
 
11
8
  dir_config('fftw3','/usr/local')
@@ -0,0 +1,5 @@
1
+ module Ruby
2
+ module FFTW3
3
+ VERSION = "0.4.1"
4
+ end
5
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'numru/fftw3/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ruby-fftw3"
8
+ spec.version = Ruby::FFTW3::VERSION
9
+ spec.authors = ["Takeshi Horinouchi"]
10
+ spec.email = ['eriko@gfd-dennou.org']
11
+
12
+ #if spec.respond_to?(:metadata)
13
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server."
14
+ #end
15
+
16
+ spec.summary = %q{The Ruby interface of the FFTW (ver 3) library}
17
+ spec.description = %q{Fast Fourier Transforms by using FFTW Ver.3}
18
+ spec.homepage = 'http://www.gfd-dennou.org/arch/ruby/products/ruby-fftw3/'
19
+ spec.licenses = ["Takeshi Horinouchi", "GFD Dennou Club"]
20
+
21
+ #spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ spec.files = `git ls-files -z`.split("\x0")
23
+ spec.test_files = spec.files.grep(%r{^test/})
24
+ #spec.bindir = "exe"
25
+ #spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.required_ruby_version = Gem::Requirement.new(">= 1.6")
29
+ spec.add_runtime_dependency(%q<narray>, [">= 0"])
30
+
31
+ spec.extensions << "extconf.rb"
32
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Ruby::Fftw3 do
4
+ it 'has a version number' do
5
+ expect(Ruby::Fftw3::VERSION).not_to be nil
6
+ end
7
+
8
+ it 'does something useful' do
9
+ expect(false).to eq(true)
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'ruby/fftw3'
@@ -1,3 +1,4 @@
1
+ require "narray"
1
2
  require "numru/fftw3"
2
3
  include NumRu
3
4
 
metadata CHANGED
@@ -1,90 +1,79 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ruby-fftw3
3
- version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 4
9
- version: "0.4"
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.1
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - Takeshi Horinouchi
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2012-02-27 00:00:00 +09:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: narray
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
32
20
  type: :runtime
33
- version_requirements: *id001
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
34
27
  description: Fast Fourier Transforms by using FFTW Ver.3
35
- email:
28
+ email:
36
29
  - eriko@gfd-dennou.org
37
30
  executables: []
38
-
39
- extensions:
31
+ extensions:
40
32
  - extconf.rb
41
33
  extra_rdoc_files: []
42
-
43
- files:
44
- - Rakefile
45
- - LICENSE.txt
34
+ files:
35
+ - .gitignore
36
+ - .rspec
37
+ - .travis.yml
46
38
  - ChangeLog
47
- - extconf.rb
39
+ - Gemfile
40
+ - LICENSE.txt
41
+ - README.rd
42
+ - Rakefile
48
43
  - ToDo
49
- - na_fftw3.c
50
44
  - doc/ruby-fftw3.html
51
45
  - doc/ruby-fftw3.rd
46
+ - extconf.rb
47
+ - lib/numru/fftw3/version.rb
48
+ - na_fftw3.c
49
+ - ruby-fftw3.gemspec
50
+ - spec/ruby/fftw3_spec.rb
51
+ - spec/spec_helper.rb
52
52
  - test/complexFFT.rb
53
- has_rdoc: true
54
53
  homepage: http://www.gfd-dennou.org/arch/ruby/products/ruby-fftw3/
55
- licenses:
54
+ licenses:
56
55
  - Takeshi Horinouchi
57
56
  - GFD Dennou Club
57
+ metadata: {}
58
58
  post_install_message:
59
59
  rdoc_options: []
60
-
61
- require_paths:
60
+ require_paths:
62
61
  - lib
63
- required_ruby_version: !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- hash: 3
69
- segments:
70
- - 1
71
- - 6
72
- version: "1.6"
73
- required_rubygems_version: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 3
79
- segments:
80
- - 0
81
- version: "0"
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '1.6'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
82
72
  requirements: []
83
-
84
73
  rubyforge_project:
85
- rubygems_version: 1.3.7
74
+ rubygems_version: 2.4.6
86
75
  signing_key:
87
- specification_version: 3
76
+ specification_version: 4
88
77
  summary: The Ruby interface of the FFTW (ver 3) library
89
- test_files: []
90
-
78
+ test_files:
79
+ - test/complexFFT.rb