-
Notifications
You must be signed in to change notification settings - Fork 0
/
rmath3d.gemspec
32 lines (27 loc) · 1.21 KB
/
rmath3d.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |gem|
gem.name = "rmath3d"
gem.version = "1.2.4"
gem.authors = ["vaiorabbit"]
gem.email = ["vaiorabbit@gmail.com"]
gem.summary = %q{Ruby Math Module for 3D Applications}
gem.homepage = "https://github.com/vaiorabbit/rmath3d"
gem.require_paths = ["lib"]
gem.license = "Zlib"
gem.extensions = ['ext/rmath3d/extconf.rb']
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.description = <<-DESC
Provides vector2/3/4, matrix2x2/3x3/4x4 and quaternion in C extension library form (and plain Ruby form with the same interface for debugging use).
Notice: This library provides native extension. You must setup development environment (or DevKit) before installation.
DESC
gem.required_ruby_version = '>= 2.4.0'
gem.files =
Dir.glob("ext/rmath3d/*.{c,h,rb}") +
Dir.glob("lib/rmath3d/*.rb") +
Dir.glob("sample/**/*.rb") +
Dir.glob("test/*.rb") +
["ChangeLog", "LICENSE.txt", "README.md", "Rakefile"]
end