gphys 1.2.2 → 1.2.2.1a
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/extconf.rb +12 -6
- data/gphys.gemspec +1 -1
- data/lib/gphys.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +6 -6
data/README.md
CHANGED
data/extconf.rb
CHANGED
@@ -7,12 +7,18 @@ def install_dirs
|
|
7
7
|
dirs
|
8
8
|
end
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
narray_include =
|
14
|
-
narray_lib =
|
15
|
-
|
10
|
+
if Gem.respond_to?(:find_files)
|
11
|
+
require "rbconfig"
|
12
|
+
so = RbConfig::CONFIG["DLEXT"]
|
13
|
+
narray_include = File.expand_path(File.dirname(Gem.find_files("narray.h")[0]))
|
14
|
+
narray_lib = File.expand_path(File.dirname(Gem.find_files("narray." + so)[0]))
|
15
|
+
else
|
16
|
+
gem_home=(`gem environment GEM_HOME`).chomp
|
17
|
+
narray_dir = Dir.glob("#{gem_home}/gems/narray-*").sort[-1]
|
18
|
+
narray_include = narray_dir
|
19
|
+
narray_lib = narray_dir
|
20
|
+
end
|
21
|
+
dir_config('narray', narray_include, narray_lib) if narray_include || narray_lib
|
16
22
|
|
17
23
|
if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
|
18
24
|
print <<EOS
|
data/gphys.gemspec
CHANGED
@@ -30,5 +30,5 @@ Gem::Specification.new do |gem|
|
|
30
30
|
gem.add_runtime_dependency(%q<ruby-fftw3>, [">= 0.3"])
|
31
31
|
gem.add_runtime_dependency(%q<gsl>, [">= 1.14"])
|
32
32
|
gem.add_runtime_dependency(%q<ruby-lapack>, [">= 1.5"])
|
33
|
-
gem.
|
33
|
+
gem.add_development_dependency(%q<rb-grib>, [">= 0.2.0"])
|
34
34
|
end
|
data/lib/gphys.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
require "version"
|
2
|
-
require "numru/gphys.rb
|
2
|
+
require "numru/gphys.rb"
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gphys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.2
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.2.1a
|
5
|
+
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Takeshi Horinouchi
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-12-
|
16
|
+
date: 2012-12-23 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: narray
|
@@ -167,7 +167,7 @@ dependencies:
|
|
167
167
|
- - ! '>='
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: 0.2.0
|
170
|
-
type: :
|
170
|
+
type: :development
|
171
171
|
prerelease: false
|
172
172
|
version_requirements: !ruby/object:Gem::Requirement
|
173
173
|
none: false
|
@@ -319,9 +319,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
319
319
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
320
|
none: false
|
321
321
|
requirements:
|
322
|
-
- - ! '
|
322
|
+
- - ! '>'
|
323
323
|
- !ruby/object:Gem::Version
|
324
|
-
version:
|
324
|
+
version: 1.3.1
|
325
325
|
requirements: []
|
326
326
|
rubyforge_project:
|
327
327
|
rubygems_version: 1.8.23
|