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"
|
|
|
|
spec.license = "BSD-2-Clause"
|
|
|
|
|
2019-01-03 18:07:34 -05:00
|
|
|
spec.files = [".gitignore", ".travis.yml", "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
|