2018-06-07 08:10:24 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-01-03 18:07:34 -05:00
|
|
|
begin
|
|
|
|
require_relative "lib/matrix/version"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "version"
|
|
|
|
end
|
|
|
|
|
2018-06-07 08:10:24 -04:00
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "matrix"
|
2019-01-03 18:07:34 -05:00
|
|
|
spec.version = Matrix::VERSION
|
2018-06-07 08:10:24 -04:00
|
|
|
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"
|
2020-08-18 07:15:59 -04:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2020-03-26 21:01:44 -04:00
|
|
|
spec.required_ruby_version = ">= 2.5.0"
|
2018-06-07 08:10:24 -04:00
|
|
|
|
2020-05-01 03:36:50 -04:00
|
|
|
spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/matrix.rb", "lib/matrix/eigenvalue_decomposition.rb", "lib/matrix/lup_decomposition.rb", "lib/matrix/version.rb", "matrix.gemspec"]
|
2018-06-07 08:10:24 -04:00
|
|
|
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
|