Sha256: 696fd5aa995bd4325a9934257083f487f0b8a61dda8c2c968aae4225db787e02

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 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.required_ruby_version = '~> 2.1'

  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.0.1"
  spec.add_development_dependency "rake-compiler-dock", "~> 0"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
numo-narray-0.9.0.6 numo-narray.gemspec
numo-narray-0.9.0.5 numo-narray.gemspec