Sha256: 30da0bdbe73c7cbeb0268915a90d6f56a5b1c74def99001fc3c73b7bdfcc9c7c

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

open("ext/numo/narray/numo/narray.h") do |f|
  f.each_line do |l|
    if /NARRAY_VERSION "([\d.]+)"/ =~ l
      NARRAY_VERSION = $1
      break
    end
  end
end

Gem::Specification.new do |spec|
  spec.name          = "numo-narray"
  spec.version       = NARRAY_VERSION
  spec.authors       = ["Masahiro TANAKA"]
  spec.email         = ["masa16.tanaka@gmail.com"]
  spec.description   = %q{Numo::NArray - New NArray class library in Ruby/Numo.}
  spec.summary       = %q{alpha release of Numo::NArray - New NArray class library in Ruby/Numo (NUmerical MOdule)}
  spec.homepage      = "https://github.com/ruby-numo/narray"
  spec.license       = "MIT"

  spec.files         = `git ls-files Gemfile README.md Rakefile lib ext numo-narray.gemspec spec`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]
  spec.extensions    = ["ext/numo/narray/extconf.rb"]

  spec.add_development_dependency "bundler", "~> 1.3"
  spec.add_development_dependency "rake", "~> 0"
  spec.add_development_dependency "rspec", "~> 3"
  spec.add_development_dependency "rake-compiler", ">= 1.0.1"
  spec.add_development_dependency "rake-compiler-dock"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
numo-narray-0.9.0.3-x86-mingw32 numo-narray.gemspec
numo-narray-0.9.0.3-x64-mingw32 numo-narray.gemspec
numo-narray-0.9.0.3 numo-narray.gemspec
numo-narray-0.9.0.1 numo-narray.gemspec