Sha256: e5204fad54f8cd5722df2296f9f6e4422b75411c0f0cbf5dea91681b8a8f6563

Contents?: true

Size: 1.33 KB

Versions: 11

Compression:

Stored size: 1.33 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 "([^"]+)"/)[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

11 entries across 11 versions & 1 rubygems

Version Path
cumo-0.4.3 cumo.gemspec
cumo-0.4.2 cumo.gemspec
cumo-0.4.1 cumo.gemspec
cumo-0.4.0 cumo.gemspec
cumo-0.3.5 cumo.gemspec
cumo-0.3.4 cumo.gemspec
cumo-0.3.3 cumo.gemspec
cumo-0.3.2 cumo.gemspec
cumo-0.3.1 cumo.gemspec
cumo-0.3.0 cumo.gemspec
cumo-0.3.0.pre1 cumo.gemspec