Sha256: bf8c65736b30846b9208746b376356298696212c2dc7d3df811d2e59721ed215
Contents?: true
Size: 1.34 KB
Versions: 9
Compression:
Stored size: 1.34 KB
Contents
# coding: utf-8 lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) cumo_version = File.read(File.join(__dir__, "ext/cumo/include/cumo.h")).match(/CUMO_VERSION "([\d.]+)"/)[1] numo_narray_version = File.read(File.join(__dir__, "numo-narray-version")).strip Gem::Specification.new do |spec| spec.name = "cumo" spec.version = cumo_version spec.authors = ["Naotoshi Seo"] spec.email = ["sonots@gmail.com"] spec.summary = %q{Cumo is CUDA aware numerical library whose interface is highly compatible with Ruby Numo} spec.description = %q{Cumo is CUDA aware numerical library whose interface is highly compatible with Ruby Numo.} spec.homepage = "https://github.com/sonots/cumo" spec.license = "BSD-3-Clause" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.extensions = ["ext/cumo/extconf.rb"] spec.add_runtime_dependency "numo-narray", numo_narray_version spec.add_development_dependency "bundler", "~> 1.15" spec.add_development_dependency "rake", "~> 10.0" end
Version data entries
9 entries across 9 versions & 1 rubygems