[DRE-commits] [ruby-narray] 01/07: New upstream version 0.6.1.2
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Wed Aug 30 19:20:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch master
in repository ruby-narray.
commit 1d02d5d746d93d119ab0dc104c494c5c6318bc3e
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Thu Aug 31 00:35:12 2017 +0900
New upstream version 0.6.1.2
---
ChangeLog | 5 +++
MANIFEST | 4 +-
metadata.yml | 84 --------------------------------------
narray.gemspec | 32 +++++++++++++++
src/lib/{ => narray}/narray_ext.rb | 4 +-
src/lib/{ => narray}/nmatrix.rb | 0
src/narray.c | 2 +-
src/narray.h | 4 +-
8 files changed, 44 insertions(+), 91 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 067decd..265d270 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-11 Masahiro TANAKA <masa16.tanaka at gmail.com>
+
+ * nmatrix.rb, narray_ext.rb: moved from lib/ to lib/narray/
+ * ver 0.6.1.2
+
2013-03-16 Masahiro TANAKA <masa16.tanaka at gmail.com>
* narray.c (Init_narray): add map, map!
diff --git a/MANIFEST b/MANIFEST
index 07f8ec1..7ec2851 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -18,8 +18,8 @@ narray.c
narray.def
narray.h
narray_local.h
-lib/narray_ext.rb
-lib/nmatrix.rb
+lib/narray/narray_ext.rb
+lib/narray/nmatrix.rb
test/statistics.rb
test/testarray.rb
test/testbit.rb
diff --git a/metadata.yml b/metadata.yml
deleted file mode 100644
index 208a314..0000000
--- a/metadata.yml
+++ /dev/null
@@ -1,84 +0,0 @@
---- !ruby/object:Gem::Specification
-name: narray
-version: !ruby/object:Gem::Version
- version: 0.6.1.1
-platform: ruby
-authors:
-- Masahiro Tanaka
-autorequire:
-bindir: bin
-cert_chain: []
-date: 2015-01-01 00:00:00.000000000 Z
-dependencies: []
-description: Numerical N-dimensional Array class
-email: masa16.tanaka at gmail.com
-executables: []
-extensions:
-- src/extconf.rb
-extra_rdoc_files: []
-files:
-- ChangeLog
-- MANIFEST
-- README.ja.md
-- README.md
-- SPEC.en.txt
-- SPEC.ja.txt
-- src/depend
-- src/extconf.rb
-- src/lib/narray_ext.rb
-- src/lib/nmatrix.rb
-- src/mkmath.rb
-- src/mknafunc.rb
-- src/mkop.rb
-- src/na_array.c
-- src/na_func.c
-- src/na_index.c
-- src/na_linalg.c
-- src/na_random.c
-- src/narray.c
-- src/narray.def
-- src/narray.h
-- src/narray_local.h
-homepage: http://masa16.github.io/narray/
-licenses:
-- Ruby
-metadata: {}
-post_install_message:
-rdoc_options:
-- "--title"
-- NArray
-- "--main"
-- NArray
-- "--exclude"
-- mk.*
-- "--exclude"
-- extconf\.rb
-- "--exclude"
-- src/.*\.h
-- "--exclude"
-- src/lib/
-- "--exclude"
-- ".*\\.o"
-- "--exclude"
-- narray\.so
-- "--exclude"
-- libnarray\.*
-require_paths:
-- "."
-required_ruby_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
-required_rubygems_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
-requirements: []
-rubyforge_project:
-rubygems_version: 2.2.2
-signing_key:
-specification_version: 2
-summary: N-dimensional Numerical Array class for Ruby
-test_files: []
diff --git a/narray.gemspec b/narray.gemspec
new file mode 100644
index 0000000..1771b88
--- /dev/null
+++ b/narray.gemspec
@@ -0,0 +1,32 @@
+#########################################################
+# This file has been automatically generated by gem2tgz #
+#########################################################
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = "narray"
+ s.version = "0.6.1.2"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Masahiro Tanaka"]
+ s.date = "2016-02-11"
+ s.description = "Numerical N-dimensional Array class"
+ s.email = "masa16.tanaka at gmail.com"
+ s.extensions = ["src/extconf.rb"]
+ s.files = ["ChangeLog", "MANIFEST", "README.ja.md", "README.md", "SPEC.en.txt", "SPEC.ja.txt", "src/depend", "src/extconf.rb", "src/lib/narray/narray_ext.rb", "src/lib/narray/nmatrix.rb", "src/mkmath.rb", "src/mknafunc.rb", "src/mkop.rb", "src/na_array.c", "src/na_func.c", "src/na_index.c", "src/na_linalg.c", "src/na_random.c", "src/narray.c", "src/narray.def", "src/narray.h", "src/narray_local.h"]
+ s.homepage = "http://masa16.github.io/narray/"
+ s.licenses = ["Ruby"]
+ s.rdoc_options = ["--title", "NArray", "--main", "NArray", "--exclude", "mk.*", "--exclude", "extconf\\.rb", "--exclude", "src/.*\\.h", "--exclude", "src/lib/", "--exclude", ".*\\.o", "--exclude", "narray\\.so", "--exclude", "libnarray\\.*"]
+ s.require_paths = ["."]
+ s.rubygems_version = "1.8.23"
+ s.summary = "N-dimensional Numerical Array class for Ruby"
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 2
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
diff --git a/src/lib/narray_ext.rb b/src/lib/narray/narray_ext.rb
similarity index 99%
rename from src/lib/narray_ext.rb
rename to src/lib/narray/narray_ext.rb
index 643c4fd..a7edb3c 100644
--- a/src/lib/narray_ext.rb
+++ b/src/lib/narray/narray_ext.rb
@@ -47,7 +47,7 @@ class NArray
def ==(other)
other.kind_of?(NArray) &&
- shape == other.shape &&
+ shape == other.shape &&
eq(other).all?
end
@@ -359,4 +359,4 @@ module FFTW
module_function :convol
end
-require 'nmatrix'
+require 'narray/nmatrix'
diff --git a/src/lib/nmatrix.rb b/src/lib/narray/nmatrix.rb
similarity index 100%
rename from src/lib/nmatrix.rb
rename to src/lib/narray/nmatrix.rb
diff --git a/src/narray.c b/src/narray.c
index 5405beb..117281e 100644
--- a/src/narray.c
+++ b/src/narray.c
@@ -1319,5 +1319,5 @@ void
Init_na_linalg();
/* NArray extention script */
- rb_require("narray_ext.rb");
+ rb_require("narray/narray_ext");
}
diff --git a/src/narray.h b/src/narray.h
index eaa860f..1ee8280 100644
--- a/src/narray.h
+++ b/src/narray.h
@@ -23,8 +23,8 @@
# include <sys/types.h>
#endif
-#define NARRAY_VERSION "0.6.1.1"
-#define NARRAY_VERSION_CODE 611
+#define NARRAY_VERSION "0.6.1.2"
+#define NARRAY_VERSION_CODE 612
/*
Data types used in NArray :
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-narray.git
More information about the Pkg-ruby-extras-commits
mailing list