summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-07 12:10:24 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-07 12:10:24 +0000
commitafa7bfee8f50ea1739ad198b2d1cd02a861ade46 (patch)
tree13ec8de7fa1844734661bcf007ddf856ded83af1
parent905e89675f4b5fceb0fa4d8ff91542d60332a24e (diff)
Promote Matrix to default gems.
The upstream repository is https://github.com/ruby/matrix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--doc/maintainers.rdoc4
-rw-r--r--doc/standard_library.rdoc1
-rw-r--r--lib/matrix/matrix.gemspec21
3 files changed, 23 insertions, 3 deletions
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc
index ba6981bfbd..5d87dfb8ff 100644
--- a/doc/maintainers.rdoc
+++ b/doc/maintainers.rdoc
@@ -68,8 +68,6 @@ Zachary Scott (zzak)
Akinori MUSHA (knu)
[lib/irb.rb, lib/irb/*]
Keiju ISHITSUKA (keiju)
-[lib/matrix.rb]
- Marc-Andre Lafortune (marcandre)
[lib/mkmf.rb]
_unmaintained_
[lib/monitor.rb]
@@ -209,6 +207,8 @@ Zachary Scott (zzak)
https://github.com/ruby/fileutils
[lib/logger.rb]
Naotoshi Seo (sonots)
+[lib/matrix.rb]
+ Marc-Andre Lafortune (marcandre)
[lib/ostruct.rb]
Marc-Andre Lafortune (marcandre)
[lib/prime.rb]
diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc
index 102f757c0d..25aad15502 100644
--- a/doc/standard_library.rdoc
+++ b/doc/standard_library.rdoc
@@ -25,7 +25,6 @@ GetoptLong:: Parse command line options similar to the GNU C getopt_long()
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
MakeMakefile:: Module used to generate a Makefile for C extensions
-Matrix:: Represents a mathematical matrix.
Monitor:: Provides an object or module to use safely by more than one thread
Mutex_m:: Mixin to extend objects to be handled like a Mutex
Net::FTP:: Support for the File Transfer Protocol
diff --git a/lib/matrix/matrix.gemspec b/lib/matrix/matrix.gemspec
new file mode 100644
index 0000000000..71f0371856
--- /dev/null
+++ b/lib/matrix/matrix.gemspec
@@ -0,0 +1,21 @@
+# frozen_string_literal: true
+
+Gem::Specification.new do |spec|
+ spec.name = "matrix"
+ spec.version = "0.1.0"
+ spec.authors = ["Marc-Andre Lafortune"]
+ spec.email = ["ruby-core@marc-andre.ca"]
+
+ spec.summary = %q{An implementation of Matrix and Vector classes.}
+ spec.description = %q{An implementation of Matrix and Vector classes.}
+ spec.homepage = "https://github.com/ruby/matrix"
+ spec.license = "BSD-2-Clause"
+
+ spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/matrix.rb", "matrix.gemspec"]
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
+
+ spec.add_development_dependency "bundler"
+ spec.add_development_dependency "rake"
+end